Make AutoType::performGlobalAutoType() a slot.

This commit is contained in:
Felix Geyer 2012-07-14 19:06:05 +02:00
parent 651c00239a
commit fa51f7e10e
2 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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();