diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kio/kssl/ksslcertchain.cc | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/kssl/ksslcertchain.cc')
-rw-r--r-- | kio/kssl/ksslcertchain.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kio/kssl/ksslcertchain.cc b/kio/kssl/ksslcertchain.cc index aa531c067..a401aec3d 100644 --- a/kio/kssl/ksslcertchain.cc +++ b/kio/kssl/ksslcertchain.cc @@ -41,7 +41,7 @@ #include <kopenssl.h> #include <kdebug.h> -#include <qstringlist.h> +#include <tqstringlist.h> @@ -97,7 +97,7 @@ bool KSSLCertChain::isValid() { KSSLCertChain *KSSLCertChain::replicate() { KSSLCertChain *x = new KSSLCertChain; -QPtrList<KSSLCertificate> ch = getChain(); +TQPtrList<KSSLCertificate> ch = getChain(); x->setChain(ch); // this will do a deep copy for us ch.setAutoDelete(true); @@ -113,8 +113,8 @@ return 0; } -QPtrList<KSSLCertificate> KSSLCertChain::getChain() { -QPtrList<KSSLCertificate> cl; +TQPtrList<KSSLCertificate> KSSLCertChain::getChain() { +TQPtrList<KSSLCertificate> cl; if (!_chain) return cl; #ifdef KSSL_HAVE_SSL STACK_OF(X509) *x = (STACK_OF(X509) *)_chain; @@ -132,7 +132,7 @@ return cl; } -void KSSLCertChain::setChain(QPtrList<KSSLCertificate>& chain) { +void KSSLCertChain::setChain(TQPtrList<KSSLCertificate>& chain) { #ifdef KSSL_HAVE_SSL if (_chain) { STACK_OF(X509) *x = (STACK_OF(X509) *)_chain; @@ -187,14 +187,14 @@ _chain = NULL; } -void KSSLCertChain::setChain(QStringList chain) { +void KSSLCertChain::setChain(TQStringList chain) { setCertChain(chain); } -void KSSLCertChain::setCertChain(const QStringList& chain) { - QPtrList<KSSLCertificate> cl; +void KSSLCertChain::setCertChain(const TQStringList& chain) { + TQPtrList<KSSLCertificate> cl; cl.setAutoDelete(true); - for (QStringList::ConstIterator s = chain.begin(); s != chain.end(); ++s) { + for (TQStringList::ConstIterator s = chain.begin(); s != chain.end(); ++s) { KSSLCertificate *c = KSSLCertificate::fromString((*s).local8Bit()); if (c) { cl.append(c); |