Port to new api
svn path=/trunk/KDE/kdebase/workspace/; revision=677432
This commit is contained in:
parent
cdb2d046c3
commit
3ce597e439
2 changed files with 7 additions and 2 deletions
|
@ -46,7 +46,7 @@ KWinEffectsConfig::KWinEffectsConfig(QWidget *parent, const QStringList &)
|
|||
|
||||
connect(mPluginSelector, SIGNAL(changed(bool)), this, SLOT(changed()));
|
||||
connect(mPluginSelector, SIGNAL(configCommitted(const QByteArray&)),
|
||||
KSettings::Dispatcher::self(), SLOT(reparseConfiguration(const QByteArray&)));
|
||||
this, SLOT(reparseConfiguration(const QByteArray&)));
|
||||
|
||||
// Find all .desktop files of the effects
|
||||
KService::List offers = KServiceTypeTrader::self()->query("KWin/Effect");
|
||||
|
@ -73,6 +73,11 @@ KWinEffectsConfig::~KWinEffectsConfig()
|
|||
{
|
||||
}
|
||||
|
||||
void KWinEffectsConfig::reparseConfiguration(const QByteArray&conf)
|
||||
{
|
||||
KSettings::Dispatcher::reparseConfiguration(conf);
|
||||
}
|
||||
|
||||
void KWinEffectsConfig::load()
|
||||
{
|
||||
kDebug() << k_funcinfo << endl;
|
||||
|
|
|
@ -36,7 +36,7 @@ class KWinEffectsConfig : public KCModule
|
|||
virtual void load();
|
||||
virtual void save();
|
||||
virtual void defaults();
|
||||
|
||||
void reparseConfiguration(const QByteArray&conf);
|
||||
|
||||
private:
|
||||
KSharedConfigPtr mKWinConfig;
|
||||
|
|
Loading…
Reference in a new issue