summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/examples/qt-examples/fonts
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 11:29:06 +0900
committerMichele Calgaro <[email protected]>2024-01-13 11:45:40 +0900
commitfaf33629bb6562a6f43f930afafe4b22e9cdb60b (patch)
tree8fc6dc6d999a3a039ace28db2fe5b96712fa18e0 /qtruby/rubylib/examples/qt-examples/fonts
parent0ff7d227c65fecb4fb7482ecd679acb594ef5cf7 (diff)
downloadtdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.tar.gz
tdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'qtruby/rubylib/examples/qt-examples/fonts')
-rw-r--r--qtruby/rubylib/examples/qt-examples/fonts/simple-qfont-demo/viewer.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/qtruby/rubylib/examples/qt-examples/fonts/simple-qfont-demo/viewer.rb b/qtruby/rubylib/examples/qt-examples/fonts/simple-qfont-demo/viewer.rb
index feed96f0..17fb43ef 100644
--- a/qtruby/rubylib/examples/qt-examples/fonts/simple-qfont-demo/viewer.rb
+++ b/qtruby/rubylib/examples/qt-examples/fonts/simple-qfont-demo/viewer.rb
@@ -27,16 +27,16 @@ class Viewer < TQt::Widget
@defaultButton = TQt::PushButton.new('Default', self, 'pushbutton1')
@defaultButton.setFont(TQt::Font.new('times'))
- connect(@defaultButton, SIGNAL('clicked()'), self, SLOT('setDefault()'))
+ connect(@defaultButton, TQ_SIGNAL('clicked()'), self, TQ_SLOT('setDefault()'))
@sansSerifButton = TQt::PushButton.new('Sans Serif', self, 'pushbutton2')
@sansSerifButton.setFont(TQt::Font.new('Helvetica', 12))
- connect(@sansSerifButton, SIGNAL('clicked()'), self, SLOT('setSansSerif()'))
+ connect(@sansSerifButton, TQ_SIGNAL('clicked()'), self, TQ_SLOT('setSansSerif()'))
@italicsButton = TQt::PushButton.new('Italics', self, 'pushbutton1')
@italicsButton.setFont(TQt::Font.new('lucida', 12, TQt::Font.Bold, true))
- connect(@italicsButton, SIGNAL('clicked()'), self, SLOT('setItalics()'))
+ connect(@italicsButton, TQ_SIGNAL('clicked()'), self, TQ_SLOT('setItalics()'))
layout
end