[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdevelop/parts/doctreeview
From:       Jens Dagerbo <jens.dagerbo () swipnet ! se>
Date:       2003-10-27 14:11:18
[Download RAW message or body]

CVS commit by dagerbo: 

Made bookmarks, kdevelop-toc and devhelp listview behave the same as the general tab \
and shortened the names of the tabs.


  M +17 -0     doctreeglobalconfigwidget.cpp   1.27


--- kdevelop/parts/doctreeview/doctreeglobalconfigwidget.cpp  #1.26:1.27
@@ -97,4 +97,5 @@ DocTreeGlobalConfigWidget::DocTreeGlobal
     connect(urlDownload, SIGNAL(leftClickedURL(const QString&)), kapp,
         SLOT(invokeBrowser(const QString&)));
+/*
     connect(extListView, SIGNAL(executed( QListViewItem *)), this,
             SLOT( extEdit()));
@@ -103,4 +104,20 @@ DocTreeGlobalConfigWidget::DocTreeGlobal
     connect(dhListView, SIGNAL(executed( QListViewItem *)), this,
             SLOT(  dhEditButton_clicked()));
+*/
+#if QT_VERSION >= 0x030200
+    connect(extListView, SIGNAL( doubleClicked( QListViewItem *, const QPoint&, int \
) ), this, +            SLOT( extEdit()));
+    connect(bListView, SIGNAL( doubleClicked( QListViewItem *, const QPoint&, int ) \
), this, +            SLOT(  pushEdit_clicked()));
+    connect(dhListView, SIGNAL( doubleClicked( QListViewItem *, const QPoint&, int ) \
), this, +            SLOT(  dhEditButton_clicked()));
+#else
+    connect(extListView, SIGNAL( doubleClicked( QListViewItem * ) ), this,
+            SLOT( extEdit()));
+    connect(bListView, SIGNAL( doubleClicked( QListViewItem * ) ), this,
+            SLOT(  pushEdit_clicked()));
+    connect(dhListView, SIGNAL( doubleClicked( QListViewItem * ) ), this,
+            SLOT(  dhEditButton_clicked()));
+#endif
 
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic