diff options
Diffstat (limited to 'kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp')
-rw-r--r-- | kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp b/kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp index d4509def..f531230c 100644 --- a/kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp +++ b/kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp @@ -447,7 +447,7 @@ typedef union { TQ_UINT32 l[16]; } CHAR64LONG16; -class SHA1Context : public QCA_HashContext +class SHA1Context : public TQCA_HashContext { public: SHA1_CONTEXT _context; @@ -458,7 +458,7 @@ public: reset(); } - QCA_HashContext *clone() + TQCA_HashContext *clone() { return new SHA1Context(*this); } @@ -598,7 +598,7 @@ public: } }; -class MD5Context : public QCA_HashContext +class MD5Context : public TQCA_HashContext { public: MD5Context() @@ -606,7 +606,7 @@ public: reset(); } - QCA_HashContext *clone() + TQCA_HashContext *clone() { return new MD5Context(*this); } @@ -631,7 +631,7 @@ public: md5_state_t md5; }; -class HashProvider : public QCAProvider +class HashProvider : public TQCAProvider { public: HashProvider() {} @@ -644,25 +644,25 @@ public: int qcaVersion() const { - return QCA_PLUGIN_VERSION; + return TQCA_PLUGIN_VERSION; } int capabilities() const { - return (QCA::CAP_SHA1 | QCA::CAP_MD5); + return (TQCA::CAP_SHA1 | TQCA::CAP_MD5); } void *context(int cap) { - if(cap == QCA::CAP_SHA1) + if(cap == TQCA::CAP_SHA1) return new SHA1Context; - if(cap == QCA::CAP_MD5) + if(cap == TQCA::CAP_MD5) return new MD5Context; return 0; } }; -QCAProvider *createProviderHash() +TQCAProvider *createProviderHash() { return (new HashProvider); } |