diff options
Diffstat (limited to 'src/systemtray.cpp')
-rw-r--r-- | src/systemtray.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systemtray.cpp b/src/systemtray.cpp index ee54d1d..e3aad0c 100644 --- a/src/systemtray.cpp +++ b/src/systemtray.cpp @@ -97,7 +97,7 @@ void KSystemTray2::displayCloseMessage(TQString fileMenu) TQCString screenstr; screenstr.setNum(tqt_xscreen()); TQCString trayatom = "_NET_SYSTEM_TRAY_S" + screenstr; - bool useSystray = (KSelectionWatcher(trayatom.data()).owner() != 0L); + bool useSystray = (TDESelectionWatcher(trayatom.data()).owner() != 0L); // 2. And then if the icon is visible too (eg. this->show() has been called): useSystray = useSystray && isVisible(); @@ -237,7 +237,7 @@ void SystemTray::mousePressEvent(TQMouseEvent *event) Global::bnpView->showPassiveDropped(i18n("Pasted selection to basket <i>%1</i>")); event->accept(); } else if (event->button() & Qt::RightButton) { // Popup menu - KPopupMenu menu(this); + TDEPopupMenu menu(this); menu.insertTitle( SmallIcon("basket"), kapp->aboutData()->programName() ); Global::bnpView->actNewBasket->plug(&menu); @@ -250,7 +250,7 @@ void SystemTray::mousePressEvent(TQMouseEvent *event) if(!Global::bnpView->isPart()) { - KAction* action; + TDEAction* action; menu.insertSeparator(); |