summaryrefslogtreecommitdiffstats
path: root/tdejava/koala/test/tdeioslave/KioslaveTest.java
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-14 20:32:49 +0900
commit1eb017313b2ebc441dfc81e73a5d6573d03ea08d (patch)
tree8d37ac85ad8a529697fc81479852a039de534b8e /tdejava/koala/test/tdeioslave/KioslaveTest.java
parent673e65a4a15e713643f4bb804f7af6dfdaa0d6d6 (diff)
downloadtdebindings-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 'tdejava/koala/test/tdeioslave/KioslaveTest.java')
-rw-r--r--tdejava/koala/test/tdeioslave/KioslaveTest.java42
1 files changed, 21 insertions, 21 deletions
diff --git a/tdejava/koala/test/tdeioslave/KioslaveTest.java b/tdejava/koala/test/tdeioslave/KioslaveTest.java
index 81a499c5..1fb97cf8 100644
--- a/tdejava/koala/test/tdeioslave/KioslaveTest.java
+++ b/tdejava/koala/test/tdeioslave/KioslaveTest.java
@@ -125,7 +125,7 @@ KioslaveTest( String src, String dest, int op, int pr )
// Operation groupbox & buttons
opButtons = new TQButtonGroup( "Operation", main_widget );
topLayout.addWidget( opButtons, 10 );
- connect( opButtons, SIGNAL("clicked(int)"), SLOT("changeOperation(int)") );
+ connect( opButtons, TQ_SIGNAL("clicked(int)"), TQ_SLOT("changeOperation(int)") );
TQBoxLayout hbLayout = new TQHBoxLayout( opButtons, 15 );
@@ -179,7 +179,7 @@ KioslaveTest( String src, String dest, int op, int pr )
// Progress groupbox & buttons
progressButtons = new TQButtonGroup( "Progress dialog mode", main_widget );
topLayout.addWidget( progressButtons, 10 );
- connect( progressButtons, SIGNAL("clicked(int)"), SLOT("changeProgressMode(int)") );
+ connect( progressButtons, TQ_SIGNAL("clicked(int)"), TQ_SLOT("changeProgressMode(int)") );
hbLayout = new TQHBoxLayout( progressButtons, 15 );
@@ -207,19 +207,19 @@ KioslaveTest( String src, String dest, int op, int pr )
pbStart = new TQPushButton( "&Start", main_widget );
pbStart.setFixedSize( pbStart.sizeHint() );
- connect( pbStart, SIGNAL("clicked()"), SLOT("startJob()") );
+ connect( pbStart, TQ_SIGNAL("clicked()"), TQ_SLOT("startJob()") );
hbLayout.addWidget( pbStart, 5 );
pbStop = new TQPushButton( "Sto&p", main_widget );
pbStop.setFixedSize( pbStop.sizeHint() );
pbStop.setEnabled( false );
- connect( pbStop, SIGNAL("clicked()"), SLOT("stopJob()") );
+ connect( pbStop, TQ_SIGNAL("clicked()"), TQ_SLOT("stopJob()") );
hbLayout.addWidget( pbStop, 5 );
// close button
close = new TQPushButton( "&Close", main_widget );
close.setFixedSize( close.sizeHint() );
- connect(close, SIGNAL("clicked()"), this, SLOT("slotQuit()"));
+ connect(close, TQ_SIGNAL("clicked()"), this, TQ_SLOT("slotQuit()"));
topLayout.addWidget( close, 5 );
@@ -228,10 +228,10 @@ KioslaveTest( String src, String dest, int op, int pr )
slave = null;
// slave = Scheduler.getConnectedSlave(new KURL("ftp://ftp.kde.org"));
- Scheduler.connect(SIGNAL("slaveConnected(Slave)"),
- this, SLOT("slotSlaveConnected()"));
- Scheduler.connect(SIGNAL("slaveError(Slave,int,String)"),
- this, SLOT("slotSlaveError()"));
+ Scheduler.connect(TQ_SIGNAL("slaveConnected(Slave)"),
+ this, TQ_SLOT("slotSlaveConnected()"));
+ Scheduler.connect(TQ_SIGNAL("slaveError(Slave,int,String)"),
+ this, TQ_SLOT("slotSlaveError()"));
}
@@ -304,14 +304,14 @@ void startJob() {
switch ( selectedOperation ) {
case List:
myJob = TDEIO.listDir( src );
-// connect(myJob, SIGNAL(" entries( Job, const TDEIO.UDSEntryList&)"),
-// SLOT(" slotEntries( TDEIO.Job, const TDEIO.UDSEntryList&)"));
+// connect(myJob, TQ_SIGNAL(" entries( Job, const TDEIO.UDSEntryList&)"),
+// TQ_SLOT(" slotEntries( TDEIO.Job, const TDEIO.UDSEntryList&)"));
break;
case ListRecursive:
myJob = TDEIO.listRecursive( src );
-// connect(myJob, SIGNAL(" entries( TDEIO.Job, const TDEIO.UDSEntryList&)"),
- // SLOT(" slotEntries( TDEIO.Job, const TDEIO.UDSEntryList&)"));
+// connect(myJob, TQ_SIGNAL(" entries( TDEIO.Job, const TDEIO.UDSEntryList&)"),
+ // TQ_SLOT(" slotEntries( TDEIO.Job, const TDEIO.UDSEntryList&)"));
break;
case Stat:
@@ -320,15 +320,15 @@ void startJob() {
case Get:
myJob = TDEIO.get( src, true );
- connect(myJob, SIGNAL("data( Job, byte[])"),
- SLOT("slotData( Job, byte[])"));
+ connect(myJob, TQ_SIGNAL("data( Job, byte[])"),
+ TQ_SLOT("slotData( Job, byte[])"));
break;
case Put:
putBuffer = 0;
myJob = TDEIO.put( src, -1, true, false);
- connect(myJob, SIGNAL("dataReq( Job, ByteArrayOutputStream)"),
- SLOT("slotDataReq( Job, ByteArrayOutputStream)"));
+ connect(myJob, TQ_SIGNAL("dataReq( Job, ByteArrayOutputStream)"),
+ TQ_SLOT("slotDataReq( Job, ByteArrayOutputStream)"));
break;
case Copy:
@@ -362,11 +362,11 @@ void startJob() {
job = myJob;
}
- connect( job, SIGNAL(" result( Job )"),
- SLOT(" slotResult( Job )") );
+ connect( job, TQ_SIGNAL(" result( Job )"),
+ TQ_SLOT(" slotResult( Job )") );
- connect( job, SIGNAL(" canceled( Job )"),
- SLOT(" slotResult( Job )") );
+ connect( job, TQ_SIGNAL(" canceled( Job )"),
+ TQ_SLOT(" slotResult( Job )") );
if (progressMode == ProgressStatus) {
statusProgress.setJob( job );