diff options
Diffstat (limited to 'tdejava/koala/test/tdeioslave')
-rw-r--r-- | tdejava/koala/test/tdeioslave/KioslaveTest.java | 42 |
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 ); |