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/richtext/MyRichText.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qtjava/javalib/examples/richtext/MyRichText.java') diff --git a/qtjava/javalib/examples/richtext/MyRichText.java b/qtjava/javalib/examples/richtext/MyRichText.java index f06dde68..7e1fd25b 100644 --- a/qtjava/javalib/examples/richtext/MyRichText.java +++ b/qtjava/javalib/examples/richtext/MyRichText.java @@ -108,9 +108,9 @@ MyRichText( TQWidget parent, String name ) bPrev.setEnabled( false ); - connect( bClose, SIGNAL(" clicked()"), tqApp(), SLOT(" quit()") ); - connect( bPrev, SIGNAL(" clicked()"), this, SLOT(" prev()") ); - connect( bNext, SIGNAL(" clicked()"), this, SLOT(" next()") ); + connect( bClose, TQ_SIGNAL(" clicked()"), tqApp(), TQ_SLOT(" quit()") ); + connect( bPrev, TQ_SIGNAL(" clicked()"), this, TQ_SLOT(" prev()") ); + connect( bNext, TQ_SIGNAL(" clicked()"), this, TQ_SLOT(" next()") ); num = 0; } -- cgit v1.2.1