Logo Search packages:      
Sourcecode: kcpuload version File versions  Download package

void KCPULoad::setupCustomActions (  )  [protected, virtual]

Sets up any actions specific to subclasses of StatPopup. The global configuration should be read at this point to set the initial states of these actions.

This routine will be called during setupActions().

Reimplemented from StatPopup.

Definition at line 94 of file kcpuload.cpp.

References actSMP, StatPopup::coll, StatPopup::config, setSMP(), and supportSMP.

    if (supportSMP) {
        bool bVal = config->readBoolEntry("SMP", false);
        actSMP = new IconToggleAction(i18n("Enable S&MP"), "smp",
            i18n("S&MP Enabled"), "smpon", 0, coll, "smp");
        connect(actSMP, SIGNAL(toggled(bool)), this, SLOT(setSMP(bool)));

Generated by  Doxygen 1.6.0   Back to index