rem: void setGuiAutostart(bool on)      { contextMenu()->setItemChecked(autostartGuiId, on); }
add: void AlarmDockWindow::setGuiAutostart(bool on) { KConfig* config = kapp->config(); config->setGroup("General"); config->writeEntry("Autostart", on); config->sync(); contextMenu()->setItemChecked(mAutostartGuiId, on); }
context:     void setGuiAutostart(bool on)      { contextMenu()->setItemChecked(autostartGuiId, on); }