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/buttongroups/ButtonsGroups.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qtjava/javalib/examples/buttongroups') diff --git a/qtjava/javalib/examples/buttongroups/ButtonsGroups.java b/qtjava/javalib/examples/buttongroups/ButtonsGroups.java index 89b1bcb9..466ccd29 100644 --- a/qtjava/javalib/examples/buttongroups/ButtonsGroups.java +++ b/qtjava/javalib/examples/buttongroups/ButtonsGroups.java @@ -80,8 +80,8 @@ public ButtonsGroups( TQWidget parent, String name ) // insert a checkbox... state = new TQCheckBox( "E&nable Radiobuttons", bgrp3 ); state.setChecked( true ); - // ...and connect its SIGNAL clicked() with the SLOT slotChangeGrp3State() - connect( state, SIGNAL(" clicked()"), this, SLOT(" slotChangeGrp3State()") ); + // ...and connect its signal clicked() with the slot slotChangeGrp3State() + connect( state, TQ_SIGNAL(" clicked()"), this, TQ_SLOT(" slotChangeGrp3State()") ); // ------------ fourth group @@ -103,7 +103,7 @@ public ButtonsGroups( TQWidget parent, String name ) } /* - SLOT slotChangeGrp3State() + TQ_SLOT slotChangeGrp3State() * enables/disables the radiobuttons of the third buttongroup */ -- cgit v1.2.1