diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-07 11:07:16 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-02-08 11:03:00 +0900 |
commit | 2f2f4edb3d18206981682b38fa3f21a32d43de1d (patch) | |
tree | bab0257be50f3856fa76110a84c0883e5c4df466 /languages/ruby | |
parent | 43fd0a38af0135396d52cc9ace6900269824deae (diff) | |
download | tdevelop-2f2f4edb3d18206981682b38fa3f21a32d43de1d.tar.gz tdevelop-2f2f4edb3d18206981682b38fa3f21a32d43de1d.zip |
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 37ad15ad2c77711db7c9c4bbd62d5a1cb5749abc)
Diffstat (limited to 'languages/ruby')
-rw-r--r-- | languages/ruby/app_templates/kapp/app.rb | 2 | ||||
-rw-r--r-- | languages/ruby/app_templates/kapp/appview.rb | 6 | ||||
-rw-r--r-- | languages/ruby/app_templates/kxt/app.rb | 2 | ||||
-rw-r--r-- | languages/ruby/app_templates/kxt/appview.rb | 6 | ||||
-rw-r--r-- | languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/languages/ruby/app_templates/kapp/app.rb b/languages/ruby/app_templates/kapp/app.rb index 8d135b19..f5b9927e 100644 --- a/languages/ruby/app_templates/kapp/app.rb +++ b/languages/ruby/app_templates/kapp/app.rb @@ -9,7 +9,7 @@ class %{APPNAMESC} < KDE::MainWindow - Q_SLOTS 'fileNew()', + slots 'fileNew()', 'fileOpen()', 'fileSave()', 'fileSaveAs()', diff --git a/languages/ruby/app_templates/kapp/appview.rb b/languages/ruby/app_templates/kapp/appview.rb index b81155b0..7ee8133f 100644 --- a/languages/ruby/app_templates/kapp/appview.rb +++ b/languages/ruby/app_templates/kapp/appview.rb @@ -15,14 +15,14 @@ class %{APPNAMESC}View < TQt::Widget # # Use this signal to change the content of the statusbar # - Q_SIGNALS 'signalChangeStatusbar(const TQString&)' + signals 'signalChangeStatusbar(const TQString&)' # # Use this signal to change the content of the caption # - Q_SIGNALS 'signalChangeCaption(const TQString&)' + signals 'signalChangeCaption(const TQString&)' - Q_SLOTS 'slotOnURL(const TQString&)', + slots 'slotOnURL(const TQString&)', 'slotSetTitle(const TQString&)' def initialize(parent) diff --git a/languages/ruby/app_templates/kxt/app.rb b/languages/ruby/app_templates/kxt/app.rb index f7a18399..4ffcfe51 100644 --- a/languages/ruby/app_templates/kxt/app.rb +++ b/languages/ruby/app_templates/kxt/app.rb @@ -9,7 +9,7 @@ class %{APPNAMESC} < KDE::MainWindow - Q_SLOTS 'fileNew()', + slots 'fileNew()', 'optionsPreferences()', 'newToolbarConfig()', 'changeStatusbar(const TQString&)', diff --git a/languages/ruby/app_templates/kxt/appview.rb b/languages/ruby/app_templates/kxt/appview.rb index 4f63037f..2557b9da 100644 --- a/languages/ruby/app_templates/kxt/appview.rb +++ b/languages/ruby/app_templates/kxt/appview.rb @@ -15,14 +15,14 @@ class %{APPNAMESC}View < %{APPNAMESC}view_base # # Use this signal to change the content of the statusbar # - Q_SIGNALS 'signalChangeStatusbar(const TQString&)' + signals 'signalChangeStatusbar(const TQString&)' # # Use this signal to change the content of the caption # - Q_SIGNALS 'signalChangeCaption(const TQString&)' + signals 'signalChangeCaption(const TQString&)' - Q_SLOTS 'switchColors()', + slots 'switchColors()', 'settingsChanged()' def initialize(parent) diff --git a/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb b/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb index 1f399323..ceae4ad1 100644 --- a/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb +++ b/languages/ruby/app_templates/qtrubyapp/qtrubyapp.rb @@ -1,6 +1,6 @@ class %{APPNAMESC} < TQt::MainWindow - Q_SLOTS 'newDoc()', + slots 'newDoc()', 'choose()', 'load( const TQString& )', 'save()', |