diff options
Diffstat (limited to 'qtjava/javalib/examples/dragdrop')
-rw-r--r-- | qtjava/javalib/examples/dragdrop/DropSite.java | 2 | ||||
-rw-r--r-- | qtjava/javalib/examples/dragdrop/Main.java | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/qtjava/javalib/examples/dragdrop/DropSite.java b/qtjava/javalib/examples/dragdrop/DropSite.java index 3b85dd93..9209dd51 100644 --- a/qtjava/javalib/examples/dragdrop/DropSite.java +++ b/qtjava/javalib/examples/dragdrop/DropSite.java @@ -147,7 +147,7 @@ DragMoviePlayer( TQDragObject p ) // TQObject(p), dobj = p; movie = new TQMovie("trolltech.gif" ); - movie.connectUpdate(this,SLOT("updatePixmap(TQRect)")); + movie.connectUpdate(this,TQ_SLOT("updatePixmap(TQRect)")); } void updatePixmap( TQRect rect ) diff --git a/qtjava/javalib/examples/dragdrop/Main.java b/qtjava/javalib/examples/dragdrop/Main.java index ed6c5309..3bf475df 100644 --- a/qtjava/javalib/examples/dragdrop/Main.java +++ b/qtjava/javalib/examples/dragdrop/Main.java @@ -48,8 +48,8 @@ static DropSite addStuff( TQWidget parent, boolean image, boolean secret ) tll.activate(); parent.resize( parent.sizeHint() ); - TQObject.connect( d, Qt.SIGNAL("message(String)"), - format, Qt.SLOT("setText(String)") ); + TQObject.connect( d, Qt.TQ_SIGNAL("message(String)"), + format, Qt.TQ_SLOT("setText(String)") ); return d; } @@ -75,7 +75,7 @@ public static void main( String[] args ) mw3.setCaption( "Qt Example - Drag and Drop" ); mw3.show(); - TQObject.connect(Qt.qApp(),Qt.SIGNAL("lastWindowClosed()"),Qt.qApp(),Qt.SLOT("quit()")); + TQObject.connect(Qt.qApp(),Qt.TQ_SIGNAL("lastWindowClosed()"),Qt.qApp(),Qt.TQ_SLOT("quit()")); a.exec(); return; } |