mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-16 09:47:18 -05:00
spelling: executor
This commit is contained in:
parent
ca8ddd5f39
commit
4ea6faae81
src/autotype
@ -65,7 +65,7 @@ int AutoTypePlatformTest::platformEventFilter(void* event)
|
|||||||
|
|
||||||
AutoTypeExecutor* AutoTypePlatformTest::createExecutor()
|
AutoTypeExecutor* AutoTypePlatformTest::createExecutor()
|
||||||
{
|
{
|
||||||
return new AutoTypeExecturorTest(this);
|
return new AutoTypeExecutorTest(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AutoTypePlatformTest::setActiveWindowTitle(const QString& title)
|
void AutoTypePlatformTest::setActiveWindowTitle(const QString& title)
|
||||||
@ -127,17 +127,17 @@ bool AutoTypePlatformTest::raiseOwnWindow()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
AutoTypeExecturorTest::AutoTypeExecturorTest(AutoTypePlatformTest* platform)
|
AutoTypeExecutorTest::AutoTypeExecutorTest(AutoTypePlatformTest* platform)
|
||||||
: m_platform(platform)
|
: m_platform(platform)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void AutoTypeExecturorTest::execChar(AutoTypeChar* action)
|
void AutoTypeExecutorTest::execChar(AutoTypeChar* action)
|
||||||
{
|
{
|
||||||
m_platform->addActionChar(action);
|
m_platform->addActionChar(action);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AutoTypeExecturorTest::execKey(AutoTypeKey* action)
|
void AutoTypeExecutorTest::execKey(AutoTypeKey* action)
|
||||||
{
|
{
|
||||||
m_platform->addActionKey(action);
|
m_platform->addActionKey(action);
|
||||||
}
|
}
|
||||||
|
@ -69,10 +69,10 @@ private:
|
|||||||
QString m_actionChars;
|
QString m_actionChars;
|
||||||
};
|
};
|
||||||
|
|
||||||
class AutoTypeExecturorTest : public AutoTypeExecutor
|
class AutoTypeExecutorTest : public AutoTypeExecutor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit AutoTypeExecturorTest(AutoTypePlatformTest* platform);
|
explicit AutoTypeExecutorTest(AutoTypePlatformTest* platform);
|
||||||
|
|
||||||
void execChar(AutoTypeChar* action) override;
|
void execChar(AutoTypeChar* action) override;
|
||||||
void execKey(AutoTypeKey* action) override;
|
void execKey(AutoTypeKey* action) override;
|
||||||
|
@ -247,7 +247,7 @@ int AutoTypePlatformX11::platformEventFilter(void* event)
|
|||||||
|
|
||||||
AutoTypeExecutor* AutoTypePlatformX11::createExecutor()
|
AutoTypeExecutor* AutoTypePlatformX11::createExecutor()
|
||||||
{
|
{
|
||||||
return new AutoTypeExecturorX11(this);
|
return new AutoTypeExecutorX11(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
QString AutoTypePlatformX11::windowTitle(Window window, bool useBlacklist)
|
QString AutoTypePlatformX11::windowTitle(Window window, bool useBlacklist)
|
||||||
@ -823,17 +823,17 @@ int AutoTypePlatformX11::MyErrorHandler(Display* my_dpy, XErrorEvent* event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
AutoTypeExecturorX11::AutoTypeExecturorX11(AutoTypePlatformX11* platform)
|
AutoTypeExecutorX11::AutoTypeExecutorX11(AutoTypePlatformX11* platform)
|
||||||
: m_platform(platform)
|
: m_platform(platform)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void AutoTypeExecturorX11::execChar(AutoTypeChar* action)
|
void AutoTypeExecutorX11::execChar(AutoTypeChar* action)
|
||||||
{
|
{
|
||||||
m_platform->SendKeyPressedEvent(m_platform->charToKeySym(action->character));
|
m_platform->SendKeyPressedEvent(m_platform->charToKeySym(action->character));
|
||||||
}
|
}
|
||||||
|
|
||||||
void AutoTypeExecturorX11::execKey(AutoTypeKey* action)
|
void AutoTypeExecutorX11::execKey(AutoTypeKey* action)
|
||||||
{
|
{
|
||||||
m_platform->SendKeyPressedEvent(m_platform->keyToKeySym(action->key));
|
m_platform->SendKeyPressedEvent(m_platform->keyToKeySym(action->key));
|
||||||
}
|
}
|
||||||
|
@ -119,10 +119,10 @@ private:
|
|||||||
bool m_loaded;
|
bool m_loaded;
|
||||||
};
|
};
|
||||||
|
|
||||||
class AutoTypeExecturorX11 : public AutoTypeExecutor
|
class AutoTypeExecutorX11 : public AutoTypeExecutor
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
explicit AutoTypeExecturorX11(AutoTypePlatformX11* platform);
|
explicit AutoTypeExecutorX11(AutoTypePlatformX11* platform);
|
||||||
|
|
||||||
void execChar(AutoTypeChar* action) override;
|
void execChar(AutoTypeChar* action) override;
|
||||||
void execKey(AutoTypeKey* action) override;
|
void execKey(AutoTypeKey* action) override;
|
||||||
|
Loading…
Reference in New Issue
Block a user