summaryrefslogtreecommitdiffstats
path: root/qtruby/rubylib/examples/qt-examples/tictac/tictac.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qtruby/rubylib/examples/qt-examples/tictac/tictac.rb')
-rw-r--r--qtruby/rubylib/examples/qt-examples/tictac/tictac.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/qtruby/rubylib/examples/qt-examples/tictac/tictac.rb b/qtruby/rubylib/examples/qt-examples/tictac/tictac.rb
index 1b8bbe35..f16585af 100644
--- a/qtruby/rubylib/examples/qt-examples/tictac/tictac.rb
+++ b/qtruby/rubylib/examples/qt-examples/tictac/tictac.rb
@@ -48,7 +48,7 @@ class TicTacGameBoard < TQt::Widget
ttb = TicTacButton.new(self)
ttb.setPalette(p)
ttb.setEnabled(false)
- connect(ttb, SIGNAL('clicked()'), self, SLOT('buttonClicked()'))
+ connect(ttb, TQ_SIGNAL('clicked()'), self, TQ_SLOT('buttonClicked()'))
grid.addWidget(ttb, i % @nBoard, i / @nBoard)
@buttons[i] = ttb
@btArray[i] = TicTacButton::Blank
@@ -262,7 +262,7 @@ class TicTacToe < TQt::Widget
# Create the game board and connect the signal finished()
# to this/self gameOver() slot
@board = TicTacGameBoard.new(boardSize, self)
- connect(@board, SIGNAL('finished()'), self, SLOT('gameOver()'));
+ connect(@board, TQ_SIGNAL('finished()'), self, TQ_SLOT('gameOver()'));
l.addWidget(@board)
# Create a horizontal frame line
@@ -279,9 +279,9 @@ class TicTacToe < TQt::Widget
# Create the push buttons and connect their signals to the right slots
@newGame = TQt::PushButton.new('Play!', self)
- connect(@newGame, SIGNAL('clicked()'), self, SLOT('newGameClicked()'))
+ connect(@newGame, TQ_SIGNAL('clicked()'), self, TQ_SLOT('newGameClicked()'))
@quit = TQt::PushButton.new('Quit', self)
- connect(@quit, SIGNAL('clicked()'), $qApp, SLOT('quit()'))
+ connect(@quit, TQ_SIGNAL('clicked()'), $qApp, TQ_SLOT('quit()'))
b = TQt::HBoxLayout.new
l.addLayout(b)
b.addWidget(@newGame)