diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 14:58:21 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 14:58:21 -0600 |
commit | 7864df7a5e0a69bb3e525ec3e47256bdcbf2832b (patch) | |
tree | 3aa53b371fc2482fb6bea9f8eca16b9524c1b332 /src/systemtray.cpp | |
parent | 3cedb6a5f7a9c3e0c04303289e025ce6fe91e164 (diff) | |
download | basket-7864df7a5e0a69bb3e525ec3e47256bdcbf2832b.tar.gz basket-7864df7a5e0a69bb3e525ec3e47256bdcbf2832b.zip |
Rename a number of classes to enhance compatibility with KDE4
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(); |