summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/dragdrop/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/examples/dragdrop/Main.java')
-rw-r--r--qtjava/javalib/examples/dragdrop/Main.java6
1 files changed, 3 insertions, 3 deletions
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;
}