summaryrefslogtreecommitdiffstats
path: root/src/knowittray.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 19:20:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 19:20:52 +0000
commite86f8310a920cbf1ecfac955fbad05916e954693 (patch)
treeddc018560d03c6aa794d9f399d006e5e3aa597f0 /src/knowittray.cpp
parent1829a84466f690d4a6a10ddab91cea0f45ec9d77 (diff)
downloadknowit-e86f8310a920cbf1ecfac955fbad05916e954693.tar.gz
knowit-e86f8310a920cbf1ecfac955fbad05916e954693.zip
TQt4 port knowit
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knowit@1238876 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/knowittray.cpp')
-rw-r--r--src/knowittray.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/knowittray.cpp b/src/knowittray.cpp
index b08703a..0cb2e07 100644
--- a/src/knowittray.cpp
+++ b/src/knowittray.cpp
@@ -18,16 +18,16 @@
#include <kpopupmenu.h>
#include <klocale.h>
-KnowitTray::KnowitTray (QWidget* parent, const char* name) :
- KSystemTray(parent, name)
+KnowitTray::KnowitTray (TQWidget* tqparent, const char* name) :
+ KSystemTray(tqparent, name)
{
- contextMenu()->insertItem(i18n("&Undock"), parent,
- SLOT(slotUndock()));
+ contextMenu()->insertItem(i18n("&Undock"), tqparent,
+ TQT_SLOT(slotUndock()));
}
void KnowitTray::contextMenuAboutToShow (KPopupMenu* menu)
{
menu->removeItemAt(menu->count()-1);
- menu->insertItem(i18n("&Quit"), parent(), SLOT(slotFileQuit()));
+ menu->insertItem(i18n("&Quit"), tqparent(), TQT_SLOT(slotFileQuit()));
}