diff options
Diffstat (limited to 'kmobile/systemtray.cpp')
-rw-r--r-- | kmobile/systemtray.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmobile/systemtray.cpp b/kmobile/systemtray.cpp index 01f21c8a5..e40dff642 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(KMainWindow *tqparent, const char *name) : KSystemTray(tqparent, name) { m_appPix = KGlobal::instance()->iconLoader()->loadIcon("kmobile", KIcon::Small); @@ -43,8 +43,8 @@ SystemTray::SystemTray(KMainWindow *parent, const char *name) : KSystemTray(pare setToolTip(); - m_actionCollection = parent->actionCollection(); - KAction *addAction = m_actionCollection->action("device_add"); + m_actionCollection = tqparent->actionCollection(); + KAction *addAction = m_actionCollection->action("tqdevice_add"); KPopupMenu* menu = contextMenu(); addAction->plug(menu); @@ -60,15 +60,15 @@ SystemTray::~SystemTray() void SystemTray::contextMenuAboutToShow(KPopupMenu *menu) { - KMobile *main = static_cast<KMobile *>(parent()); + KMobile *main = static_cast<KMobile *>(tqparent()); const int pos = 3; while (menu->idAt(pos)>=SYSTEMTRAY_STARTID && menu->idAt(pos)<=(SYSTEMTRAY_STARTID+1000)) menu->removeItemAt(pos); - // create menu entries for each mobile device and add it's icon - TQStringList list = main->mainView()->deviceNames(); + // create menu entries for each mobile tqdevice and add it's icon + TQStringList list = main->mainView()->tqdeviceNames(); for (unsigned int no=0; no<list.count(); no++) { TQString devName = list[no]; TQString iconName = main->mainView()->iconFileName(devName); @@ -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 *>(parent()); + KMobile *main = static_cast<KMobile *>(tqparent()); main->mainView()->startKonqueror(devName); } |