summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/dragdrop
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 11:29:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 11:45:40 +0900
commitfaf33629bb6562a6f43f930afafe4b22e9cdb60b (patch)
tree8fc6dc6d999a3a039ace28db2fe5b96712fa18e0 /qtjava/javalib/examples/dragdrop
parent0ff7d227c65fecb4fb7482ecd679acb594ef5cf7 (diff)
downloadtdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.tar.gz
tdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtjava/javalib/examples/dragdrop')
-rw-r--r--qtjava/javalib/examples/dragdrop/DropSite.java2
-rw-r--r--qtjava/javalib/examples/dragdrop/Main.java6
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;
}