diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 11:29:06 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 20:32:49 +0900 |
commit | 1eb017313b2ebc441dfc81e73a5d6573d03ea08d (patch) | |
tree | 8d37ac85ad8a529697fc81479852a039de534b8e /qtjava/javalib/examples/checklists | |
parent | 673e65a4a15e713643f4bb804f7af6dfdaa0d6d6 (diff) | |
download | tdebindings-1eb017313b2ebc441dfc81e73a5d6573d03ea08d.tar.gz tdebindings-1eb017313b2ebc441dfc81e73a5d6573d03ea08d.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit faf33629bb6562a6f43f930afafe4b22e9cdb60b)
Diffstat (limited to 'qtjava/javalib/examples/checklists')
-rw-r--r-- | qtjava/javalib/examples/checklists/CheckLists.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/qtjava/javalib/examples/checklists/CheckLists.java b/qtjava/javalib/examples/checklists/CheckLists.java index d274c1c7..a28d17dd 100644 --- a/qtjava/javalib/examples/checklists/CheckLists.java +++ b/qtjava/javalib/examples/checklists/CheckLists.java @@ -73,8 +73,8 @@ CheckLists( TQWidget parent, String name ) TQPushButton copy1 = new TQPushButton( " -> ", this ); tmp.addWidget( copy1 ); copy1.setMaximumWidth( copy1.sizeHint().width() ); - // connect the SIGNAL clicked() of the pushbutton with the SLOT copy1to2() - connect( copy1, SIGNAL(" clicked()"), this, SLOT(" copy1to2()") ); + // connect the signal clicked() of the pushbutton with the slot copy1to2() + connect( copy1, TQ_SIGNAL(" clicked()"), this, TQ_SLOT(" copy1to2()") ); // another widget for layouting TQVBoxLayout vbox2 = new TQVBoxLayout( lay ); @@ -97,8 +97,8 @@ CheckLists( TQWidget parent, String name ) TQPushButton copy2 = new TQPushButton( " -> ", this ); lay.addWidget( copy2 ); copy2.setMaximumWidth( copy2.sizeHint().width() ); - // ...and connect its clicked() SIGNAL to the copy2to3() SLOT - connect( copy2, SIGNAL(" clicked()"), this, SLOT(" copy2to3()") ); + // ...and connect its clicked() signal to the copy2to3() slot + connect( copy2, TQ_SIGNAL(" clicked()"), this, TQ_SLOT(" copy2to3()") ); tmp = new TQVBoxLayout( lay ); tmp.setMargin( 5 ); @@ -109,7 +109,7 @@ CheckLists( TQWidget parent, String name ) } /* - SLOT copy1to2() + TQ_SLOT copy1to2() * Copies all checked ListViewItems from the first ListView to the second one, and inserts them as Radio-ListViewItem. @@ -143,7 +143,7 @@ public void copy1to2() } /* - SLOT copy2to3() + TQ_SLOT copy2to3() * Copies the checked item of the second ListView into the Label at the right. |