From kde-commits Mon Oct 27 14:11:18 2003 From: Jens Dagerbo Date: Mon, 27 Oct 2003 14:11:18 +0000 To: kde-commits Subject: kdevelop/parts/doctreeview X-MARC-Message: https://marc.info/?l=kde-commits&m=106726391615543 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 }