summaryrefslogtreecommitdiffstats
path: root/kmobile/systemtray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmobile/systemtray.cpp')
-rw-r--r--kmobile/systemtray.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kmobile/systemtray.cpp b/kmobile/systemtray.cpp
index b057086e4..01f21c8a5 100644
--- a/kmobile/systemtray.cpp
+++ b/kmobile/systemtray.cpp
@@ -24,10 +24,10 @@
#include <kiconeffect.h>
#include <kdebug.h>
-#include <qhbox.h>
-#include <qpushbutton.h>
-#include <qtooltip.h>
-#include <qpainter.h>
+#include <tqhbox.h>
+#include <tqpushbutton.h>
+#include <tqtooltip.h>
+#include <tqpainter.h>
#include "systemtray.h"
@@ -68,22 +68,22 @@ void SystemTray::contextMenuAboutToShow(KPopupMenu *menu)
menu->removeItemAt(pos);
// create menu entries for each mobile device and add it's icon
- QStringList list = main->mainView()->deviceNames();
+ TQStringList list = main->mainView()->deviceNames();
for (unsigned int no=0; no<list.count(); no++) {
- QString devName = list[no];
- QString iconName = main->mainView()->iconFileName(devName);
- QPixmap pm = KGlobal::instance()->iconLoader()->loadIcon(iconName, KIcon::Small);
+ TQString devName = list[no];
+ TQString iconName = main->mainView()->iconFileName(devName);
+ TQPixmap pm = KGlobal::instance()->iconLoader()->loadIcon(iconName, KIcon::Small);
menu->insertItem(pm, devName, SYSTEMTRAY_STARTID+no, 3+no);
- menu->connectItem(SYSTEMTRAY_STARTID+no, this, SLOT(menuItemSelected()));
+ menu->connectItem(SYSTEMTRAY_STARTID+no, this, TQT_SLOT(menuItemSelected()));
}
- connect(menu, SIGNAL(activated(int)), this, SLOT(menuItemActivated(int)));
+ connect(menu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(menuItemActivated(int)));
}
void SystemTray::menuItemSelected()
{
if (m_menuID<SYSTEMTRAY_STARTID || m_menuID>SYSTEMTRAY_STARTID+1000)
return;
- QString devName = contextMenu()->text(m_menuID);
+ TQString devName = contextMenu()->text(m_menuID);
KMobile *main = static_cast<KMobile *>(parent());
main->mainView()->startKonqueror(devName);
}
@@ -93,12 +93,12 @@ void SystemTray::menuItemActivated(int id)
m_menuID = id;
}
-void SystemTray::setToolTip(const QString &tip)
+void SystemTray::setToolTip(const TQString &tip)
{
if (tip.isEmpty())
- QToolTip::add(this, "KMobile");
+ TQToolTip::add(this, "KMobile");
else
- QToolTip::add(this, tip);
+ TQToolTip::add(this, tip);
}
#include "systemtray.moc"