summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-11-24 16:19:37 +0100
committerSlávek Banko <slavek.banko@axis.cz>2012-11-24 16:21:38 +0100
commit68b5e38626333b0c1c0396ef8b4b9221e425465a (patch)
treefa6a18bcf394cf95dbb901a8234ea399c4869e1f /kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp
parentb701e9bde1ec398e3c9a89ba8f4de08ab71cd1a7 (diff)
downloadtdenetwork-68b5e38626333b0c1c0396ef8b4b9221e425465a.tar.gz
tdenetwork-68b5e38626333b0c1c0396ef8b4b9221e425465a.zip
Rename QCA to TQCA
Fix FTBFS
Diffstat (limited to 'kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp')
-rw-r--r--kopete/protocols/jabber/libiris/iris/xmpp-core/hash.cpp20
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);
}