From faf33629bb6562a6f43f930afafe4b22e9cdb60b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 11:29:06 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- qtjava/javalib/examples/dragdrop/Main.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qtjava/javalib/examples/dragdrop/Main.java') 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; } -- cgit v1.2.3