summaryrefslogtreecommitdiffstats
path: root/kmobile/systemtray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmobile/systemtray.cpp')
-rw-r--r--kmobile/systemtray.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmobile/systemtray.cpp b/kmobile/systemtray.cpp
index e40dff642..76546cce0 100644
--- a/kmobile/systemtray.cpp
+++ b/kmobile/systemtray.cpp
@@ -60,7 +60,7 @@ SystemTray::~SystemTray()
void SystemTray::contextMenuAboutToShow(KPopupMenu *menu)
{
- KMobile *main = static_cast<KMobile *>(tqparent());
+ KMobile *main = static_cast<KMobile *>(TQT_TQWIDGET(tqparent()));
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 *>(tqparent());
+ KMobile *main = static_cast<KMobile *>(TQT_TQWIDGET(tqparent()));
main->mainView()->startKonqueror(devName);
}