summaryrefslogtreecommitdiffstats
path: root/tdeio/tests
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 11:17:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-15 11:09:32 +0900
commit7f03918f8df7479b0e1a88288066201a301e87bf (patch)
treeef42e0c7ecbd6d292ca5aa7f3aeca141dd65cdb1 /tdeio/tests
parentccaaecf59c0e607be633c45ad3b7bb1ef29e981f (diff)
downloadtdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.tar.gz
tdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7)
Diffstat (limited to 'tdeio/tests')
-rw-r--r--tdeio/tests/jobtest.cpp12
-rw-r--r--tdeio/tests/kdcopcheck.cpp16
-rw-r--r--tdeio/tests/kdirlistertest.cpp84
-rw-r--r--tdeio/tests/kdirwatchtest.cpp6
-rw-r--r--tdeio/tests/kdirwatchunittest.cpp6
-rw-r--r--tdeio/tests/kruntest.cpp6
-rw-r--r--tdeio/tests/previewtest.cpp8
-rw-r--r--tdeio/tests/speed.cpp8
-rw-r--r--tdeio/tests/tdeioslavetest.cpp42
9 files changed, 94 insertions, 94 deletions
diff --git a/tdeio/tests/jobtest.cpp b/tdeio/tests/jobtest.cpp
index 95cb96d53..15770c941 100644
--- a/tdeio/tests/jobtest.cpp
+++ b/tdeio/tests/jobtest.cpp
@@ -195,8 +195,8 @@ void JobTest::get()
KURL u; u.setPath( filePath );
m_result = -1;
TDEIO::StoredTransferJob* job = TDEIO::storedGet( u );
- connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ),
- this, TQT_SLOT( slotGetResult( TDEIO::Job* ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ),
+ this, TQ_SLOT( slotGetResult( TDEIO::Job* ) ) );
kapp->eventLoop()->enterLoop();
assert( m_result == 0 ); // no error
assert( m_data.size() == 11 );
@@ -498,8 +498,8 @@ void JobTest::listRecursive()
KURL u;
u.setPath( src );
TDEIO::ListJob* job = TDEIO::listRecursive( u );
- connect( job, TQT_SIGNAL( entries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ),
- TQT_SLOT( slotEntries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ) );
+ connect( job, TQ_SIGNAL( entries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ),
+ TQ_SLOT( slotEntries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ) );
bool ok = TDEIO::NetAccess::synchronousRun( job, 0 );
assert( ok );
m_names.sort();
@@ -565,8 +565,8 @@ void JobTest::copyFileToSystem( bool resolve_local_urls )
// copy the file with file_copy
TDEIO::FileCopyJob* job = TDEIO::file_copy( u, d );
- connect( job, TQT_SIGNAL(mimetype(TDEIO::Job*,const TQString&)),
- this, TQT_SLOT(slotMimetype(TDEIO::Job*,const TQString&)) );
+ connect( job, TQ_SIGNAL(mimetype(TDEIO::Job*,const TQString&)),
+ this, TQ_SLOT(slotMimetype(TDEIO::Job*,const TQString&)) );
bool ok = TDEIO::NetAccess::synchronousRun( job, 0 );
assert( ok );
diff --git a/tdeio/tests/kdcopcheck.cpp b/tdeio/tests/kdcopcheck.cpp
index e99de7e79..674e6a3dd 100644
--- a/tdeio/tests/kdcopcheck.cpp
+++ b/tdeio/tests/kdcopcheck.cpp
@@ -40,14 +40,14 @@ TestService::TestService(const TQString &exec)
proc.start();
- connect(kapp->dcopClient(), TQT_SIGNAL( applicationRegistered(const TQCString&)),
- this, TQT_SLOT(newApp(const TQCString&)));
- connect(kapp->dcopClient(), TQT_SIGNAL( applicationRemoved(const TQCString&)),
- this, TQT_SLOT(endApp(const TQCString&)));
- connect(&proc, TQT_SIGNAL(processExited(TDEProcess *)),
- this, TQT_SLOT(appExit()));
-
- TQTimer::singleShot(20*1000, this, TQT_SLOT(stop()));
+ connect(kapp->dcopClient(), TQ_SIGNAL( applicationRegistered(const TQCString&)),
+ this, TQ_SLOT(newApp(const TQCString&)));
+ connect(kapp->dcopClient(), TQ_SIGNAL( applicationRemoved(const TQCString&)),
+ this, TQ_SLOT(endApp(const TQCString&)));
+ connect(&proc, TQ_SIGNAL(processExited(TDEProcess *)),
+ this, TQ_SLOT(appExit()));
+
+ TQTimer::singleShot(20*1000, this, TQ_SLOT(stop()));
result = KService::DCOP_None;
}
diff --git a/tdeio/tests/kdirlistertest.cpp b/tdeio/tests/kdirlistertest.cpp
index b1208f41d..54cefac87 100644
--- a/tdeio/tests/kdirlistertest.cpp
+++ b/tdeio/tests/kdirlistertest.cpp
@@ -49,48 +49,48 @@ KDirListerTest::KDirListerTest( TQWidget *parent, const char *name )
layout->addWidget( test );
resize( layout->sizeHint() );
- connect( startR, TQT_SIGNAL( clicked() ), TQT_SLOT( startRoot() ) );
- connect( startH, TQT_SIGNAL( clicked() ), TQT_SLOT( startHome() ) );
- connect( startT, TQT_SIGNAL( clicked() ), TQT_SLOT( startTar() ) );
- connect( test, TQT_SIGNAL( clicked() ), TQT_SLOT( test() ) );
-
- connect( lister, TQT_SIGNAL( started( const KURL & ) ),
- debug, TQT_SLOT( started( const KURL & ) ) );
- connect( lister, TQT_SIGNAL( completed() ),
- debug, TQT_SLOT( completed() ) );
- connect( lister, TQT_SIGNAL( completed( const KURL & ) ),
- debug, TQT_SLOT( completed( const KURL & ) ) );
- connect( lister, TQT_SIGNAL( canceled() ),
- debug, TQT_SLOT( canceled() ) );
- connect( lister, TQT_SIGNAL( canceled( const KURL & ) ),
- debug, TQT_SLOT( canceled( const KURL & ) ) );
- connect( lister, TQT_SIGNAL( redirection( const KURL & ) ),
- debug, TQT_SLOT( redirection( const KURL & ) ) );
- connect( lister, TQT_SIGNAL( redirection( const KURL &, const KURL & ) ),
- debug, TQT_SLOT( redirection( const KURL &, const KURL & ) ) );
- connect( lister, TQT_SIGNAL( clear() ),
- debug, TQT_SLOT( clear() ) );
- connect( lister, TQT_SIGNAL( newItems( const KFileItemList & ) ),
- debug, TQT_SLOT( newItems( const KFileItemList & ) ) );
- connect( lister, TQT_SIGNAL( itemsFilteredByMime( const KFileItemList & ) ),
- debug, TQT_SLOT( itemsFilteredByMime( const KFileItemList & ) ) );
- connect( lister, TQT_SIGNAL( deleteItem( KFileItem * ) ),
- debug, TQT_SLOT( deleteItem( KFileItem * ) ) );
- connect( lister, TQT_SIGNAL( refreshItems( const KFileItemList & ) ),
- debug, TQT_SLOT( refreshItems( const KFileItemList & ) ) );
- connect( lister, TQT_SIGNAL( infoMessage( const TQString& ) ),
- debug, TQT_SLOT( infoMessage( const TQString& ) ) );
- connect( lister, TQT_SIGNAL( percent( int ) ),
- debug, TQT_SLOT( percent( int ) ) );
- connect( lister, TQT_SIGNAL( totalSize( TDEIO::filesize_t ) ),
- debug, TQT_SLOT( totalSize( TDEIO::filesize_t ) ) );
- connect( lister, TQT_SIGNAL( processedSize( TDEIO::filesize_t ) ),
- debug, TQT_SLOT( processedSize( TDEIO::filesize_t ) ) );
- connect( lister, TQT_SIGNAL( speed( int ) ),
- debug, TQT_SLOT( speed( int ) ) );
-
- connect( lister, TQT_SIGNAL( completed() ),
- this, TQT_SLOT( completed() ) );
+ connect( startR, TQ_SIGNAL( clicked() ), TQ_SLOT( startRoot() ) );
+ connect( startH, TQ_SIGNAL( clicked() ), TQ_SLOT( startHome() ) );
+ connect( startT, TQ_SIGNAL( clicked() ), TQ_SLOT( startTar() ) );
+ connect( test, TQ_SIGNAL( clicked() ), TQ_SLOT( test() ) );
+
+ connect( lister, TQ_SIGNAL( started( const KURL & ) ),
+ debug, TQ_SLOT( started( const KURL & ) ) );
+ connect( lister, TQ_SIGNAL( completed() ),
+ debug, TQ_SLOT( completed() ) );
+ connect( lister, TQ_SIGNAL( completed( const KURL & ) ),
+ debug, TQ_SLOT( completed( const KURL & ) ) );
+ connect( lister, TQ_SIGNAL( canceled() ),
+ debug, TQ_SLOT( canceled() ) );
+ connect( lister, TQ_SIGNAL( canceled( const KURL & ) ),
+ debug, TQ_SLOT( canceled( const KURL & ) ) );
+ connect( lister, TQ_SIGNAL( redirection( const KURL & ) ),
+ debug, TQ_SLOT( redirection( const KURL & ) ) );
+ connect( lister, TQ_SIGNAL( redirection( const KURL &, const KURL & ) ),
+ debug, TQ_SLOT( redirection( const KURL &, const KURL & ) ) );
+ connect( lister, TQ_SIGNAL( clear() ),
+ debug, TQ_SLOT( clear() ) );
+ connect( lister, TQ_SIGNAL( newItems( const KFileItemList & ) ),
+ debug, TQ_SLOT( newItems( const KFileItemList & ) ) );
+ connect( lister, TQ_SIGNAL( itemsFilteredByMime( const KFileItemList & ) ),
+ debug, TQ_SLOT( itemsFilteredByMime( const KFileItemList & ) ) );
+ connect( lister, TQ_SIGNAL( deleteItem( KFileItem * ) ),
+ debug, TQ_SLOT( deleteItem( KFileItem * ) ) );
+ connect( lister, TQ_SIGNAL( refreshItems( const KFileItemList & ) ),
+ debug, TQ_SLOT( refreshItems( const KFileItemList & ) ) );
+ connect( lister, TQ_SIGNAL( infoMessage( const TQString& ) ),
+ debug, TQ_SLOT( infoMessage( const TQString& ) ) );
+ connect( lister, TQ_SIGNAL( percent( int ) ),
+ debug, TQ_SLOT( percent( int ) ) );
+ connect( lister, TQ_SIGNAL( totalSize( TDEIO::filesize_t ) ),
+ debug, TQ_SLOT( totalSize( TDEIO::filesize_t ) ) );
+ connect( lister, TQ_SIGNAL( processedSize( TDEIO::filesize_t ) ),
+ debug, TQ_SLOT( processedSize( TDEIO::filesize_t ) ) );
+ connect( lister, TQ_SIGNAL( speed( int ) ),
+ debug, TQ_SLOT( speed( int ) ) );
+
+ connect( lister, TQ_SIGNAL( completed() ),
+ this, TQ_SLOT( completed() ) );
}
KDirListerTest::~KDirListerTest()
diff --git a/tdeio/tests/kdirwatchtest.cpp b/tdeio/tests/kdirwatchtest.cpp
index 9f50c2170..eed240f2d 100644
--- a/tdeio/tests/kdirwatchtest.cpp
+++ b/tdeio/tests/kdirwatchtest.cpp
@@ -38,9 +38,9 @@ int main (int argc, char **argv)
KDirWatch *dirwatch1 = KDirWatch::self();
KDirWatch *dirwatch2 = new KDirWatch;
- testObject.connect(dirwatch1, TQT_SIGNAL( dirty( const TQString &)), TQT_SLOT( dirty( const TQString &)) );
- testObject.connect(dirwatch1, TQT_SIGNAL( created( const TQString &)), TQT_SLOT( created( const TQString &)) );
- testObject.connect(dirwatch1, TQT_SIGNAL( deleted( const TQString &)), TQT_SLOT( deleted( const TQString &)) );
+ testObject.connect(dirwatch1, TQ_SIGNAL( dirty( const TQString &)), TQ_SLOT( dirty( const TQString &)) );
+ testObject.connect(dirwatch1, TQ_SIGNAL( created( const TQString &)), TQ_SLOT( created( const TQString &)) );
+ testObject.connect(dirwatch1, TQ_SIGNAL( deleted( const TQString &)), TQ_SLOT( deleted( const TQString &)) );
if (args->count() >0) {
for(int i = 0; i < args->count(); i++) {
diff --git a/tdeio/tests/kdirwatchunittest.cpp b/tdeio/tests/kdirwatchunittest.cpp
index ed59f3c19..773ce476b 100644
--- a/tdeio/tests/kdirwatchunittest.cpp
+++ b/tdeio/tests/kdirwatchunittest.cpp
@@ -120,9 +120,9 @@ void KDirWatchTest::allTests()
TQDir* dir = new TQDir(m_workingDir);
VERIFY (dir != 0);
- connect(d, TQT_SIGNAL (dirty( const TQString &)), TQT_SLOT( slotDirty( const TQString &)) );
- connect(d, TQT_SIGNAL (created( const TQString &)), TQT_SLOT( slotCreated( const TQString &)) );
- connect(d, TQT_SIGNAL (deleted( const TQString &)), TQT_SLOT( slotDeleted( const TQString &)) );
+ connect(d, TQ_SIGNAL (dirty( const TQString &)), TQ_SLOT( slotDirty( const TQString &)) );
+ connect(d, TQ_SIGNAL (created( const TQString &)), TQ_SLOT( slotCreated( const TQString &)) );
+ connect(d, TQ_SIGNAL (deleted( const TQString &)), TQ_SLOT( slotDeleted( const TQString &)) );
VERIFY (dir->mkdir (m_workingDir));
diff --git a/tdeio/tests/kruntest.cpp b/tdeio/tests/kruntest.cpp
index 7562b488a..c10a36898 100644
--- a/tdeio/tests/kruntest.cpp
+++ b/tdeio/tests/kruntest.cpp
@@ -56,9 +56,9 @@ Receiver::Receiver()
start = new TQPushButton( "Launch KRuns", this );
stop = new TQPushButton( "Stop those KRuns", this );
stop->setEnabled(false);
- TQObject::connect( h, TQT_SIGNAL(clicked()), kapp, TQT_SLOT(quit()) );
- TQObject::connect( start, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotStart()) );
- TQObject::connect( stop, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotStop()) );
+ TQObject::connect( h, TQ_SIGNAL(clicked()), kapp, TQ_SLOT(quit()) );
+ TQObject::connect( start, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotStart()) );
+ TQObject::connect( stop, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotStop()) );
adjustSize();
show();
diff --git a/tdeio/tests/previewtest.cpp b/tdeio/tests/previewtest.cpp
index 3237f0180..f30e7ad10 100644
--- a/tdeio/tests/previewtest.cpp
+++ b/tdeio/tests/previewtest.cpp
@@ -19,7 +19,7 @@ PreviewTest::PreviewTest()
m_url->setText("/home/malte/gore_bush.jpg");
layout->addWidget(m_url, 0, 0);
TQPushButton *btn = new TQPushButton("Generate", this);
- connect(btn, TQT_SIGNAL(clicked()), TQT_SLOT(slotGenerate()));
+ connect(btn, TQ_SIGNAL(clicked()), TQ_SLOT(slotGenerate()));
layout->addWidget(btn, 0, 1);
m_preview = new TQLabel(this);
m_preview->setMinimumSize(400, 300);
@@ -31,9 +31,9 @@ void PreviewTest::slotGenerate()
KURL::List urls;
urls.append(m_url->text());
TDEIO::PreviewJob *job = TDEIO::filePreview(urls, m_preview->width(), m_preview->height(), true, 48);
- connect(job, TQT_SIGNAL(result(TDEIO::Job*)), TQT_SLOT(slotResult(TDEIO::Job*)));
- connect(job, TQT_SIGNAL(gotPreview(const KFileItem *, const TQPixmap &)), TQT_SLOT(slotPreview(const KFileItem *, const TQPixmap &)));
- connect(job, TQT_SIGNAL(failed(const KFileItem *)), TQT_SLOT(slotFailed()));
+ connect(job, TQ_SIGNAL(result(TDEIO::Job*)), TQ_SLOT(slotResult(TDEIO::Job*)));
+ connect(job, TQ_SIGNAL(gotPreview(const KFileItem *, const TQPixmap &)), TQ_SLOT(slotPreview(const KFileItem *, const TQPixmap &)));
+ connect(job, TQ_SIGNAL(failed(const KFileItem *)), TQ_SLOT(slotFailed()));
}
void PreviewTest::slotResult(TDEIO::Job*)
diff --git a/tdeio/tests/speed.cpp b/tdeio/tests/speed.cpp
index 4b14a6bb6..0c517c808 100644
--- a/tdeio/tests/speed.cpp
+++ b/tdeio/tests/speed.cpp
@@ -32,10 +32,10 @@ SpeedTest::SpeedTest( const KURL & url )
{
Job *job = listRecursive( url );
//Job *job = del( KURL("file:" + TQDir::currentDirPath()) ); DANGEROUS !
- connect(job, TQT_SIGNAL( result( TDEIO::Job*)),
- TQT_SLOT( finished( TDEIO::Job* ) ));
- /*connect(job, TQT_SIGNAL( entries( TDEIO::Job*, const TDEIO::UDSEntryList&)),
- TQT_SLOT( entries( TDEIO::Job*, const TDEIO::UDSEntryList&)));
+ connect(job, TQ_SIGNAL( result( TDEIO::Job*)),
+ TQ_SLOT( finished( TDEIO::Job* ) ));
+ /*connect(job, TQ_SIGNAL( entries( TDEIO::Job*, const TDEIO::UDSEntryList&)),
+ TQ_SLOT( entries( TDEIO::Job*, const TDEIO::UDSEntryList&)));
*/
}
diff --git a/tdeio/tests/tdeioslavetest.cpp b/tdeio/tests/tdeioslavetest.cpp
index 4d52eab2e..bd5a1f1bb 100644
--- a/tdeio/tests/tdeioslavetest.cpp
+++ b/tdeio/tests/tdeioslavetest.cpp
@@ -63,7 +63,7 @@ KioslaveTest::KioslaveTest( TQString src, TQString dest, uint op, uint pr )
// Operation groupbox & buttons
opButtons = new TQButtonGroup( "Operation", main_widget );
topLayout->addWidget( opButtons, 10 );
- connect( opButtons, TQT_SIGNAL(clicked(int)), TQT_SLOT(changeOperation(int)) );
+ connect( opButtons, TQ_SIGNAL(clicked(int)), TQ_SLOT(changeOperation(int)) );
TQBoxLayout *hbLayout = new TQHBoxLayout( opButtons, 15 );
@@ -117,7 +117,7 @@ KioslaveTest::KioslaveTest( TQString src, TQString dest, uint op, uint pr )
// Progress groupbox & buttons
progressButtons = new TQButtonGroup( "Progress dialog mode", main_widget );
topLayout->addWidget( progressButtons, 10 );
- connect( progressButtons, TQT_SIGNAL(clicked(int)), TQT_SLOT(changeProgressMode(int)) );
+ connect( progressButtons, TQ_SIGNAL(clicked(int)), TQ_SLOT(changeProgressMode(int)) );
hbLayout = new TQHBoxLayout( progressButtons, 15 );
@@ -145,19 +145,19 @@ KioslaveTest::KioslaveTest( TQString src, TQString dest, uint op, uint pr )
pbStart = new TQPushButton( "&Start", main_widget );
pbStart->setFixedSize( pbStart->sizeHint() );
- connect( pbStart, TQT_SIGNAL(clicked()), TQT_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, TQT_SIGNAL(clicked()), TQT_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, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotQuit()));
+ connect(close, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotQuit()));
topLayout->addWidget( close, 5 );
@@ -166,10 +166,10 @@ KioslaveTest::KioslaveTest( TQString src, TQString dest, uint op, uint pr )
slave = 0;
// slave = TDEIO::Scheduler::getConnectedSlave(KURL("ftp://ftp.kde.org"));
- TDEIO::Scheduler::connect(TQT_SIGNAL(slaveConnected(TDEIO::Slave*)),
- this, TQT_SLOT(slotSlaveConnected()));
- TDEIO::Scheduler::connect(TQT_SIGNAL(slaveError(TDEIO::Slave*,int,const TQString&)),
- this, TQT_SLOT(slotSlaveError()));
+ TDEIO::Scheduler::connect(TQ_SIGNAL(slaveConnected(TDEIO::Slave*)),
+ this, TQ_SLOT(slotSlaveConnected()));
+ TDEIO::Scheduler::connect(TQ_SIGNAL(slaveError(TDEIO::Slave*,int,const TQString&)),
+ this, TQ_SLOT(slotSlaveError()));
}
@@ -242,14 +242,14 @@ void KioslaveTest::startJob() {
switch ( selectedOperation ) {
case List:
myJob = TDEIO::listDir( src );
- connect(myJob, TQT_SIGNAL( entries( TDEIO::Job*, const TDEIO::UDSEntryList&)),
- TQT_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 ListRecursive:
myJob = TDEIO::listRecursive( src );
- connect(myJob, TQT_SIGNAL( entries( TDEIO::Job*, const TDEIO::UDSEntryList&)),
- TQT_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:
@@ -258,15 +258,15 @@ void KioslaveTest::startJob() {
case Get:
myJob = TDEIO::get( src, true );
- connect(myJob, TQT_SIGNAL( data( TDEIO::Job*, const TQByteArray &)),
- TQT_SLOT( slotData( TDEIO::Job*, const TQByteArray &)));
+ connect(myJob, TQ_SIGNAL( data( TDEIO::Job*, const TQByteArray &)),
+ TQ_SLOT( slotData( TDEIO::Job*, const TQByteArray &)));
break;
case Put:
putBuffer = 0;
myJob = TDEIO::put( src, -1, true, false);
- connect(myJob, TQT_SIGNAL( dataReq( TDEIO::Job*, TQByteArray &)),
- TQT_SLOT( slotDataReq( TDEIO::Job*, TQByteArray &)));
+ connect(myJob, TQ_SIGNAL( dataReq( TDEIO::Job*, TQByteArray &)),
+ TQ_SLOT( slotDataReq( TDEIO::Job*, TQByteArray &)));
break;
case Copy:
@@ -300,11 +300,11 @@ void KioslaveTest::startJob() {
job = myJob;
}
- connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ),
- TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ),
+ TQ_SLOT( slotResult( TDEIO::Job * ) ) );
- connect( job, TQT_SIGNAL( canceled( TDEIO::Job * ) ),
- TQT_SLOT( slotResult( TDEIO::Job * ) ) );
+ connect( job, TQ_SIGNAL( canceled( TDEIO::Job * ) ),
+ TQ_SLOT( slotResult( TDEIO::Job * ) ) );
if (progressMode == ProgressStatus) {
statusProgress->setJob( job );