summaryrefslogtreecommitdiffstats
path: root/src/modules/rijndael/libkvirijndael.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/rijndael/libkvirijndael.h
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz
kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip
TQt4 port kvirc
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/rijndael/libkvirijndael.h')
-rw-r--r--src/modules/rijndael/libkvirijndael.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/modules/rijndael/libkvirijndael.h b/src/modules/rijndael/libkvirijndael.h
index 900ff252..38a92056 100644
--- a/src/modules/rijndael/libkvirijndael.h
+++ b/src/modules/rijndael/libkvirijndael.h
@@ -32,6 +32,7 @@
class KviRijndaelEngine : public KviCryptEngine
{
Q_OBJECT
+ TQ_OBJECT
public:
KviRijndaelEngine();
virtual ~KviRijndaelEngine();
@@ -54,6 +55,7 @@
class KviRijndaelHexEngine : public KviRijndaelEngine
{
Q_OBJECT
+ TQ_OBJECT
public:
KviRijndaelHexEngine() : KviRijndaelEngine() {};
virtual ~KviRijndaelHexEngine(){};
@@ -65,6 +67,7 @@
class KviRijndael128HexEngine : public KviRijndaelHexEngine
{
Q_OBJECT
+ TQ_OBJECT
public:
KviRijndael128HexEngine() : KviRijndaelHexEngine() {};
virtual ~KviRijndael128HexEngine(){};
@@ -76,6 +79,7 @@
class KviRijndael192HexEngine : public KviRijndaelHexEngine
{
Q_OBJECT
+ TQ_OBJECT
public:
KviRijndael192HexEngine() : KviRijndaelHexEngine() {};
virtual ~KviRijndael192HexEngine(){};
@@ -87,6 +91,7 @@
class KviRijndael256HexEngine : public KviRijndaelHexEngine
{
Q_OBJECT
+ TQ_OBJECT
public:
KviRijndael256HexEngine() : KviRijndaelHexEngine() {};
virtual ~KviRijndael256HexEngine(){};
@@ -97,6 +102,7 @@
class KviRijndaelBase64Engine : public KviRijndaelEngine
{
Q_OBJECT
+ TQ_OBJECT
public:
KviRijndaelBase64Engine() : KviRijndaelEngine() {};
virtual ~KviRijndaelBase64Engine(){};
@@ -108,6 +114,7 @@
class KviRijndael128Base64Engine : public KviRijndaelBase64Engine
{
Q_OBJECT
+ TQ_OBJECT
public:
KviRijndael128Base64Engine() : KviRijndaelBase64Engine() {};
virtual ~KviRijndael128Base64Engine(){};
@@ -119,6 +126,7 @@
class KviRijndael192Base64Engine : public KviRijndaelBase64Engine
{
Q_OBJECT
+ TQ_OBJECT
public:
KviRijndael192Base64Engine() : KviRijndaelBase64Engine() {};
virtual ~KviRijndael192Base64Engine(){};
@@ -130,6 +138,7 @@
class KviRijndael256Base64Engine : public KviRijndaelBase64Engine
{
Q_OBJECT
+ TQ_OBJECT
public:
KviRijndael256Base64Engine() : KviRijndaelBase64Engine() {};
virtual ~KviRijndael256Base64Engine(){};
@@ -144,6 +153,7 @@
class KviMircryptionEngine : public KviCryptEngine
{
Q_OBJECT
+ TQ_OBJECT
public:
KviMircryptionEngine();
~KviMircryptionEngine();
@@ -153,7 +163,7 @@
KviStr m_szDecryptKey;
bool m_bDecryptCBC;
public:
- virtual bool isCryptographicEngine(){ return false; }; // we need to return false since it doesn't use the Qt::CTRL+P escape
+ virtual bool isCryptographicEngine(){ return false; }; // we need to return false since it doesn't use the TQt::CTRL+P escape
virtual bool init(const char *encKey,int encKeyLen,const char *decKey,int decKeyLen);
virtual KviCryptEngine::EncryptResult encrypt(const char * plainText,KviStr &outBuffer);
virtual KviCryptEngine::DecryptResult decrypt(const char * inBuffer,KviStr &plainText);