diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 15:27:17 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 15:27:17 -0500 |
commit | 883a1fc629f00e9a41efad8514afd1ccf259d8c2 (patch) | |
tree | 53191c33748f9cd949a2eb86a64fbedc86c5ac75 /kftpgrabber/src/widgets/systemtray.cpp | |
parent | 1385303ea163214e30825730ac0fbcc27f9634aa (diff) | |
download | kftpgrabber-883a1fc629f00e9a41efad8514afd1ccf259d8c2.tar.gz kftpgrabber-883a1fc629f00e9a41efad8514afd1ccf259d8c2.zip |
Convert to TDE R14 API
Diffstat (limited to 'kftpgrabber/src/widgets/systemtray.cpp')
-rw-r--r-- | kftpgrabber/src/widgets/systemtray.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kftpgrabber/src/widgets/systemtray.cpp b/kftpgrabber/src/widgets/systemtray.cpp index 98179b7..e4cbba3 100644 --- a/kftpgrabber/src/widgets/systemtray.cpp +++ b/kftpgrabber/src/widgets/systemtray.cpp @@ -33,9 +33,9 @@ * files in the program, then also delete it here. */ -#include <kpopupmenu.h> -#include <klocale.h> -#include <kwin.h> +#include <tdepopupmenu.h> +#include <tdelocale.h> +#include <twin.h> #include "widgets/systemtray.h" #include "widgets/balloon.h" @@ -66,7 +66,7 @@ SystemTray::SystemTray(MainWindow *parent) show(); // Add some actions - m_bookmarkMenu = new KActionMenu(i18n("Bookmarks")); + m_bookmarkMenu = new TDEActionMenu(i18n("Bookmarks")); slotUpdateBookmarks(); // Let our bookmarks be up to date @@ -93,10 +93,10 @@ void SystemTray::slotUpdateBookmarks() { // Re-create the bookmarks menu m_bookmarkMenu->popupMenu()->clear(); - KFTPBookmarks::Manager::self()->guiPopulateBookmarksMenu(m_bookmarkMenu, QDomNode(), false); + KFTPBookmarks::Manager::self()->guiPopulateBookmarksMenu(m_bookmarkMenu, TQDomNode(), false); } -void SystemTray::showBalloon(const QString &text) +void SystemTray::showBalloon(const TQString &text) { // Create a little modified Kopete balloon if (m_balloon) { @@ -110,7 +110,7 @@ void SystemTray::showBalloon(const QString &text) KWin::setOnAllDesktops(m_balloon->winId() , true); // Hide the balloon after 5 sec - QTimer::singleShot(5000, this, SLOT(slotHideBalloon())); + TQTimer::singleShot(5000, this, SLOT(slotHideBalloon())); } void SystemTray::slotHideBalloon() |