diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-30 19:52:58 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-30 19:52:58 -0600 |
commit | eda50d1bce626f021f5aef550280f7e6638e9832 (patch) | |
tree | 46155d0ed3389a19358b8a7a337eb1649830883d /certmanager | |
parent | 09bd73fbd2ff59f5e6eb420a5c1f22d61ceeaf66 (diff) | |
download | tdepim-eda50d1bce626f021f5aef550280f7e6638e9832.tar.gz tdepim-eda50d1bce626f021f5aef550280f7e6638e9832.zip |
Rname KIOext
Diffstat (limited to 'certmanager')
-rw-r--r-- | certmanager/certificatewizardimpl.cpp | 2 | ||||
-rw-r--r-- | certmanager/certmanager.cpp | 8 | ||||
-rw-r--r-- | certmanager/storedtransferjob.cpp | 4 | ||||
-rw-r--r-- | certmanager/storedtransferjob.h | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/certmanager/certificatewizardimpl.cpp b/certmanager/certificatewizardimpl.cpp index f153674b7..48d190dda 100644 --- a/certmanager/certificatewizardimpl.cpp +++ b/certmanager/certificatewizardimpl.cpp @@ -488,7 +488,7 @@ void CertificateWizardImpl::accept() overwrite = true; } - TDEIO::Job* uploadJob = KIOext::put( _keyData, url, -1, overwrite, false /*resume*/ ); + TDEIO::Job* uploadJob = TDEIOext::put( _keyData, url, -1, overwrite, false /*resume*/ ); uploadJob->setWindow( this ); connect( uploadJob, TQT_SIGNAL( result( TDEIO::Job* ) ), this, TQT_SLOT( slotUploadResult( TDEIO::Job* ) ) ); diff --git a/certmanager/certmanager.cpp b/certmanager/certmanager.cpp index 9c1fe3891..b665c65f3 100644 --- a/certmanager/certmanager.cpp +++ b/certmanager/certmanager.cpp @@ -683,7 +683,7 @@ void CertManager::slotImportCertFromFile( const KURL & certURL ) updateImportActions( false ); // Download the cert - KIOext::StoredTransferJob* importJob = KIOext::storedGet( certURL ); + TDEIOext::StoredTransferJob* importJob = TDEIOext::storedGet( certURL ); importJob->setWindow( this ); connect( importJob, TQT_SIGNAL(result(TDEIO::Job*)), TQT_SLOT(slotImportResult(TDEIO::Job*)) ); } @@ -693,7 +693,7 @@ void CertManager::slotImportResult( TDEIO::Job* job ) if ( job->error() ) { job->showErrorDialog(); } else { - KIOext::StoredTransferJob* trJob = static_cast<KIOext::StoredTransferJob *>( job ); + TDEIOext::StoredTransferJob* trJob = static_cast<TDEIOext::StoredTransferJob *>( job ); startCertificateImport( trJob->data(), trJob->url().fileName() ); } @@ -1269,7 +1269,7 @@ void CertManager::slotCertificateExportResult( const GpgME::Error & err, const T if ( !checkOverwrite( url, overwrite, this ) ) return; - TDEIO::Job* uploadJob = KIOext::put( data, url, -1, overwrite, false /*resume*/ ); + TDEIO::Job* uploadJob = TDEIOext::put( data, url, -1, overwrite, false /*resume*/ ); uploadJob->setWindow( this ); connect( uploadJob, TQT_SIGNAL( result( TDEIO::Job* ) ), this, TQT_SLOT( slotUploadResult( TDEIO::Job* ) ) ); @@ -1388,7 +1388,7 @@ void CertManager::slotSecretKeyExportResult( const GpgME::Error & err, const TQB if ( !checkOverwrite( url, overwrite, this ) ) return; - TDEIO::Job* uploadJob = KIOext::put( data, url, -1, overwrite, false /*resume*/ ); + TDEIO::Job* uploadJob = TDEIOext::put( data, url, -1, overwrite, false /*resume*/ ); uploadJob->setWindow( this ); connect( uploadJob, TQT_SIGNAL( result( TDEIO::Job* ) ), this, TQT_SLOT( slotUploadResult( TDEIO::Job* ) ) ); diff --git a/certmanager/storedtransferjob.cpp b/certmanager/storedtransferjob.cpp index e2e9ea951..bae0d3972 100644 --- a/certmanager/storedtransferjob.cpp +++ b/certmanager/storedtransferjob.cpp @@ -76,7 +76,7 @@ void StoredTransferJob::slotDataReq( TDEIO::Job *, TQByteArray &data ) //// -StoredTransferJob *KIOext::storedGet( const KURL& url, bool reload, bool showProgressInfo ) +StoredTransferJob *TDEIOext::storedGet( const KURL& url, bool reload, bool showProgressInfo ) { // Send decoded path and encoded query KIO_ARGS << url; @@ -86,7 +86,7 @@ StoredTransferJob *KIOext::storedGet( const KURL& url, bool reload, bool showPro return job; } -StoredTransferJob *KIOext::put( const TQByteArray& arr, const KURL& url, int permissions, +StoredTransferJob *TDEIOext::put( const TQByteArray& arr, const KURL& url, int permissions, bool overwrite, bool resume, bool showProgressInfo ) { KIO_ARGS << url << TQ_INT8( overwrite ? 1 : 0 ) << TQ_INT8( resume ? 1 : 0 ) << permissions; diff --git a/certmanager/storedtransferjob.h b/certmanager/storedtransferjob.h index 276d5db45..163c431ec 100644 --- a/certmanager/storedtransferjob.h +++ b/certmanager/storedtransferjob.h @@ -65,7 +65,7 @@ public: /** * Set data to be uploaded. This is for put jobs. - * Automatically called by KIOext::put(const TQByteArray &, ...), do not call this yourself. + * Automatically called by TDEIOext::put(const TQByteArray &, ...), do not call this yourself. */ void setData( const TQByteArray& arr ); |