[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kdepim-3.5.5+/kontact/src
From: Allen Winter <winter () kde ! org>
Date: 2006-10-28 20:53:18
Message-ID: 1162068798.874132.4568.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 599858 by winterz:
merge from SVN commit 599823 by aacid:
Fix pluginselection not emitting the changed signal correctly.
M +1 -6 branches/work/kdepim-3.5.5+/kontact/src/kcmkontact.cpp
M +0 -3 branches/work/kdepim-3.5.5+/kontact/src/kcmkontact.h
--- branches/work/kdepim-3.5.5+/kontact/src/kcmkontact.cpp #599857:599858
@@ -104,6 +104,7 @@
{
mItem = item;
mPluginCombo = new QComboBox( parent );
+ connect( mPluginCombo, SIGNAL( activated( int ) ), SIGNAL( changed() ) );
}
PluginSelection::~PluginSelection()
@@ -140,12 +141,6 @@
mItem->setValue( ptr->property("X-KDE-PluginInfo-Name").toString() );
}
-void PluginSelection::itemClicked( QListViewItem *item )
-{
- if ( item )
- emit changed();
-}
-
QValueList<QWidget *> PluginSelection::widgets() const
{
QValueList<QWidget *> widgets;
--- branches/work/kdepim-3.5.5+/kontact/src/kcmkontact.h #599857:599858
@@ -60,9 +60,6 @@
QValueList<QWidget *> widgets() const;
QComboBox *comboBox() const { return mPluginCombo; }
- private slots:
- void itemClicked( QListViewItem* );
-
private:
QComboBox *mPluginCombo;
QValueList<KService::Ptr> mPluginList;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic