diff options
Diffstat (limited to 'languages/java/app_templates/kappjava')
-rw-r--r-- | languages/java/app_templates/kappjava/app_client.java | 6 | ||||
-rw-r--r-- | languages/java/app_templates/kappjava/appview.java | 4 | ||||
-rw-r--r-- | languages/java/app_templates/kappjava/pref.java | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/languages/java/app_templates/kappjava/app_client.java b/languages/java/app_templates/kappjava/app_client.java index 9648cfad..ab327d4c 100644 --- a/languages/java/app_templates/kappjava/app_client.java +++ b/languages/java/app_templates/kappjava/app_client.java @@ -19,10 +19,10 @@ int main(int argc, char **argv) QByteArray data; QDataStream ds(data, IO_WriteOnly); if (argc > 1) - ds << QString(argv[1]); + ds << TQString(argv[1]); else - ds << QString("http://www.kde.org"); - client->send("%{APPNAMELC}", "%{APPNAME}Iface", "openURL(QString)", data); + ds << TQString("http://www.kde.org"); + client->send("%{APPNAMELC}", "%{APPNAME}Iface", "openURL(TQString)", data); return app.exec(); } diff --git a/languages/java/app_templates/kappjava/appview.java b/languages/java/app_templates/kappjava/appview.java index 347ff58f..0d79ac31 100644 --- a/languages/java/app_templates/kappjava/appview.java +++ b/languages/java/app_templates/kappjava/appview.java @@ -17,12 +17,12 @@ import org.kde.koala.*; * @author %{AUTHOR} <%{EMAIL}> * @version %{VERSION} */ -public class %{APPNAME}View extends QWidget +public class %{APPNAME}View extends TQWidget { QHBoxLayout top_layout; -public %{APPNAME}View(QWidget parent) +public %{APPNAME}View(TQWidget parent) { super(parent, null); // setup our layout manager to automatically add our widgets diff --git a/languages/java/app_templates/kappjava/pref.java b/languages/java/app_templates/kappjava/pref.java index a50fdb31..90e8e533 100644 --- a/languages/java/app_templates/kappjava/pref.java +++ b/languages/java/app_templates/kappjava/pref.java @@ -28,7 +28,7 @@ public %{APPNAME}Preferences() } public class %{APPNAME}PrefPageOne extends QFrame { -public %{APPNAME}PrefPageOne(QWidget parent) +public %{APPNAME}PrefPageOne(TQWidget parent) { super(parent); QHBoxLayout layout = new QHBoxLayout(this); @@ -39,7 +39,7 @@ public %{APPNAME}PrefPageOne(QWidget parent) } public class %{APPNAME}PrefPageTwo extends QFrame { -public %{APPNAME}PrefPageTwo(QWidget parent) +public %{APPNAME}PrefPageTwo(TQWidget parent) { super(parent); QHBoxLayout layout = new QHBoxLayout(this); |