void DXmlGuiWindow::createSettingsActions() { d->showMenuBarAction = KStandardAction::showMenubar(this, SLOT(slotShowMenuBar()), actionCollection()); KStandardAction::configureNotifications(this, SLOT(slotConfNotifications()), actionCollection()); KStandardAction::keyBindings(this, SLOT(slotEditKeys()), actionCollection()); KStandardAction::preferences(this, SLOT(slotSetup()), actionCollection()); KStandardAction::configureToolbars(this, SLOT(slotConfToolbars()), actionCollection()); }
ClassMainWindow::ClassMainWindow(QWidget *parent, const char *name) : KMainWindow(parent, name) { QTimer::singleShot( 0, this, SLOT( slotSetup() ) ); initGUI(); }