diff options
Diffstat (limited to 'qtjava/javalib/examples/checklists/CheckLists.java')
-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. |