diff options
Diffstat (limited to 'examples/dragdrop.py')
-rwxr-xr-x | examples/dragdrop.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/dragdrop.py b/examples/dragdrop.py index 439e92d..7932d90 100755 --- a/examples/dragdrop.py +++ b/examples/dragdrop.py @@ -32,7 +32,7 @@ def addStuff( parent, yn_image, yn_secret = 0 ): parent.resize( parent.sizeHint() ) TQObject.connect( d, PYSIGNAL('message(TQString &)'), - format, SLOT('setText(TQString &)') ) + format, TQ_SLOT('setText(TQString &)') ) app = TQApplication( sys.argv ) @@ -52,6 +52,6 @@ addStuff( mw3, 1, 1 ) mw3.setCaption( "TQt Example - Drag and Drop" ) mw3.show() -TQObject.connect(tqApp,SIGNAL('lastWindowClosed()'),tqApp,SLOT('quit()')) +TQObject.connect(tqApp,TQ_SIGNAL('lastWindowClosed()'),tqApp,TQ_SLOT('quit()')) app.exec_loop() |