From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- certmanager/certificateinfowidgetimpl.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'certmanager/certificateinfowidgetimpl.cpp') diff --git a/certmanager/certificateinfowidgetimpl.cpp b/certmanager/certificateinfowidgetimpl.cpp index 4932b6bd..8ce43aa5 100644 --- a/certmanager/certificateinfowidgetimpl.cpp +++ b/certmanager/certificateinfowidgetimpl.cpp @@ -20,11 +20,11 @@ In addition, as a special exception, the copyright holders give permission to link the code of this program with any edition of - the Qt library by Trolltech AS, Norway (or with modified versions - of Qt that use the same license as Qt), and distribute linked + the TQt library by Trolltech AS, Norway (or with modified versions + of TQt that use the same license as TQt), and distribute linked combinations including the two. You must obey the GNU General Public License in all respects for all of the code used other than - Qt. If you modify this file, you may extend this exception to + TQt. If you modify this file, you may extend this exception to your version of the file, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. @@ -54,7 +54,7 @@ #include #include -// Qt +// TQt #include #include #include @@ -69,8 +69,8 @@ #include CertificateInfoWidgetImpl::CertificateInfoWidgetImpl( const GpgME::Key & key, bool external, - TQWidget * parent, const char * name ) - : CertificateInfoWidget( parent, name ), + TQWidget * tqparent, const char * name ) + : CertificateInfoWidget( tqparent, name ), mExternal( external ), mFoundIssuer( true ), mHaveKeyLocally( false ) @@ -182,14 +182,14 @@ void CertificateInfoWidgetImpl::setKey( const GpgME::Key & key ) { startCertificateDump(); } -static void showChainListError( TQWidget * parent, const GpgME::Error & err, const char * subject ) { +static void showChainListError( TQWidget * tqparent, const GpgME::Error & err, const char * subject ) { assert( err ); const TQString msg = i18n("

An error occurred while fetching " "the certificate %1 from the backend:

" "

%2

") - .arg( subject ? TQString::fromUtf8( subject ) : TQString::null, + .arg( subject ? TQString::fromUtf8( subject ) : TQString(), TQString::fromLocal8Bit( err.asString() ) ); - KMessageBox::error( parent, msg, i18n("Certificate Listing Failed" ) ); + KMessageBox::error( tqparent, msg, i18n("Certificate Listing Failed" ) ); } void CertificateInfoWidgetImpl::startCertificateChainListing() { @@ -329,7 +329,7 @@ void CertificateInfoWidgetImpl::updateChainView() { else { item = new TQListViewItem( pathView, i18n("Issuer certificate not found ( %1)") .arg( Kleo::DN( (*it).issuerName() ).prettyDN() ) ); - item->setOpen( true ); // Qt bug: doesn't open after setEnabled( false ) :/ + item->setOpen( true ); // TQt bug: doesn't open after setEnabled( false ) :/ item->setEnabled( false ); } item->setOpen( true ); @@ -358,7 +358,7 @@ void CertificateInfoWidgetImpl::slotShowCertPathDetails( TQListViewItem * item ) // find the key corresponding to "item". This hack would not be // necessary if pathView was a Kleo::KeyListView, but it's - // Qt-Designer-generated and I don't feel like creating a custom + // TQt-Designer-generated and I don't feel like creating a custom // widget spec for Kleo::KeyListView. unsigned int totalCount = 0; int itemIndex = -1; -- cgit v1.2.3