summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kicker/applet.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/app_templates/kicker/applet.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/app_templates/kicker/applet.cpp')
-rw-r--r--languages/cpp/app_templates/kicker/applet.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/cpp/app_templates/kicker/applet.cpp b/languages/cpp/app_templates/kicker/applet.cpp
index 5345ac0c..29ec3d1d 100644
--- a/languages/cpp/app_templates/kicker/applet.cpp
+++ b/languages/cpp/app_templates/kicker/applet.cpp
@@ -1,6 +1,6 @@
%{CPP_TEMPLATE}
-#include <qlcdnumber.h>
+#include <tqlcdnumber.h>
#include <kglobal.h>
#include <klocale.h>
#include <kconfig.h>
@@ -10,12 +10,12 @@
#include "%{APPNAMELC}.h"
-%{APPNAME}::%{APPNAME}(const QString& configFile, Type type, int actions, QWidget *parent, const char *name)
+%{APPNAME}::%{APPNAME}(const TQString& configFile, Type type, int actions, TQWidget *parent, const char *name)
: KPanelApplet(configFile, type, actions, parent, name)
{
// Get the current application configuration handle
ksConfig = config();
- QLCDNumber *w = new QLCDNumber(this);
+ TQLCDNumber *w = new TQLCDNumber(this);
w->display(42);
mainView = w;
@@ -55,14 +55,14 @@ int %{APPNAME}::heightForWidth(int width) const
return height();
}
-void %{APPNAME}::resizeEvent(QResizeEvent *e)
+void %{APPNAME}::resizeEvent(TQResizeEvent *e)
{
}
extern "C"
{
- KPanelApplet* init( QWidget *parent, const QString& configFile)
+ KPanelApplet* init( TQWidget *parent, const TQString& configFile)
{
KGlobal::locale()->insertCatalogue("%{APPNAMELC}");
return new %{APPNAME}(configFile, KPanelApplet::Normal,