QCAPlugin is now not a QObject, but subclasses are

svn path=/trunk/kdesupport/qca/; revision=653255
This commit is contained in:
Justin Karneges 2007-04-13 00:42:19 +00:00
parent 38c127b4b6
commit 39cd886afb
9 changed files with 10 additions and 9 deletions

View File

@ -431,6 +431,7 @@ namespace QCA
l->logBinaryMessage (blob, s); \ l->logBinaryMessage (blob, s); \
} \ } \
} while (false) } while (false)
/** /**
Test if QCA can access the root CA certificates Test if QCA can access the root CA certificates

View File

@ -33,10 +33,10 @@
#include <limits> #include <limits>
class QCA_EXPORT QCAPlugin : public QObject class QCA_EXPORT QCAPlugin
{ {
Q_OBJECT
public: public:
virtual ~QCAPlugin() {}
virtual QCA::Provider *createProvider() = 0; virtual QCA::Provider *createProvider() = 0;
}; };

View File

@ -458,7 +458,7 @@ private:
}; };
class botanPlugin : public QCAPlugin class botanPlugin : public QObject, public QCAPlugin
{ {
Q_OBJECT Q_OBJECT
Q_INTERFACES(QCAPlugin) Q_INTERFACES(QCAPlugin)

View File

@ -895,7 +895,7 @@ using namespace saslQCAPlugin;
// saslPlugin // saslPlugin
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
class saslPlugin : public QCAPlugin class saslPlugin : public QObject, public QCAPlugin
{ {
Q_OBJECT Q_OBJECT
Q_INTERFACES(QCAPlugin) Q_INTERFACES(QCAPlugin)

View File

@ -574,7 +574,7 @@ public:
} }
}; };
class gcryptPlugin : public QCAPlugin class gcryptPlugin : public QObject, public QCAPlugin
{ {
Q_OBJECT Q_OBJECT
Q_INTERFACES(QCAPlugin) Q_INTERFACES(QCAPlugin)

View File

@ -1001,7 +1001,7 @@ public:
} }
}; };
class gnupgPlugin : public QCAPlugin class gnupgPlugin : public QObject, public QCAPlugin
{ {
Q_OBJECT Q_OBJECT
Q_INTERFACES(QCAPlugin) Q_INTERFACES(QCAPlugin)

View File

@ -497,7 +497,7 @@ public:
} }
}; };
class nssPlugin : public QCAPlugin class nssPlugin : public QObject, public QCAPlugin
{ {
Q_OBJECT Q_OBJECT
Q_INTERFACES( QCAPlugin ) Q_INTERFACES( QCAPlugin )

View File

@ -6223,7 +6223,7 @@ public:
} }
}; };
class opensslPlugin : public QCAPlugin class opensslPlugin : public QObject, public QCAPlugin
{ {
Q_OBJECT Q_OBJECT
Q_INTERFACES(QCAPlugin) Q_INTERFACES(QCAPlugin)

View File

@ -2812,7 +2812,7 @@ pkcs11Provider::pinPromptHook (
return ret; //krazy:exclude=captruefalse return ret; //krazy:exclude=captruefalse
} }
class pkcs11Plugin : public QCAPlugin class pkcs11Plugin : public QObject, public QCAPlugin
{ {
Q_OBJECT Q_OBJECT
Q_INTERFACES(QCAPlugin) Q_INTERFACES(QCAPlugin)