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/rot13/Rot13.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qtjava/javalib/examples/rot13') diff --git a/qtjava/javalib/examples/rot13/Rot13.java b/qtjava/javalib/examples/rot13/Rot13.java index bfb55edb..472e13eb 100644 --- a/qtjava/javalib/examples/rot13/Rot13.java +++ b/qtjava/javalib/examples/rot13/Rot13.java @@ -24,12 +24,12 @@ Rot13() { left = new TQMultiLineEdit( this, "left" ); right = new TQMultiLineEdit( this, "right" ); - connect( left, SIGNAL("textChanged()"), this, SLOT("changeRight()") ); - connect( right, SIGNAL("textChanged()"), this, SLOT("changeLeft()") ); + connect( left, TQ_SIGNAL("textChanged()"), this, TQ_SLOT("changeRight()") ); + connect( right, TQ_SIGNAL("textChanged()"), this, TQ_SLOT("changeLeft()") ); TQPushButton quit = new TQPushButton( "&Quit", this ); quit.setFocusPolicy( NoFocus ); - connect( quit, SIGNAL("clicked()"), tqApp(), SLOT("quit()") ); + connect( quit, TQ_SIGNAL("clicked()"), tqApp(), TQ_SLOT("quit()") ); TQGridLayout l = new TQGridLayout( this, 2, 2, 5 ); l.addWidget( left, 0, 0 ); -- cgit v1.2.1