summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kapp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kapp')
-rw-r--r--languages/cpp/app_templates/kapp/appview.cpp4
-rw-r--r--languages/cpp/app_templates/kapp/pref.cpp10
2 files changed, 7 insertions, 7 deletions
diff --git a/languages/cpp/app_templates/kapp/appview.cpp b/languages/cpp/app_templates/kapp/appview.cpp
index 5f9d906a..9cc3cec3 100644
--- a/languages/cpp/app_templates/kapp/appview.cpp
+++ b/languages/cpp/app_templates/kapp/appview.cpp
@@ -3,7 +3,7 @@
#include "%{APPNAMELC}view.h"
#include <tqpainter.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kurl.h>
@@ -17,7 +17,7 @@
: TQWidget(parent),
DCOPObject("%{APPNAME}Iface")
{
- // setup our tqlayout manager to automatically add our widgets
+ // setup our layout manager to automatically add our widgets
TQHBoxLayout *top_layout = new TQHBoxLayout(this);
top_layout->setAutoAdd(true);
diff --git a/languages/cpp/app_templates/kapp/pref.cpp b/languages/cpp/app_templates/kapp/pref.cpp
index 673df14e..87951c76 100644
--- a/languages/cpp/app_templates/kapp/pref.cpp
+++ b/languages/cpp/app_templates/kapp/pref.cpp
@@ -4,7 +4,7 @@
#include <klocale.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
%{APPNAME}Preferences::%{APPNAME}Preferences()
@@ -25,8 +25,8 @@
%{APPNAME}PrefPageOne::%{APPNAME}PrefPageOne(TQWidget *parent)
: TQFrame(parent)
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
+ layout->setAutoAdd(true);
new TQLabel(i18n("Add something here"), this);
}
@@ -34,8 +34,8 @@
%{APPNAME}PrefPageTwo::%{APPNAME}PrefPageTwo(TQWidget *parent)
: TQFrame(parent)
{
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQHBoxLayout *layout = new TQHBoxLayout(this);
+ layout->setAutoAdd(true);
new TQLabel(i18n("Add something here"), this);
}