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/ruby/app_templates/kxt | |
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/ruby/app_templates/kxt')
-rw-r--r-- | languages/ruby/app_templates/kxt/app.rb | 12 | ||||
-rw-r--r-- | languages/ruby/app_templates/kxt/appview.rb | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/languages/ruby/app_templates/kxt/app.rb b/languages/ruby/app_templates/kxt/app.rb index 9ab56921..59a7c266 100644 --- a/languages/ruby/app_templates/kxt/app.rb +++ b/languages/ruby/app_templates/kxt/app.rb @@ -12,8 +12,8 @@ class %{APPNAMESC} < KDE::MainWindow Q_SLOTS 'fileNew()', 'optionsPreferences()', 'newToolbarConfig()', - 'changeStatusbar(const QString&)', - 'changeCaption(const QString&)' + 'changeStatusbar(const TQString&)', + 'changeCaption(const TQString&)' def initialize() super( nil, "%{APPNAMESC}" ) @@ -40,10 +40,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/kxt/appview.rb b/languages/ruby/app_templates/kxt/appview.rb index 58327208..4f63037f 100644 --- a/languages/ruby/app_templates/kxt/appview.rb +++ b/languages/ruby/app_templates/kxt/appview.rb @@ -15,12 +15,12 @@ class %{APPNAMESC}View < %{APPNAMESC}view_base # # 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 'switchColors()', 'settingsChanged()' |