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 | |
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')
-rw-r--r-- | languages/ruby/app_templates/dcopservice/dcopservice.rb | 6 | ||||
-rw-r--r-- | languages/ruby/app_templates/kapp/app.rb | 12 | ||||
-rw-r--r-- | languages/ruby/app_templates/kapp/appiface.rb | 2 | ||||
-rw-r--r-- | languages/ruby/app_templates/kapp/appview.rb | 16 | ||||
-rw-r--r-- | languages/ruby/app_templates/kxt/app.rb | 12 | ||||
-rw-r--r-- | languages/ruby/app_templates/kxt/appview.rb | 4 | ||||
-rw-r--r-- | languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb | 2 |
7 files changed, 27 insertions, 27 deletions
diff --git a/languages/ruby/app_templates/dcopservice/dcopservice.rb b/languages/ruby/app_templates/dcopservice/dcopservice.rb index 94a03ec9..b0e59b6d 100644 --- a/languages/ruby/app_templates/dcopservice/dcopservice.rb +++ b/languages/ruby/app_templates/dcopservice/dcopservice.rb @@ -1,10 +1,10 @@ class %{APPNAME} < KDE::DCOPObject - k_dcop 'QString string(int)', + k_dcop 'TQString string(int)', 'QStringList list()', - 'void add(QString)', - 'bool remove(QString)', + 'void add(TQString)', + 'bool remove(TQString)', 'bool exit()' def initialize() 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 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()' diff --git a/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb b/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb index 7d5f9ad3..26b0b378 100644 --- a/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb +++ b/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb @@ -2,7 +2,7 @@ class %{APPNAMESC} < Qt::MainWindow Q_SLOTS 'newDoc()', 'choose()', - 'load( const QString& )', + 'load( const TQString& )', 'save()', 'saveAs()', 'print()', |