summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopetetransfermanager.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:36:20 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:36:20 -0600
commitf21aaec952493cb5688c73de6e82a569ddbd7fb2 (patch)
tree78ccb5117063da3e08e3277e11054b912a9f2ae7 /kopete/libkopete/kopetetransfermanager.cpp
parentc48e769eb275917717e2b55eb869f7e559293ac8 (diff)
downloadtdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.tar.gz
tdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kopete/libkopete/kopetetransfermanager.cpp')
-rw-r--r--kopete/libkopete/kopetetransfermanager.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/libkopete/kopetetransfermanager.cpp b/kopete/libkopete/kopetetransfermanager.cpp
index 3f7a9358..27952b9a 100644
--- a/kopete/libkopete/kopetetransfermanager.cpp
+++ b/kopete/libkopete/kopetetransfermanager.cpp
@@ -51,14 +51,14 @@ Kopete::FileTransferInfo::FileTransferInfo( Kopete::Contact *contact, const TQS
Kopete::Transfer::Transfer( const Kopete::FileTransferInfo &kfti, const TQString &localFile, bool showProgressInfo)
- : KIO::Job(showProgressInfo), mInfo(kfti)
+ : TDEIO::Job(showProgressInfo), mInfo(kfti)
{
KURL targ; targ.setPath( localFile );
init( targ, showProgressInfo );
}
Kopete::Transfer::Transfer( const Kopete::FileTransferInfo &kfti, const Kopete::Contact *contact, bool showProgressInfo)
- : KIO::Job(showProgressInfo), mInfo(kfti)
+ : TDEIO::Job(showProgressInfo), mInfo(kfti)
{
// TODO: use mInfo.url().fileName() after move to protocol-aware filetransfers
KURL targ; targ.setPath( mInfo.file() );
@@ -72,7 +72,7 @@ void Kopete::Transfer::init( const KURL &target, bool showProgressInfo )
if( showProgressInfo )
Observer::self()->slotCopying( this, sourceURL(), destinationURL() );
- connect( this, TQT_SIGNAL( result( KIO::Job* ) ), TQT_SLOT( slotResultEmitted() ) );
+ connect( this, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( slotResultEmitted() ) );
setAutoErrorHandlingEnabled( true, 0 );
}
@@ -139,7 +139,7 @@ void Kopete::Transfer::slotError( int error, const TQString &errorText )
void Kopete::Transfer::slotResultEmitted()
{
- if( error() == KIO::ERR_USER_CANCELED )
+ if( error() == TDEIO::ERR_USER_CANCELED )
emit transferCanceled();
}
@@ -169,7 +169,7 @@ Kopete::Transfer* Kopete::TransferManager::addTransfer( Kopete::Contact *contac
nextID++;
Kopete::FileTransferInfo info(contact, file, size, recipient,di, nextID);
Kopete::Transfer *trans = new Kopete::Transfer(info, contact);
- connect(trans, TQT_SIGNAL(result(KIO::Job *)), this, TQT_SLOT(slotComplete(KIO::Job *)));
+ connect(trans, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(slotComplete(TDEIO::Job *)));
mTransfersMap.insert(nextID, trans);
return trans;
}
@@ -177,7 +177,7 @@ Kopete::Transfer* Kopete::TransferManager::addTransfer( Kopete::Contact *contac
void Kopete::TransferManager::slotAccepted(const Kopete::FileTransferInfo& info, const TQString& filename)
{
Kopete::Transfer *trans = new Kopete::Transfer(info, filename);
- connect(trans, TQT_SIGNAL(result(KIO::Job *)), this, TQT_SLOT(slotComplete(KIO::Job *)));
+ connect(trans, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(slotComplete(TDEIO::Job *)));
mTransfersMap.insert(info.transferId(), trans);
emit accepted(trans,filename);
}
@@ -206,7 +206,7 @@ void Kopete::TransferManager::removeTransfer( unsigned int id )
//we don't need to delete the job, the job get deleted itself
}
-void Kopete::TransferManager::slotComplete(KIO::Job *job)
+void Kopete::TransferManager::slotComplete(TDEIO::Job *job)
{
Kopete::Transfer *transfer=dynamic_cast<Kopete::Transfer*>(job);
if(!transfer)