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

void StatPopup::setActive ( bool  set  )  [slot]

Slots for menu items.

Definition at line 153 of file statpopup.cpp.

References config, dock, StatDock::setActive(), and startUpdates().

Referenced by setupActions().

                                  {
    if (set)
        startUpdates();
    else
        stopUpdates();

    if (dock[0])
        dock[0]->setActive(set);
    if (dock[1])
        dock[1]->setActive(set);

    config->setGroup("General Options");
    config->writeEntry("Active", set);
    config->sync();
}


Generated by  Doxygen 1.6.0   Back to index