diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/app_templates/kcmodule/module.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-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/kcmodule/module.cpp')
-rw-r--r-- | languages/cpp/app_templates/kcmodule/module.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/languages/cpp/app_templates/kcmodule/module.cpp b/languages/cpp/app_templates/kcmodule/module.cpp index 69e87692..bb15b923 100644 --- a/languages/cpp/app_templates/kcmodule/module.cpp +++ b/languages/cpp/app_templates/kcmodule/module.cpp @@ -1,6 +1,6 @@ %{CPP_TEMPLATE} -#include <qlayout.h> +#include <tqlayout.h> #include <klocale.h> #include <kglobal.h> @@ -8,10 +8,10 @@ #include "%{APPNAMELC}.h" -typedef KGenericFactory<%{APPNAME}, QWidget> %{APPNAME}Factory; +typedef KGenericFactory<%{APPNAME}, TQWidget> %{APPNAME}Factory; K_EXPORT_COMPONENT_FACTORY( kcm_%{APPNAME}, %{APPNAME}Factory("kcm%{APPNAMELC}")) -%{APPNAME}::%{APPNAME}(QWidget *parent, const char *name, const QStringList&) +%{APPNAME}::%{APPNAME}(TQWidget *parent, const char *name, const TQStringList&) : KCModule(parent, name), myAboutData(0) { // place widgets here @@ -57,7 +57,7 @@ void %{APPNAME}::configChanged() } -QString %{APPNAME}::quickHelp() const +TQString %{APPNAME}::quickHelp() const { return i18n("Helpful information about the %{APPNAMELC} module."); } |