[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/konqueror/settings/filetypes
From: Laurent Montel <montel () kde ! org>
Date: 2006-10-19 15:33:16
Message-ID: 1161271996.909397.28622.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 597201 by mlaurent:
Fix signal/slot
M +6 -0 kserviceselectdlg.cpp
M +2 -0 kserviceselectdlg.h
--- trunk/KDE/kdebase/konqueror/settings/filetypes/kserviceselectdlg.cpp #597200:597201
@@ -54,6 +54,7 @@
m_listbox->setMinimumHeight(350);
m_listbox->setMinimumWidth(300);
connect(m_listbox,SIGNAL(doubleClicked ( Q3ListBoxItem * )),SLOT(slotOk()));
+ connect( this, SIGNAL( okClicked() ), this, SLOT( slotOk() ) );
setMainWidget(vbox);
}
@@ -61,6 +62,11 @@
{
}
+void KServiceSelectDlg::slotOk()
+{
+ accept();
+}
+
KService::Ptr KServiceSelectDlg::service()
{
unsigned int selIndex = m_listbox->currentItem();
--- trunk/KDE/kdebase/konqueror/settings/filetypes/kserviceselectdlg.h #597200:597201
@@ -40,6 +40,8 @@
* @return the chosen service
*/
KService::Ptr service();
+protected slots:
+ void slotOk();
private:
KListBox * m_listbox;
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic