mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-30 18:18:35 -04:00
Port to Qt 5 plugin system.
This commit is contained in:
parent
208b0f39e6
commit
9e05f41747
4 changed files with 2 additions and 4 deletions
|
@ -117,5 +117,3 @@ void AutoTypeExecturorTest::execKey(AutoTypeKey* action)
|
||||||
{
|
{
|
||||||
m_platform->addActionKey(action);
|
m_platform->addActionKey(action);
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_EXPORT_PLUGIN2(keepassx-autotype-test, AutoTypePlatformTest)
|
|
||||||
|
|
|
@ -30,6 +30,7 @@ class AutoTypePlatformTest : public QObject,
|
||||||
public AutoTypeTestInterface
|
public AutoTypeTestInterface
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
Q_PLUGIN_METADATA(IID "org.keepassx.AutoTypePlatformInterface")
|
||||||
Q_INTERFACES(AutoTypePlatformInterface AutoTypeTestInterface)
|
Q_INTERFACES(AutoTypePlatformInterface AutoTypeTestInterface)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -769,5 +769,3 @@ int AutoTypePlatformX11::initialTimeout()
|
||||||
{
|
{
|
||||||
return 500;
|
return 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_EXPORT_PLUGIN2(keepassx-autotype-x11, AutoTypePlatformX11)
|
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
class AutoTypePlatformX11 : public QObject, public AutoTypePlatformInterface
|
class AutoTypePlatformX11 : public QObject, public AutoTypePlatformInterface
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
Q_PLUGIN_METADATA(IID "org.keepassx.AutoTypePlatformX11")
|
||||||
Q_INTERFACES(AutoTypePlatformInterface)
|
Q_INTERFACES(AutoTypePlatformInterface)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue