summaryrefslogtreecommitdiffstats
path: root/qtruby/bin/rbqtsh
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-13 11:45:40 +0900
commitfaf33629bb6562a6f43f930afafe4b22e9cdb60b (patch)
tree8fc6dc6d999a3a039ace28db2fe5b96712fa18e0 /qtruby/bin/rbqtsh
parent0ff7d227c65fecb4fb7482ecd679acb594ef5cf7 (diff)
downloadtdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.tar.gz
tdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtruby/bin/rbqtsh')
-rwxr-xr-xqtruby/bin/rbqtsh22
1 files changed, 11 insertions, 11 deletions
diff --git a/qtruby/bin/rbqtsh b/qtruby/bin/rbqtsh
index 413a037f..ae52df4e 100755
--- a/qtruby/bin/rbqtsh
+++ b/qtruby/bin/rbqtsh
@@ -317,13 +317,13 @@ class QtShellControl < TQt::MainWindow
@helpExampleAction.addTo(helpMenu)
@menubar.insertItem(trUtf8("&Help"), helpMenu)
- connect(@fileOpenAction, SIGNAL('activated()'), self, SLOT('fileOpen()'))
- connect(@fileSaveAction, SIGNAL('activated()'), self, SLOT('fileSave()'))
- connect(@fileSaveAsAction, SIGNAL('activated()'), self, SLOT('fileSaveAs()'))
- connect(@filePrintAction, SIGNAL('activated()'), self, SLOT('filePrint()'))
- connect(@fileExitAction, SIGNAL('activated()'), self, SLOT('fileExit()'))
- connect(@runAction, SIGNAL('activated()'), self, SLOT('runSelection()'))
- connect(@helpExampleAction, SIGNAL('activated()'), self, SLOT('helpExample()'))
+ connect(@fileOpenAction, TQ_SIGNAL('activated()'), self, TQ_SLOT('fileOpen()'))
+ connect(@fileSaveAction, TQ_SIGNAL('activated()'), self, TQ_SLOT('fileSave()'))
+ connect(@fileSaveAsAction, TQ_SIGNAL('activated()'), self, TQ_SLOT('fileSaveAs()'))
+ connect(@filePrintAction, TQ_SIGNAL('activated()'), self, TQ_SLOT('filePrint()'))
+ connect(@fileExitAction, TQ_SIGNAL('activated()'), self, TQ_SLOT('fileExit()'))
+ connect(@runAction, TQ_SIGNAL('activated()'), self, TQ_SLOT('runSelection()'))
+ connect(@helpExampleAction, TQ_SIGNAL('activated()'), self, TQ_SLOT('helpExample()'))
@executedLines = []
end
@@ -497,13 +497,13 @@ def initialize(*k)
self.show
@shellWindow.show
- connect(@shellWindow.comboBox.lineEdit, SIGNAL('returnPressed()'), self, SLOT('evalInput()'))
+ connect(@shellWindow.comboBox.lineEdit, TQ_SIGNAL('returnPressed()'), self, TQ_SLOT('evalInput()'))
@prompt = '<b><font color="blue">$&gt;</font></b>'
self.setCaption("MainWindow - this")
@shellWindow.sessionLog.setText("Ready.<br>")
- connect(@shellWindow, SIGNAL('fileNeedsEval(TQString)'), self, SLOT('evalFile(TQString)'))
- connect(@shellWindow, SIGNAL('selection(TQString)'), self, SLOT('evalSelection(TQString)'))
+ connect(@shellWindow, TQ_SIGNAL('fileNeedsEval(TQString)'), self, TQ_SLOT('evalFile(TQString)'))
+ connect(@shellWindow, TQ_SIGNAL('selection(TQString)'), self, TQ_SLOT('evalSelection(TQString)'))
end
def logAppend(str)
@@ -620,7 +620,7 @@ self.resize(220,240)
@vbox.show
@sample = TQt::PopupMenu.new(self)
$ slots 'there()'
-@sample.insertItem("&There", self, SLOT('there()'))
+@sample.insertItem("&There", self, TQ_SLOT('there()'))
self.menuBar.insertItem("&Here", sample)
$ def there; statusBar.message("There...", 2000); end
EXAMPLE