summaryrefslogtreecommitdiffstats
path: root/certmanager/certificateinfowidgetimpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /certmanager/certificateinfowidgetimpl.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
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
Diffstat (limited to 'certmanager/certificateinfowidgetimpl.cpp')
-rw-r--r--certmanager/certificateinfowidgetimpl.cpp22
1 files changed, 11 insertions, 11 deletions
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 <kprocio.h>
#include <kglobalsettings.h>
-// Qt
+// TQt
#include <tqlistview.h>
#include <tqtextedit.h>
#include <tqheader.h>
@@ -69,8 +69,8 @@
#include <assert.h>
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("<qt><p>An error occurred while fetching "
"the certificate <b>%1</b> from the backend:</p>"
"<p><b>%2</b></p></qt>")
- .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;