summaryrefslogtreecommitdiffstats
path: root/languages/ruby/app_templates/kapp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-02-07 11:07:16 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-08 11:03:00 +0900
commit2f2f4edb3d18206981682b38fa3f21a32d43de1d (patch)
treebab0257be50f3856fa76110a84c0883e5c4df466 /languages/ruby/app_templates/kapp
parent43fd0a38af0135396d52cc9ace6900269824deae (diff)
downloadtdevelop-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/app_templates/kapp')
-rw-r--r--languages/ruby/app_templates/kapp/app.rb2
-rw-r--r--languages/ruby/app_templates/kapp/appview.rb6
2 files changed, 4 insertions, 4 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)