[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/kopete/config/behavior
From: Matt Rogers <mattr () kde ! org>
Date: 2006-05-05 0:41:57
Message-ID: 1146789717.459058.12148.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 537520 by mattr:
probably broken, but compiles now
M +9 -9 behaviorconfig.cpp
M +3 -3 behaviorconfig.h
--- trunk/KDE/kdenetwork/kopete/kopete/config/behavior/behaviorconfig.cpp \
#537519:537520 @@ -79,10 +79,10 @@
load();
// "Chat" TAB ===============================================================
- connect( mPrfsChat->viewPlugin, SIGNAL(activated(int)),
- this, SLOT(slotValueChanged(int)));
- connect( mPrfsChat->viewPlugin, SIGNAL(activated(int)),
- this, SLOT(slotUpdatePluginLabel(int)));
+// connect( mPrfsChat->viewPlugin, SIGNAL(activated(int)),
+// this, SLOT(slotValueChanged(int)));
+// connect( mPrfsChat->viewPlugin, SIGNAL(activated(int)),
+// this, SLOT(slotUpdatePluginLabel(int)));
// "Away" TAB ===============================================================
connect( mAwayConfigUI->mAutoAwayTimeout, SIGNAL(valueChanged(int)),
@@ -99,7 +99,7 @@
Kopete::BehaviorSettings::self()->setAutoAwayTimeout( \
mAwayConfigUI->mAutoAwayTimeout->value() * 60 );
// "Chat" TAB ===============================================================
- Kopete::BehaviorSettings::self()->setViewPlugin(viewPlugins[mPrfsChat->viewPlugin->currentIndex()]->pluginName() \
); +// Kopete::BehaviorSettings::self()->setViewPlugin(viewPlugins[mPrfsChat->viewPlugin->currentIndex()]->pluginName() \
);
Kopete::BehaviorSettings::self()->writeConfig();
@@ -115,22 +115,22 @@
mAwayConfigUI->mAutoAwayTimeout->setValue( \
Kopete::BehaviorSettings::self()->autoAwayTimeout() / 60 );
// "Chat" TAB ===============================================================
- mPrfsChat->viewPlugin->clear();
+// mPrfsChat->viewPlugin->clear();
int selectedIdx = 0, i = 0;
for( QList<KPluginInfo*>::iterator it = viewPlugins.begin(); it != \
viewPlugins.end(); ++it ) {
if( (*it)->pluginName() == Kopete::BehaviorSettings::self()->viewPlugin() )
selectedIdx = i;
- mPrfsChat->viewPlugin->insertItem( i++, (*it)->name() );
+// mPrfsChat->viewPlugin->insertItem( i++, (*it)->name() );
}
- mPrfsChat->viewPlugin->setCurrentIndex(selectedIdx);
+// mPrfsChat->viewPlugin->setCurrentIndex(selectedIdx);
slotUpdatePluginLabel(selectedIdx);
}
void BehaviorConfig::slotUpdatePluginLabel(int)
{
- mPrfsChat->viewPluginLabel->setText( viewPlugins[ \
mPrfsChat->viewPlugin->currentIndex() ]->comment() ); +// \
mPrfsChat->viewPluginLabel->setText( viewPlugins[ \
mPrfsChat->viewPlugin->currentIndex() ]->comment() ); }
void BehaviorConfig::slotSettingsChanged(bool)
--- trunk/KDE/kdenetwork/kopete/kopete/config/behavior/behaviorconfig.h \
#537519:537520 @@ -43,9 +43,9 @@
private:
QTabWidget* mBehaviorTabCtl;
- BehaviorConfig_General *mPrfsGeneral;
- BehaviorConfig_Events *mPrfsEvents;
- BehaviorConfig_Chat *mPrfsChat;
+ QWidget *mPrfsGeneral;
+ QWidget *mPrfsEvents;
+ QWidget *mPrfsChat;
KopeteAwayConfigBaseUI *mAwayConfigUI;
QList<KPluginInfo*> viewPlugins;
};
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic