diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 13:57:48 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-27 10:48:41 +0900 |
commit | 392b47409ac925384208e3abfdd039f6be47ce56 (patch) | |
tree | f2587004d7fee4717f569ef0d0cbc12e67b9f3b6 /languages/java/app_templates | |
parent | 2693e2b9a63c993da052449b5bdca241d05ed95f (diff) | |
download | tdevelop-r14.1.1.tar.gz tdevelop-r14.1.1.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d2728dd8dbad48f045a5eca1899924df15633a89)
Diffstat (limited to 'languages/java/app_templates')
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 |