summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kpanelmenutest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/tests/kpanelmenutest.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/tests/kpanelmenutest.cpp')
-rw-r--r--kdeui/tests/kpanelmenutest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdeui/tests/kpanelmenutest.cpp b/kdeui/tests/kpanelmenutest.cpp
index 4ff13b89c..6f2d8f2be 100644
--- a/kdeui/tests/kpanelmenutest.cpp
+++ b/kdeui/tests/kpanelmenutest.cpp
@@ -3,8 +3,8 @@
#include <kstandarddirs.h>
#include <dcopclient.h>
-TestWidget::TestWidget(QWidget *parent, const char *name)
- : QLabel(parent, name)
+TestWidget::TestWidget(TQWidget *parent, const char *name)
+ : TQLabel(parent, name)
{
testMenu = new KPanelAppMenu(locate("mini", "x.png"), "Client Test", this,
"menu1");
@@ -15,8 +15,8 @@ TestWidget::TestWidget(QWidget *parent, const char *name)
KPanelAppMenu *ssub = subMenu->insertMenu(locate("mini", "x.png"), "One more");
- connect(testMenu, SIGNAL(activated(int)), SLOT(slotMenuCalled(int)));
- connect(subMenu, SIGNAL(activated(int)), SLOT(slotSubMenuCalled(int)));
+ connect(testMenu, TQT_SIGNAL(activated(int)), TQT_SLOT(slotMenuCalled(int)));
+ connect(subMenu, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSubMenuCalled(int)));
init();
setText("We added \"Client Test\" to kicker. Click the K Menu to check.");
@@ -50,7 +50,7 @@ void TestWidget::slotMenuCalled(int id)
void TestWidget::slotSubMenuCalled(int id)
{
- QString msg("Called with id=%1");
+ TQString msg("Called with id=%1");
setText(msg.arg(id));
}