diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:14:12 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:14:12 -0600 |
commit | fd5d099065a748cac49e20a13481f85666c53c71 (patch) | |
tree | a0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kmobile/systemtray.cpp | |
parent | b440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff) | |
download | tdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmobile/systemtray.cpp')
-rw-r--r-- | kmobile/systemtray.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmobile/systemtray.cpp b/kmobile/systemtray.cpp index 9f15f0551..b18faa976 100644 --- a/kmobile/systemtray.cpp +++ b/kmobile/systemtray.cpp @@ -35,7 +35,7 @@ #include "kmobileview.h" -SystemTray::SystemTray(KMainWindow *parent, const char *name) : KSystemTray(parent, name) +SystemTray::SystemTray(TDEMainWindow *parent, const char *name) : KSystemTray(parent, name) { m_appPix = TDEGlobal::instance()->iconLoader()->loadIcon("kmobile", KIcon::Small); @@ -44,9 +44,9 @@ SystemTray::SystemTray(KMainWindow *parent, const char *name) : KSystemTray(pare setToolTip(); m_actionCollection = parent->actionCollection(); - KAction *addAction = m_actionCollection->action("device_add"); + TDEAction *addAction = m_actionCollection->action("device_add"); - KPopupMenu* menu = contextMenu(); + TDEPopupMenu* menu = contextMenu(); addAction->plug(menu); menu->insertSeparator(); } @@ -58,7 +58,7 @@ SystemTray::~SystemTray() #define SYSTEMTRAY_STARTID 1000 -void SystemTray::contextMenuAboutToShow(KPopupMenu *menu) +void SystemTray::contextMenuAboutToShow(TDEPopupMenu *menu) { KMobile *main = static_cast<KMobile *>(TQT_TQWIDGET(parent())); |