|
|
|
@ -27,6 +27,7 @@
|
|
|
|
|
#include <tdeparts/componentfactory.h>
|
|
|
|
|
#include <kpassivepopup.h>
|
|
|
|
|
#include <tdepopupmenu.h>
|
|
|
|
|
#include <khelpmenu.h>
|
|
|
|
|
#include <tdelocale.h>
|
|
|
|
|
#include <tdeaboutapplication.h>
|
|
|
|
|
#include <dcopclient.h>
|
|
|
|
@ -60,6 +61,8 @@ Katapult::Katapult()
|
|
|
|
|
_query = "";
|
|
|
|
|
|
|
|
|
|
settings = new KatapultSettings();
|
|
|
|
|
helpmenu = new KHelpMenu(this,TQString(),false);
|
|
|
|
|
connect(helpmenu, TQT_SIGNAL(showAboutApplication()),this, TQT_SLOT(showAboutDialog()));
|
|
|
|
|
|
|
|
|
|
hideTimer = new TQTimer(this);
|
|
|
|
|
connect(hideTimer, TQT_SIGNAL(timeout()), TQT_TQOBJECT(this), TQT_SLOT(hideLauncher()));
|
|
|
|
@ -139,9 +142,8 @@ void Katapult::initAccel(TQWidget *parent)
|
|
|
|
|
KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(showShortcutsDialog()), actions)->plug((TQWidget *) contextMenu());
|
|
|
|
|
KStdAction::preferences(settings, TQT_SLOT(configure()), actions)->plug((TQWidget *) contextMenu());
|
|
|
|
|
|
|
|
|
|
contextMenu()->insertSeparator();
|
|
|
|
|
KStdAction::aboutApp(TQT_TQOBJECT(this), TQT_SLOT(showAboutDialog()), actions)->plug((TQWidget *) contextMenu());
|
|
|
|
|
contextMenu()->insertSeparator();
|
|
|
|
|
contextMenu()->insertItem(SmallIconSet("help"), KStdGuiItem::help().text(), helpmenu->menu());
|
|
|
|
|
contextMenu()->insertSeparator();
|
|
|
|
|
|
|
|
|
|
KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actions)->plug((TQWidget *) contextMenu());
|
|
|
|
|
|
|
|
|
|