Hello list!!

I have a (probably very very simple) problem with the KPluginSelector
class. As I see in the documentation
<http://api.kde.org/4.x-api/kdelibs-apidocs/kutils/html/classKPluginSelector.html>
the configCommitted() signal must be sent whenever the configuration
is save in disk... But I'm stucked because the configuration is
correctly saved on disk, but the signal is never emmited :S

This is my code:

-------------------------------------------------------------
// KRunnerForm inherits from KPluginSelector

KRunnerForm::KRunnerForm(QWidget *parent)
    : KPluginSelector(parent)
{
    connect(this, SIGNAL(configCommitted(const QByteArray&)),
            this, SLOT(updateRunner(const QByteArray&)));

    this->addPlugins(Plasma::RunnerManager::listRunnerInfo(),
            KPluginSelector::ReadConfigFile, i18n("Available plugins"), "",
            KSharedConfig::openConfig("takeoffrc"));
}

// This slot is called when the Accept button is pressed
void KRunnerForm::saveConfiguration()
{
    this->save();
}

void KRunnerForm::updateRunner(const QByteArray &name)
{
    // The slot is never called :(
    qDebug() << "#####################################################";
}
-------------------------------------------------------------

Any help is welcome, and if you need more code only say me
Thanks in advance!!

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to