mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-28 07:17:08 -05:00
Make AutoType::performGlobalAutoType() a slot.
This commit is contained in:
parent
651c00239a
commit
fa51f7e10e
@ -125,7 +125,7 @@ void AutoType::performAutoType(const Entry* entry, QWidget* hideWindow, const QS
|
|||||||
m_inAutoType = false;
|
m_inAutoType = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AutoType::performGlobalAutoType(const QList<Database*> dbList)
|
void AutoType::performGlobalAutoType(const QList<Database*>& dbList)
|
||||||
{
|
{
|
||||||
if (m_inAutoType || !m_plugin) {
|
if (m_inAutoType || !m_plugin) {
|
||||||
return;
|
return;
|
||||||
|
@ -38,7 +38,6 @@ public:
|
|||||||
QStringList windowTitles();
|
QStringList windowTitles();
|
||||||
void performAutoType(const Entry* entry, QWidget* hideWindow = Q_NULLPTR,
|
void performAutoType(const Entry* entry, QWidget* hideWindow = Q_NULLPTR,
|
||||||
const QString& customSequence = QString());
|
const QString& customSequence = QString());
|
||||||
void performGlobalAutoType(const QList<Database*> dbList);
|
|
||||||
bool registerGlobalShortcut(Qt::Key key, Qt::KeyboardModifiers modifiers);
|
bool registerGlobalShortcut(Qt::Key key, Qt::KeyboardModifiers modifiers);
|
||||||
void unregisterGlobalShortcut();
|
void unregisterGlobalShortcut();
|
||||||
int callEventFilter(void* event);
|
int callEventFilter(void* event);
|
||||||
@ -49,6 +48,9 @@ public:
|
|||||||
|
|
||||||
static AutoType* instance();
|
static AutoType* instance();
|
||||||
|
|
||||||
|
public Q_SLOTS:
|
||||||
|
void performGlobalAutoType(const QList<Database*>& dbList);
|
||||||
|
|
||||||
Q_SIGNALS:
|
Q_SIGNALS:
|
||||||
void globalShortcutTriggered();
|
void globalShortcutTriggered();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user