Rname KIOext

pull/21/head
Timothy Pearson 12 years ago
parent 09bd73fbd2
commit eda50d1bce

@ -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* ) ) );

@ -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* ) ) );

@ -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;

@ -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 );

Loading…
Cancel
Save