summaryrefslogtreecommitdiffstats
path: root/src/convert.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 00:14:05 -0600
committerTimothy Pearson <[email protected]>2013-01-25 00:14:05 -0600
commit87e49a06e2f4ee153caeabfa4240e9ab94fbd135 (patch)
treee4569b2b2451b0ed73dda25a4402fa1aed389a75 /src/convert.cpp
parentbece9aa3ad05fe774bf89d9a840235ee8adfd4da (diff)
downloadsoundkonverter-87e49a06e2f4ee153caeabfa4240e9ab94fbd135.tar.gz
soundkonverter-87e49a06e2f4ee153caeabfa4240e9ab94fbd135.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'src/convert.cpp')
-rwxr-xr-xsrc/convert.cpp54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/convert.cpp b/src/convert.cpp
index 43e8c29..9e9ef3a 100755
--- a/src/convert.cpp
+++ b/src/convert.cpp
@@ -101,12 +101,12 @@ void Convert::get( ConvertItem* item )
item->convertProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput );
}
else {
- item->moveJob = new KIO::FileCopyJob( source, destination, -1, false, true, false, false );
- connect( item->moveJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)),
- this, TQT_SLOT(moveProgress(KIO::Job*,unsigned long))
+ item->moveJob = new TDEIO::FileCopyJob( source, destination, -1, false, true, false, false );
+ connect( item->moveJob, TQT_SIGNAL(percent(TDEIO::Job*,unsigned long)),
+ this, TQT_SLOT(moveProgress(TDEIO::Job*,unsigned long))
);
- connect( item->moveJob, TQT_SIGNAL(result(KIO::Job*)),
- this, TQT_SLOT(moveFinished(KIO::Job*))
+ connect( item->moveJob, TQT_SIGNAL(result(TDEIO::Job*)),
+ this, TQT_SLOT(moveFinished(TDEIO::Job*))
);
}
}
@@ -142,12 +142,12 @@ void Convert::getCorrection( ConvertItem* item )
item->convertProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput );
}
else {
- item->moveJob = new KIO::FileCopyJob( source, destination, -1, false, true, false, false );
- connect( item->moveJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)),
- this, TQT_SLOT(moveProgress(KIO::Job*,unsigned long))
+ item->moveJob = new TDEIO::FileCopyJob( source, destination, -1, false, true, false, false );
+ connect( item->moveJob, TQT_SIGNAL(percent(TDEIO::Job*,unsigned long)),
+ this, TQT_SLOT(moveProgress(TDEIO::Job*,unsigned long))
);
- connect( item->moveJob, TQT_SIGNAL(result(KIO::Job*)),
- this, TQT_SLOT(moveFinished(KIO::Job*))
+ connect( item->moveJob, TQT_SIGNAL(result(TDEIO::Job*)),
+ this, TQT_SLOT(moveFinished(TDEIO::Job*))
);
}
}
@@ -190,12 +190,12 @@ void Convert::rip( ConvertItem* item )
item->fileListItem->setText( fileList->columnByName(i18n("State")), i18n("Ripping")+"... 00 %" );
item->fileListItem->ripping = true;
- item->moveJob = new KIO::FileCopyJob( source, dest, -1, false, true, false, false );
- connect( item->moveJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)),
- this, TQT_SLOT(moveProgress(KIO::Job*,unsigned long))
+ item->moveJob = new TDEIO::FileCopyJob( source, dest, -1, false, true, false, false );
+ connect( item->moveJob, TQT_SIGNAL(percent(TDEIO::Job*,unsigned long)),
+ this, TQT_SLOT(moveProgress(TDEIO::Job*,unsigned long))
);
- connect( item->moveJob, TQT_SIGNAL(result(KIO::Job*)),
- this, TQT_SLOT(moveFinished(KIO::Job*))
+ connect( item->moveJob, TQT_SIGNAL(result(TDEIO::Job*)),
+ this, TQT_SLOT(moveFinished(TDEIO::Job*))
);
}
else {
@@ -634,12 +634,12 @@ void Convert::put( ConvertItem* item )
item->convertProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput );
}
else {
- item->moveJob = new KIO::FileCopyJob( source, destination, -1, false, false, false, false );
- connect( item->moveJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)),
- this, TQT_SLOT(moveProgress(KIO::Job*,unsigned long))
+ item->moveJob = new TDEIO::FileCopyJob( source, destination, -1, false, false, false, false );
+ connect( item->moveJob, TQT_SIGNAL(percent(TDEIO::Job*,unsigned long)),
+ this, TQT_SLOT(moveProgress(TDEIO::Job*,unsigned long))
);
- connect( item->moveJob, TQT_SIGNAL(result(KIO::Job*)),
- this, TQT_SLOT(moveFinished(KIO::Job*))
+ connect( item->moveJob, TQT_SIGNAL(result(TDEIO::Job*)),
+ this, TQT_SLOT(moveFinished(TDEIO::Job*))
);
}
}
@@ -673,12 +673,12 @@ void Convert::putCorrection( ConvertItem* item )
item->convertProcess->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput );
}
else {
- item->moveJob = new KIO::FileCopyJob( source, destination, -1, false, false, false, false );
- connect( item->moveJob, TQT_SIGNAL(percent(KIO::Job*,unsigned long)),
- this, TQT_SLOT(moveProgress(KIO::Job*,unsigned long))
+ item->moveJob = new TDEIO::FileCopyJob( source, destination, -1, false, false, false, false );
+ connect( item->moveJob, TQT_SIGNAL(percent(TDEIO::Job*,unsigned long)),
+ this, TQT_SLOT(moveProgress(TDEIO::Job*,unsigned long))
);
- connect( item->moveJob, TQT_SIGNAL(result(KIO::Job*)),
- this, TQT_SLOT(moveFinished(KIO::Job*))
+ connect( item->moveJob, TQT_SIGNAL(result(TDEIO::Job*)),
+ this, TQT_SLOT(moveFinished(TDEIO::Job*))
);
}
}
@@ -830,7 +830,7 @@ void Convert::executeNextStep( ConvertItem* item )
}
}
-void Convert::moveProgress( KIO::Job* job, unsigned long percent )
+void Convert::moveProgress( TDEIO::Job* job, unsigned long percent )
{
// search the item list for our item
for( TQValueList<ConvertItem*>::Iterator item = items.begin(); item != items.end(); item++ ) {
@@ -840,7 +840,7 @@ void Convert::moveProgress( KIO::Job* job, unsigned long percent )
}
}
-void Convert::moveFinished( KIO::Job* job )
+void Convert::moveFinished( TDEIO::Job* job )
{
// search the item list for our item
for( TQValueList<ConvertItem*>::Iterator item = items.begin(); item != items.end(); item++ ) {