diff options
Diffstat (limited to 'certmanager/certmanager.cpp')
-rw-r--r-- | certmanager/certmanager.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/certmanager/certmanager.cpp b/certmanager/certmanager.cpp index 7c80966a8..5304b131a 100644 --- a/certmanager/certmanager.cpp +++ b/certmanager/certmanager.cpp @@ -161,8 +161,8 @@ namespace { } // anon namespace CertManager::CertManager( bool remote, const TQString& query, const TQString & import, - TQWidget* tqparent, const char* name, WFlags f ) - : KMainWindow( tqparent, name, f|WDestructiveClose ), + TQWidget* parent, const char* name, WFlags f ) + : KMainWindow( parent, name, f|WDestructiveClose ), mCrlView( 0 ), mDirmngrProc( 0 ), mHierarchyAnalyser( 0 ), @@ -527,14 +527,14 @@ void CertManager::slotRefreshKeysResult( const GpgME::Error & err ) { i18n("Refreshing Keys Failed") ); } -static void showKeyListError( TQWidget * tqparent, const GpgME::Error & err ) { +static void showKeyListError( TQWidget * parent, const GpgME::Error & err ) { assert( err ); const TQString msg = i18n( "<qt><p>An error occurred while fetching " "the certificates from the backend:</p>" "<p><b>%1</b></p></qt>" ) .tqarg( TQString::fromLocal8Bit( err.asString() ) ); - KMessageBox::error( tqparent, msg, i18n( "Certificate Listing Failed" ) ); + KMessageBox::error( parent, msg, i18n( "Certificate Listing Failed" ) ); } void CertManager::slotSearch() { @@ -700,7 +700,7 @@ void CertManager::slotImportResult( KIO::Job* job ) updateImportActions( true ); } -static void showCertificateDownloadError( TQWidget * tqparent, const GpgME::Error & err, const TQString& certDisplayName ) { +static void showCertificateDownloadError( TQWidget * parent, const GpgME::Error & err, const TQString& certDisplayName ) { assert( err ); const TQString msg = i18n( "<qt><p>An error occurred while trying " "to download the certificate %1:</p>" @@ -708,7 +708,7 @@ static void showCertificateDownloadError( TQWidget * tqparent, const GpgME::Erro .tqarg( certDisplayName ) .tqarg( TQString::fromLocal8Bit( err.asString() ) ); - KMessageBox::error( tqparent, msg, i18n( "Certificate Download Failed" ) ); + KMessageBox::error( parent, msg, i18n( "Certificate Download Failed" ) ); } void CertManager::slotDownloadCertificate() { @@ -768,14 +768,14 @@ void CertManager::slotCertificateDownloadResult( const GpgME::Error & err, const disconnectJobFromStatusBarProgress( err ); } -static void showCertificateImportError( TQWidget * tqparent, const GpgME::Error & err, const TQString& certDisplayName ) { +static void showCertificateImportError( TQWidget * parent, const GpgME::Error & err, const TQString& certDisplayName ) { assert( err ); const TQString msg = i18n( "<qt><p>An error occurred while trying " "to import the certificate %1:</p>" "<p><b>%2</b></p></qt>" ) .tqarg( certDisplayName ) .tqarg( TQString::fromLocal8Bit( err.asString() ) ); - KMessageBox::error( tqparent, msg, i18n( "Certificate Import Failed" ) ); + KMessageBox::error( parent, msg, i18n( "Certificate Import Failed" ) ); } void CertManager::startCertificateImport( const TQByteArray & keyData, const TQString& certDisplayName ) { @@ -998,13 +998,13 @@ void CertManager::slotClearCRLsResult() { delete mDirmngrProc; mDirmngrProc = 0; } -static void showDeleteError( TQWidget * tqparent, const GpgME::Error & err ) { +static void showDeleteError( TQWidget * parent, const GpgME::Error & err ) { assert( err ); const TQString msg = i18n("<qt><p>An error occurred while trying to delete " "the certificates:</p>" "<p><b>%1</b></p></qt>") .tqarg( TQString::fromLocal8Bit( err.asString() ) ); - KMessageBox::error( tqparent, msg, i18n("Certificate Deletion Failed") ); + KMessageBox::error( parent, msg, i18n("Certificate Deletion Failed") ); } static bool ByFingerprint( const GpgME::Key & left, const GpgME::Key & right ) { @@ -1201,13 +1201,13 @@ void CertManager::slotExportCertificate() { startCertificateExport( fingerprints ); } -static void showCertificateExportError( TQWidget * tqparent, const GpgME::Error & err ) { +static void showCertificateExportError( TQWidget * parent, const GpgME::Error & err ) { assert( err ); const TQString msg = i18n("<qt><p>An error occurred while trying to export " "the certificate:</p>" "<p><b>%1</b></p></qt>") .tqarg( TQString::fromLocal8Bit( err.asString() ) ); - KMessageBox::error( tqparent, msg, i18n("Certificate Export Failed") ); + KMessageBox::error( parent, msg, i18n("Certificate Export Failed") ); } void CertManager::startCertificateExport( const TQStringList & fingerprints ) { @@ -1296,13 +1296,13 @@ void CertManager::slotExportSecretKey() { startSecretKeyExport( dlg.fingerprint() ); } -static void showSecretKeyExportError( TQWidget * tqparent, const GpgME::Error & err ) { +static void showSecretKeyExportError( TQWidget * parent, const GpgME::Error & err ) { assert( err ); const TQString msg = i18n("<qt><p>An error occurred while trying to export " "the secret key:</p>" "<p><b>%1</b></p></qt>") .tqarg( TQString::fromLocal8Bit( err.asString() ) ); - KMessageBox::error( tqparent, msg, i18n("Secret-Key Export Failed") ); + KMessageBox::error( parent, msg, i18n("Secret-Key Export Failed") ); } void CertManager::startSecretKeyExport( const TQString & fingerprint ) { |