summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/progressbar
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 11:29:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 11:45:40 +0900
commitfaf33629bb6562a6f43f930afafe4b22e9cdb60b (patch)
tree8fc6dc6d999a3a039ace28db2fe5b96712fa18e0 /qtjava/javalib/examples/progressbar
parent0ff7d227c65fecb4fb7482ecd679acb594ef5cf7 (diff)
downloadtdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.tar.gz
tdebindings-faf33629bb6562a6f43f930afafe4b22e9cdb60b.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtjava/javalib/examples/progressbar')
-rw-r--r--qtjava/javalib/examples/progressbar/ProgressBar.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/qtjava/javalib/examples/progressbar/ProgressBar.java b/qtjava/javalib/examples/progressbar/ProgressBar.java
index 88b547eb..0d05040d 100644
--- a/qtjava/javalib/examples/progressbar/ProgressBar.java
+++ b/qtjava/javalib/examples/progressbar/ProgressBar.java
@@ -67,11 +67,11 @@ ProgressBar( TQWidget parent, String name )
toplayout.addMultiCellWidget( progress, 1, 1, 0, 1 );
// connect the clicked() SIGNALs of the pushbuttons to SLOTs
- connect( start, SIGNAL(" clicked()"), this, SLOT(" slotStart()") );
- connect( reset, SIGNAL(" clicked()"), this, SLOT(" slotReset()") );
+ connect( start, TQ_SIGNAL(" clicked()"), this, TQ_SLOT(" slotStart()") );
+ connect( reset, TQ_SIGNAL(" clicked()"), this, TQ_SLOT(" slotReset()") );
- // connect the timeout() SIGNAL of the progress-timer to a SLOT
- connect( timer, SIGNAL(" timeout()"), this, SLOT(" slotTimeout()") );
+ // connect the timeout() TQ_SIGNAL of the progress-timer to a TQ_SLOT
+ connect( timer, TQ_SIGNAL(" timeout()"), this, TQ_SLOT(" slotTimeout()") );
// Let's start with normal speed...
normal.setChecked( true );
@@ -83,9 +83,9 @@ ProgressBar( TQWidget parent, String name )
}
/*
- SLOT slotStart
+ TQ_SLOT slotStart
*
- This SLOT is called if the user clicks start/pause/continue
+ This slot is called if the user clicks start/pause/continue
button
*/
@@ -123,9 +123,9 @@ void slotStart()
}
/*
- SLOT slotReset
+ TQ_SLOT slotReset
*
- This SLOT is called when the user clicks the reset button
+ This slot is called when the user clicks the reset button
*/
void slotReset()
@@ -148,9 +148,9 @@ void slotReset()
}
/*
- SLOT slotTimeout
+ TQ_SLOT slotTimeout
*
- This SLOT is called each ms when the timer is
+ This slot is called each ms when the timer is
active (== progress is running)
*/