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-25 13:57:48 +0900 |
commit | d2728dd8dbad48f045a5eca1899924df15633a89 (patch) | |
tree | 451778bfeb320b91a89045f80c4768b1bfbd6626 /languages/ruby/app_templates/kxt | |
parent | a97b6afffb6ad7624b2d936a9f32056c7b6dd831 (diff) | |
download | tdevelop-d2728dd8dbad48f045a5eca1899924df15633a89.tar.gz tdevelop-d2728dd8dbad48f045a5eca1899924df15633a89.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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()' |