From 1623fe64102c18ab098b79656b80f28cef840756 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 10:00:25 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04. --- languages/java/app_templates/kappjava/appview.java | 2 +- languages/java/app_templates/kappjava/pref.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'languages/java/app_templates/kappjava') diff --git a/languages/java/app_templates/kappjava/appview.java b/languages/java/app_templates/kappjava/appview.java index 1ead5458..fc25a273 100644 --- a/languages/java/app_templates/kappjava/appview.java +++ b/languages/java/app_templates/kappjava/appview.java @@ -25,7 +25,7 @@ public class %{APPNAME}View extends QWidget public %{APPNAME}View(QWidget parent) { super(parent, null); - // setup our layout manager to automatically add our widgets + // setup our tqlayout manager to automatically add our widgets top_layout = new QHBoxLayout(this); top_layout.setAutoAdd(true); diff --git a/languages/java/app_templates/kappjava/pref.java b/languages/java/app_templates/kappjava/pref.java index a50fdb31..48e1ca6a 100644 --- a/languages/java/app_templates/kappjava/pref.java +++ b/languages/java/app_templates/kappjava/pref.java @@ -31,8 +31,8 @@ public class %{APPNAME}PrefPageOne extends QFrame { public %{APPNAME}PrefPageOne(QWidget parent) { super(parent); - QHBoxLayout layout = new QHBoxLayout(this); - layout.setAutoAdd(true); + QHBoxLayout tqlayout = new QHBoxLayout(this); + tqlayout.setAutoAdd(true); new QLabel("Add something here", this); } @@ -42,8 +42,8 @@ public class %{APPNAME}PrefPageTwo extends QFrame { public %{APPNAME}PrefPageTwo(QWidget parent) { super(parent); - QHBoxLayout layout = new QHBoxLayout(this); - layout.setAutoAdd(true); + QHBoxLayout tqlayout = new QHBoxLayout(this); + tqlayout.setAutoAdd(true); new QLabel("Add something here", this); } -- cgit v1.2.1