improve regex filtering

This commit is contained in:
thez3ro
2017-12-28 14:12:17 +01:00
parent 203960b4b5
commit e803076063
4 changed files with 88 additions and 82 deletions

View File

@@ -36,7 +36,7 @@ class AutoType : public QObject
public:
QStringList windowTitles();
void executeAutoType(const Entry* entry,
void executeAutoTypeActions(const Entry* entry,
QWidget* hideWindow = nullptr,
const QString& customSequence = QString(),
WId window = 0);
@@ -45,7 +45,9 @@ public:
int callEventFilter(void* event);
static bool checkSyntax(const QString& string);
static bool checkHighRepetition(const QString& string);
static bool checkSlowKeypress(const QString& string);
static bool checkHighDelay(const QString& string);
static bool verifyAutoTypeSyntax(const QString& sequence);
void performAutoType(const Entry* entry,
QWidget* hideWindow = nullptr,
const QString& customSequence = QString(),