summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-06-03 11:36:33 +0200
committerMontel Laurent <[email protected]>2017-06-03 11:36:33 +0200
commit5261e1ac7f9c0790411f3ab6dfda020e169d335c (patch)
tree4f02fc8bd688d6fb553ba01bb5524ef86884ebc8
parent7d9137bec56bd207ede6b17e66d58ac7c9ce813a (diff)
Start to implement support regexp require
-rw-r--r--src/ksieveui/autocreatescripts/commonwidgets/selectmatchtypecombobox.cpp6
-rw-r--r--src/ksieveui/autocreatescripts/commonwidgets/selectmatchtypecombobox.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ksieveui/autocreatescripts/commonwidgets/selectmatchtypecombobox.cpp b/src/ksieveui/autocreatescripts/commonwidgets/selectmatchtypecombobox.cpp
index c1ef232..ac7012d 100644
--- a/src/ksieveui/autocreatescripts/commonwidgets/selectmatchtypecombobox.cpp
+++ b/src/ksieveui/autocreatescripts/commonwidgets/selectmatchtypecombobox.cpp
@@ -79,3 +79,9 @@ void SelectMatchTypeComboBox::setCode(const QString &code, const QString &name,
setCurrentIndex(0);
}
}
+
+QStringList SelectMatchTypeComboBox::needRequires() const
+{
+ //TODO
+ return {};
+}
diff --git a/src/ksieveui/autocreatescripts/commonwidgets/selectmatchtypecombobox.h b/src/ksieveui/autocreatescripts/commonwidgets/selectmatchtypecombobox.h
index f820e39..45f43cc 100644
--- a/src/ksieveui/autocreatescripts/commonwidgets/selectmatchtypecombobox.h
+++ b/src/ksieveui/autocreatescripts/commonwidgets/selectmatchtypecombobox.h
@@ -34,6 +34,7 @@ public:
bool isNegative() const;
void setCode(const QString &code, const QString &name, QString &error);
+ QStringList needRequires() const;
Q_SIGNALS:
void valueChanged();
void switchToRegexp(bool useReg);