mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-28 00:39:43 -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;
|
||||
}
|
||||
|
||||
void AutoType::performGlobalAutoType(const QList<Database*> dbList)
|
||||
void AutoType::performGlobalAutoType(const QList<Database*>& dbList)
|
||||
{
|
||||
if (m_inAutoType || !m_plugin) {
|
||||
return;
|
||||
|
@ -38,7 +38,6 @@ public:
|
||||
QStringList windowTitles();
|
||||
void performAutoType(const Entry* entry, QWidget* hideWindow = Q_NULLPTR,
|
||||
const QString& customSequence = QString());
|
||||
void performGlobalAutoType(const QList<Database*> dbList);
|
||||
bool registerGlobalShortcut(Qt::Key key, Qt::KeyboardModifiers modifiers);
|
||||
void unregisterGlobalShortcut();
|
||||
int callEventFilter(void* event);
|
||||
@ -49,6 +48,9 @@ public:
|
||||
|
||||
static AutoType* instance();
|
||||
|
||||
public Q_SLOTS:
|
||||
void performGlobalAutoType(const QList<Database*>& dbList);
|
||||
|
||||
Q_SIGNALS:
|
||||
void globalShortcutTriggered();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user