summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/examples/qt-examples/chart/setdataform.rb
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/chart/setdataform.rb
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/chart/setdataform.rb')
-rw-r--r--qtruby/rubylib/examples/qt-examples/chart/setdataform.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/qtruby/rubylib/examples/qt-examples/chart/setdataform.rb b/qtruby/rubylib/examples/qt-examples/chart/setdataform.rb
index 3f361061..5ef31f45 100644
--- a/qtruby/rubylib/examples/qt-examples/chart/setdataform.rb
+++ b/qtruby/rubylib/examples/qt-examples/chart/setdataform.rb
@@ -64,15 +64,15 @@ class SetDataForm < TQt::Dialog
@tableButtonBox.addLayout( @buttonBox )
- connect( @table, SIGNAL( 'clicked(int,int,int,const TQPoint&)' ),
- self, SLOT( 'setChosenColor(int,int)' ) )
- connect( @table, SIGNAL( 'currentChanged(int,int)' ),
- self, SLOT( 'currentChanged(int,int)' ) )
- connect( @table, SIGNAL( 'valueChanged(int,int)' ),
- self, SLOT( 'valueChanged(int,int)' ) )
- connect( @colorPushButton, SIGNAL( 'clicked()' ), self, SLOT( 'setColor()' ) )
- connect( okPushButton, SIGNAL( 'clicked()' ), self, SLOT( 'accept()' ) )
- connect( cancelPushButton, SIGNAL( 'clicked()' ), self, SLOT( 'reject()' ) )
+ connect( @table, TQ_SIGNAL( 'clicked(int,int,int,const TQPoint&)' ),
+ self, TQ_SLOT( 'setChosenColor(int,int)' ) )
+ connect( @table, TQ_SIGNAL( 'currentChanged(int,int)' ),
+ self, TQ_SLOT( 'currentChanged(int,int)' ) )
+ connect( @table, TQ_SIGNAL( 'valueChanged(int,int)' ),
+ self, TQ_SLOT( 'valueChanged(int,int)' ) )
+ connect( @colorPushButton, TQ_SIGNAL( 'clicked()' ), self, TQ_SLOT( 'setColor()' ) )
+ connect( okPushButton, TQ_SIGNAL( 'clicked()' ), self, TQ_SLOT( 'accept()' ) )
+ connect( cancelPushButton, TQ_SIGNAL( 'clicked()' ), self, TQ_SLOT( 'reject()' ) )
patterns = Array.new(MAX_PATTERNS)
patterns[0] = TQt::Pixmap.new( "images/pattern01.xpm" )