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