summaryrefslogtreecommitdiffstats
path: root/languages/java/app_templates
diff options
context:
space:
mode:
Diffstat (limited to 'languages/java/app_templates')
-rw-r--r--languages/java/app_templates/kappjava/app_client.java6
-rw-r--r--languages/java/app_templates/kappjava/appview.java4
-rw-r--r--languages/java/app_templates/kappjava/pref.java4
-rw-r--r--languages/java/app_templates/superwaba/superwaba4
-rw-r--r--languages/java/app_templates/superwaba/superwaba.kdevtemplate4
5 files changed, 11 insertions, 11 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);
diff --git a/languages/java/app_templates/superwaba/superwaba b/languages/java/app_templates/superwaba/superwaba
index eddcce86..82fb4752 100644
--- a/languages/java/app_templates/superwaba/superwaba
+++ b/languages/java/app_templates/superwaba/superwaba
@@ -16,14 +16,14 @@ Type=value
Value=JAVA
Comment=Path to your java root
Default=/usr/lib/java
-ValueType=QString
+ValueType=TQString
[WABA]
Type=value
Value=WABA
Comment=Path to your SuperWaba root
Default=/usr/lib
-ValueType=QString
+ValueType=TQString
[GNU]
Type=install archive
diff --git a/languages/java/app_templates/superwaba/superwaba.kdevtemplate b/languages/java/app_templates/superwaba/superwaba.kdevtemplate
index a14c511a..3711dbc4 100644
--- a/languages/java/app_templates/superwaba/superwaba.kdevtemplate
+++ b/languages/java/app_templates/superwaba/superwaba.kdevtemplate
@@ -16,14 +16,14 @@ Type=value
Value=JAVA
Comment=Path to your java root
Default=/usr/lib/java
-ValueType=QString
+ValueType=TQString
[WABA]
Type=value
Value=WABA
Comment=Path to your SuperWaba root
Default=/usr/lib
-ValueType=QString
+ValueType=TQString
[GNU]
Type=install archive