Port to Qt 5 plugin system.

This commit is contained in:
Felix Geyer 2015-07-22 17:32:06 +02:00
parent 208b0f39e6
commit 9e05f41747
4 changed files with 2 additions and 4 deletions

View File

@ -117,5 +117,3 @@ void AutoTypeExecturorTest::execKey(AutoTypeKey* action)
{
m_platform->addActionKey(action);
}
Q_EXPORT_PLUGIN2(keepassx-autotype-test, AutoTypePlatformTest)

View File

@ -30,6 +30,7 @@ class AutoTypePlatformTest : public QObject,
public AutoTypeTestInterface
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.keepassx.AutoTypePlatformInterface")
Q_INTERFACES(AutoTypePlatformInterface AutoTypeTestInterface)
public:

View File

@ -769,5 +769,3 @@ int AutoTypePlatformX11::initialTimeout()
{
return 500;
}
Q_EXPORT_PLUGIN2(keepassx-autotype-x11, AutoTypePlatformX11)

View File

@ -38,6 +38,7 @@
class AutoTypePlatformX11 : public QObject, public AutoTypePlatformInterface
{
Q_OBJECT
Q_PLUGIN_METADATA(IID "org.keepassx.AutoTypePlatformX11")
Q_INTERFACES(AutoTypePlatformInterface)
public: