diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:21 -0600 |
commit | 86d8364ac704bdc8ad2dfcf52307d9626cfac567 (patch) | |
tree | 97d3ac2c2f60780d9a1de4f82caac7cb27534501 /certmanager/certmanager.cpp | |
parent | a9bde819f2b421dcc44741156e75eca4bb5fb4f4 (diff) | |
download | tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.tar.gz tdepim-86d8364ac704bdc8ad2dfcf52307d9626cfac567.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'certmanager/certmanager.cpp')
-rw-r--r-- | certmanager/certmanager.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/certmanager/certmanager.cpp b/certmanager/certmanager.cpp index 66f53fe19..7c86e8b24 100644 --- a/certmanager/certmanager.cpp +++ b/certmanager/certmanager.cpp @@ -218,7 +218,7 @@ CertManager::~CertManager() { } void CertManager::readConfig( bool noQueryGiven ) { - KConfig config( "kleopatrarc" ); + TDEConfig config( "kleopatrarc" ); config.setGroup( "Display Options" ); mHierarchicalView = config.readBoolEntry( "hierarchicalView", false ); if ( noQueryGiven ) { @@ -227,7 +227,7 @@ void CertManager::readConfig( bool noQueryGiven ) { } void CertManager::writeConfig() { - KConfig config( "kleopatrarc" ); + TDEConfig config( "kleopatrarc" ); config.setGroup( "Display Options" ); config.writeEntry( "hierarchicalView", mKeyListView->hierarchical() ); config.writeEntry( "startInRemoteMode", mNextFindRemote ); @@ -685,10 +685,10 @@ void CertManager::slotImportCertFromFile( const KURL & certURL ) // Download the cert KIOext::StoredTransferJob* importJob = KIOext::storedGet( certURL ); importJob->setWindow( this ); - connect( importJob, TQT_SIGNAL(result(KIO::Job*)), TQT_SLOT(slotImportResult(KIO::Job*)) ); + connect( importJob, TQT_SIGNAL(result(TDEIO::Job*)), TQT_SLOT(slotImportResult(TDEIO::Job*)) ); } -void CertManager::slotImportResult( KIO::Job* job ) +void CertManager::slotImportResult( TDEIO::Job* job ) { if ( job->error() ) { job->showErrorDialog(); @@ -904,17 +904,17 @@ void CertManager::importCRLFromFile() { KTempFile tempFile; KURL destURL; destURL.setPath( tempFile.name() ); - KIO::Job* copyJob = KIO::file_copy( url, destURL, 0600, true, false ); + TDEIO::Job* copyJob = TDEIO::file_copy( url, destURL, 0600, true, false ); copyJob->setWindow( this ); - connect( copyJob, TQT_SIGNAL( result( KIO::Job * ) ), - TQT_SLOT( slotImportCRLJobFinished( KIO::Job * ) ) ); + connect( copyJob, TQT_SIGNAL( result( TDEIO::Job * ) ), + TQT_SLOT( slotImportCRLJobFinished( TDEIO::Job * ) ) ); } } } -void CertManager::slotImportCRLJobFinished( KIO::Job *job ) +void CertManager::slotImportCRLJobFinished( TDEIO::Job *job ) { - KIO::FileCopyJob* fcjob = static_cast<KIO::FileCopyJob*>( job ); + TDEIO::FileCopyJob* fcjob = static_cast<TDEIO::FileCopyJob*>( job ); TQString tempFilePath = fcjob->destURL().path(); if ( job->error() ) { job->showErrorDialog(); @@ -1234,7 +1234,7 @@ void CertManager::startCertificateExport( const TQStringList & fingerprints ) { // return true if we should proceed, false if we should abort static bool checkOverwrite( const KURL& url, bool& overwrite, TQWidget* w ) { - if ( KIO::NetAccess::exists( url, false /*dest*/, w ) ) { + if ( TDEIO::NetAccess::exists( url, false /*dest*/, w ) ) { if ( KMessageBox::Cancel == KMessageBox::warningContinueCancel( w, @@ -1269,10 +1269,10 @@ void CertManager::slotCertificateExportResult( const GpgME::Error & err, const T if ( !checkOverwrite( url, overwrite, this ) ) return; - KIO::Job* uploadJob = KIOext::put( data, url, -1, overwrite, false /*resume*/ ); + TDEIO::Job* uploadJob = KIOext::put( data, url, -1, overwrite, false /*resume*/ ); uploadJob->setWindow( this ); - connect( uploadJob, TQT_SIGNAL( result( KIO::Job* ) ), - this, TQT_SLOT( slotUploadResult( KIO::Job* ) ) ); + connect( uploadJob, TQT_SIGNAL( result( TDEIO::Job* ) ), + this, TQT_SLOT( slotUploadResult( TDEIO::Job* ) ) ); } @@ -1388,13 +1388,13 @@ void CertManager::slotSecretKeyExportResult( const GpgME::Error & err, const TQB if ( !checkOverwrite( url, overwrite, this ) ) return; - KIO::Job* uploadJob = KIOext::put( data, url, -1, overwrite, false /*resume*/ ); + TDEIO::Job* uploadJob = KIOext::put( data, url, -1, overwrite, false /*resume*/ ); uploadJob->setWindow( this ); - connect( uploadJob, TQT_SIGNAL( result( KIO::Job* ) ), - this, TQT_SLOT( slotUploadResult( KIO::Job* ) ) ); + connect( uploadJob, TQT_SIGNAL( result( TDEIO::Job* ) ), + this, TQT_SLOT( slotUploadResult( TDEIO::Job* ) ) ); } -void CertManager::slotUploadResult( KIO::Job* job ) +void CertManager::slotUploadResult( TDEIO::Job* job ) { if ( job->error() ) job->showErrorDialog(); |