summaryrefslogtreecommitdiffstats
path: root/kapptemplate/kapp/apppref.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kapptemplate/kapp/apppref.cpp')
-rw-r--r--kapptemplate/kapp/apppref.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kapptemplate/kapp/apppref.cpp b/kapptemplate/kapp/apppref.cpp
index 4bee58ac..8716b3e0 100644
--- a/kapptemplate/kapp/apppref.cpp
+++ b/kapptemplate/kapp/apppref.cpp
@@ -4,7 +4,7 @@ cat << EOF > $LOCATION_ROOT/${APP_NAME_LC}/${APP_NAME_LC}pref.cpp
#include <klocale.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlabel.h>
${APP_NAME}Preferences::${APP_NAME}Preferences()
@@ -25,8 +25,8 @@ ${APP_NAME}Preferences::${APP_NAME}Preferences()
${APP_NAME}PrefPageOne::${APP_NAME}PrefPageOne(TQWidget *parent)
: TQFrame(parent)
{
- TQHBoxLayout *layout = new TQHBoxLayout(this);
- layout->setAutoAdd(true);
+ TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
+ tqlayout->setAutoAdd(true);
new TQLabel("Add something here", this);
}
@@ -34,8 +34,8 @@ ${APP_NAME}PrefPageOne::${APP_NAME}PrefPageOne(TQWidget *parent)
${APP_NAME}PrefPageTwo::${APP_NAME}PrefPageTwo(TQWidget *parent)
: TQFrame(parent)
{
- TQHBoxLayout *layout = new TQHBoxLayout(this);
- layout->setAutoAdd(true);
+ TQHBoxLayout *tqlayout = new TQHBoxLayout(this);
+ tqlayout->setAutoAdd(true);
new TQLabel("Add something here", this);
}