diff options
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 76546cce0..c0c0bec03 100644 --- a/kmobile/systemtray.cpp +++ b/kmobile/systemtray.cpp @@ -35,7 +35,7 @@ #include "kmobileview.h" -SystemTray::SystemTray(KMainWindow *tqparent, const char *name) : KSystemTray(tqparent, name) +SystemTray::SystemTray(KMainWindow *parent, const char *name) : KSystemTray(parent, name) { m_appPix = KGlobal::instance()->iconLoader()->loadIcon("kmobile", KIcon::Small); @@ -43,7 +43,7 @@ SystemTray::SystemTray(KMainWindow *tqparent, const char *name) : KSystemTray(tq setToolTip(); - m_actionCollection = tqparent->actionCollection(); + m_actionCollection = parent->actionCollection(); KAction *addAction = m_actionCollection->action("tqdevice_add"); KPopupMenu* menu = contextMenu(); @@ -60,7 +60,7 @@ SystemTray::~SystemTray() void SystemTray::contextMenuAboutToShow(KPopupMenu *menu) { - KMobile *main = static_cast<KMobile *>(TQT_TQWIDGET(tqparent())); + KMobile *main = static_cast<KMobile *>(TQT_TQWIDGET(parent())); const int pos = 3; while (menu->idAt(pos)>=SYSTEMTRAY_STARTID && @@ -84,7 +84,7 @@ void SystemTray::menuItemSelected() if (m_menuID<SYSTEMTRAY_STARTID || m_menuID>SYSTEMTRAY_STARTID+1000) return; TQString devName = contextMenu()->text(m_menuID); - KMobile *main = static_cast<KMobile *>(TQT_TQWIDGET(tqparent())); + KMobile *main = static_cast<KMobile *>(TQT_TQWIDGET(parent())); main->mainView()->startKonqueror(devName); } |