diff options
Diffstat (limited to 'lib/kross/test/testgui.py')
-rw-r--r-- | lib/kross/test/testgui.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kross/test/testgui.py b/lib/kross/test/testgui.py index 9c2747e8..c42f4f75 100644 --- a/lib/kross/test/testgui.py +++ b/lib/kross/test/testgui.py @@ -67,7 +67,7 @@ class TQtTest: label.setBuddy(self.edit) browsebutton = Button("...", self) - tqt.TQObject.connect(browsebutton, tqt.SIGNAL("clicked()"), self.browseButtonClicked) + tqt.TQObject.connect(browsebutton, tqt.TQ_SIGNAL("clicked()"), self.browseButtonClicked) def file(self): return self.edit.text() @@ -112,11 +112,11 @@ class TQtTest: self.layout.addWidget(buttonbox) savebutton = Button("Save", buttonbox) - tqt.TQObject.connect(savebutton, tqt.SIGNAL("clicked()"), self, tqt.SLOT("accept()")) - #tqt.TQObject.connect(savebutton, tqt.SIGNAL("clicked()"), self.exportButtonClicked) + tqt.TQObject.connect(savebutton, tqt.TQ_SIGNAL("clicked()"), self, tqt.TQ_SLOT("accept()")) + #tqt.TQObject.connect(savebutton, tqt.TQ_SIGNAL("clicked()"), self.exportButtonClicked) cancelbutton = Button("Cancel", buttonbox) - tqt.TQObject.connect(cancelbutton, tqt.SIGNAL("clicked()"), self, tqt.SLOT("close()")) + tqt.TQObject.connect(cancelbutton, tqt.TQ_SIGNAL("clicked()"), self, tqt.TQ_SLOT("close()")) def accept(self): print("ACCEPTTTTTTTT !!!!!!!!!!!!!!!!!!!!!!!!!!!!") |