From 86d8364ac704bdc8ad2dfcf52307d9626cfac567 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:37:21 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kmail/quotajobs.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kmail/quotajobs.cpp') diff --git a/kmail/quotajobs.cpp b/kmail/quotajobs.cpp index 3dd5aa49e..b08d7f91d 100644 --- a/kmail/quotajobs.cpp +++ b/kmail/quotajobs.cpp @@ -35,27 +35,27 @@ using namespace KMail; QuotaJobs::GetQuotarootJob* QuotaJobs::getQuotaroot( - KIO::Slave* slave, const KURL& url ) + TDEIO::Slave* slave, const KURL& url ) { TQByteArray packedArgs; TQDataStream stream( packedArgs, IO_WriteOnly ); stream << (int)'Q' << (int)'R' << url; GetQuotarootJob* job = new GetQuotarootJob( url, packedArgs, false ); - KIO::Scheduler::assignJobToSlave( slave, job ); + TDEIO::Scheduler::assignJobToSlave( slave, job ); return job; } QuotaJobs::GetQuotarootJob::GetQuotarootJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo ) - : KIO::SimpleJob( url, KIO::CMD_SPECIAL, packedArgs, showProgressInfo ) + : TDEIO::SimpleJob( url, TDEIO::CMD_SPECIAL, packedArgs, showProgressInfo ) { - connect( this, TQT_SIGNAL(infoMessage(KIO::Job*,const TQString&)), - TQT_SLOT(slotInfoMessage(KIO::Job*,const TQString&)) ); + connect( this, TQT_SIGNAL(infoMessage(TDEIO::Job*,const TQString&)), + TQT_SLOT(slotInfoMessage(TDEIO::Job*,const TQString&)) ); } -void QuotaJobs::GetQuotarootJob::slotInfoMessage( KIO::Job*, const TQString& str ) +void QuotaJobs::GetQuotarootJob::slotInfoMessage( TDEIO::Job*, const TQString& str ) { // Parse the result TQStringList results = TQStringList::split("\r", str); @@ -90,15 +90,15 @@ void QuotaJobs::GetQuotarootJob::slotInfoMessage( KIO::Job*, const TQString& str } QuotaJobs::GetStorageQuotaJob* QuotaJobs::getStorageQuota( - KIO::Slave* slave, const KURL& url ) + TDEIO::Slave* slave, const KURL& url ) { GetStorageQuotaJob* job = new GetStorageQuotaJob( slave, url ); return job; } -QuotaJobs::GetStorageQuotaJob::GetStorageQuotaJob( KIO::Slave* slave, const KURL& url ) - : KIO::Job( false ) +QuotaJobs::GetStorageQuotaJob::GetStorageQuotaJob( TDEIO::Slave* slave, const KURL& url ) + : TDEIO::Job( false ) { TQByteArray packedArgs; TQDataStream stream( packedArgs, IO_WriteOnly ); @@ -110,7 +110,7 @@ QuotaJobs::GetStorageQuotaJob::GetStorageQuotaJob( KIO::Slave* slave, const KURL TQT_SLOT(slotQuotaInfoReceived(const QuotaInfoList&))); connect(job, TQT_SIGNAL(quotaRootResult(const TQStringList&)), TQT_SLOT(slotQuotarootResult(const TQStringList&))); - KIO::Scheduler::assignJobToSlave( slave, job ); + TDEIO::Scheduler::assignJobToSlave( slave, job ); addSubjob( job ); } -- cgit v1.2.1