summaryrefslogtreecommitdiffstats
path: root/languages/ruby/app_templates/kapp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 13:57:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-27 10:48:41 +0900
commit392b47409ac925384208e3abfdd039f6be47ce56 (patch)
treef2587004d7fee4717f569ef0d0cbc12e67b9f3b6 /languages/ruby/app_templates/kapp
parent2693e2b9a63c993da052449b5bdca241d05ed95f (diff)
downloadtdevelop-38866ac7bda51c6310235f437389c4c179c720a7.tar.gz
tdevelop-38866ac7bda51c6310235f437389c4c179c720a7.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/ruby/app_templates/kapp')
-rw-r--r--languages/ruby/app_templates/kapp/app.rb12
-rw-r--r--languages/ruby/app_templates/kapp/appiface.rb2
-rw-r--r--languages/ruby/app_templates/kapp/appview.rb16
3 files changed, 15 insertions, 15 deletions
diff --git a/languages/ruby/app_templates/kapp/app.rb b/languages/ruby/app_templates/kapp/app.rb
index 61531be2..37a00d8b 100644
--- a/languages/ruby/app_templates/kapp/app.rb
+++ b/languages/ruby/app_templates/kapp/app.rb
@@ -15,8 +15,8 @@ class %{APPNAMESC} < KDE::MainWindow
'fileSaveAs()',
'filePrint()',
'optionsPreferences()',
- 'changeStatusbar(const QString&)',
- 'changeCaption(const QString&)'
+ 'changeStatusbar(const TQString&)',
+ 'changeCaption(const TQString&)'
def initialize()
super( nil, "%{APPNAMESC}" )
@@ -41,10 +41,10 @@ class %{APPNAMESC} < KDE::MainWindow
setupGUI();
# allow the view to change the statusbar and caption
- connect(@view, SIGNAL('signalChangeStatusbar(const QString&)'),
- self, SLOT('changeStatusbar(const QString&)'))
- connect(@view, SIGNAL('signalChangeCaption(const QString&)'),
- self, SLOT('changeCaption(const QString&)'))
+ connect(@view, SIGNAL('signalChangeStatusbar(const TQString&)'),
+ self, SLOT('changeStatusbar(const TQString&)'))
+ connect(@view, SIGNAL('signalChangeCaption(const TQString&)'),
+ self, SLOT('changeCaption(const TQString&)'))
end
diff --git a/languages/ruby/app_templates/kapp/appiface.rb b/languages/ruby/app_templates/kapp/appiface.rb
index a8be16b5..7ff96bd6 100644
--- a/languages/ruby/app_templates/kapp/appiface.rb
+++ b/languages/ruby/app_templates/kapp/appiface.rb
@@ -1,6 +1,6 @@
class %{APPNAMESC}Iface < KDE::DCOPObject
- k_dcop 'void openURL(QString)'
+ k_dcop 'void openURL(TQString)'
def initialize(app)
super("%{APPNAMESC}Iface")
diff --git a/languages/ruby/app_templates/kapp/appview.rb b/languages/ruby/app_templates/kapp/appview.rb
index e7aabe3c..e75ca6bc 100644
--- a/languages/ruby/app_templates/kapp/appview.rb
+++ b/languages/ruby/app_templates/kapp/appview.rb
@@ -15,15 +15,15 @@ class %{APPNAMESC}View < Qt::Widget
#
# Use this signal to change the content of the statusbar
#
- Q_SIGNALS 'signalChangeStatusbar(const QString&)'
+ Q_SIGNALS 'signalChangeStatusbar(const TQString&)'
#
# Use this signal to change the content of the caption
#
- Q_SIGNALS 'signalChangeCaption(const QString&)'
+ Q_SIGNALS 'signalChangeCaption(const TQString&)'
- Q_SLOTS 'slotOnURL(const QString&)',
- 'slotSetTitle(const QString&)'
+ Q_SLOTS 'slotOnURL(const TQString&)',
+ 'slotSetTitle(const TQString&)'
def initialize(parent)
super(parent)
@@ -71,10 +71,10 @@ class %{APPNAMESC}View < Qt::Widget
return
end
- connect(@html, SIGNAL('setWindowCaption(const QString&)'),
- self, SLOT('slotSetTitle(const QString&)'))
- connect(@html, SIGNAL('setStatusBarText(const QString&)'),
- self, SLOT('slotOnURL(const QString&)'))
+ connect(@html, SIGNAL('setWindowCaption(const TQString&)'),
+ self, SLOT('slotSetTitle(const TQString&)'))
+ connect(@html, SIGNAL('setStatusBarText(const TQString&)'),
+ self, SLOT('slotOnURL(const TQString&)'))
end