|
|
|
@ -148,6 +148,7 @@ class TrayPrivate
|
|
|
|
|
TQSignalMapper signalMapper;
|
|
|
|
|
TQMap<int, TQString> act_conn_map;
|
|
|
|
|
int current_idx;
|
|
|
|
|
KHelpMenu *helpMenu;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Tray* TrayPrivate::tray = NULL;
|
|
|
|
@ -358,7 +359,8 @@ void Tray::contextMenuAboutToShow (TDEPopupMenu* menu)
|
|
|
|
|
edit->plug(menu);
|
|
|
|
|
|
|
|
|
|
// quit
|
|
|
|
|
menu->insertSeparator ();
|
|
|
|
|
menu->insertSeparator();
|
|
|
|
|
menu->insertItem(SmallIcon("help"), i18n("&Help"), d->helpMenu->menu());
|
|
|
|
|
TDEAction* quitAction = actionCollection ()->action (KStdAction::name (KStdAction::Quit));
|
|
|
|
|
if (quitAction) {
|
|
|
|
|
quitAction->plug (menu);
|
|
|
|
@ -1036,7 +1038,8 @@ Tray::Tray() : KSystemTray()
|
|
|
|
|
updateGraphicsCache();
|
|
|
|
|
|
|
|
|
|
d = new TrayPrivate(TQT_TQOBJECT(this));
|
|
|
|
|
|
|
|
|
|
d->helpMenu = new KHelpMenu(0, TDEGlobal::instance()->aboutData(), false);
|
|
|
|
|
|
|
|
|
|
connect(&d->signalMapper, TQT_SIGNAL(mapped(int)), this, TQT_SLOT(slotDeactivateConnection(int)));
|
|
|
|
|
|
|
|
|
|
setPixmap (m_pixmapCache["tdenetworkmanager"]);
|
|
|
|
|