diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 19:20:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 19:20:52 +0000 |
commit | e86f8310a920cbf1ecfac955fbad05916e954693 (patch) | |
tree | ddc018560d03c6aa794d9f399d006e5e3aa597f0 /src/knowittray.cpp | |
parent | 1829a84466f690d4a6a10ddab91cea0f45ec9d77 (diff) | |
download | knowit-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.cpp | 10 |
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())); } |