summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/examples/qt-examples/chart/setdataform.rb
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 11:29:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 20:32:49 +0900
commit1eb017313b2ebc441dfc81e73a5d6573d03ea08d (patch)
tree8d37ac85ad8a529697fc81479852a039de534b8e /qtruby/rubylib/examples/qt-examples/chart/setdataform.rb
parent673e65a4a15e713643f4bb804f7af6dfdaa0d6d6 (diff)
downloadtdebindings-1eb01731.tar.gz
tdebindings-1eb01731.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit faf33629bb6562a6f43f930afafe4b22e9cdb60b)
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" )