Commit 567decf1 authored by Laurent Montel's avatar Laurent Montel 😁

Continue to implement it

parent dc43511e
......@@ -25,7 +25,8 @@ K_PLUGIN_FACTORY_WITH_JSON(RegexpEditorLineEditFactory, "regexepeditorlineedit.j
RegexpEditorLineEdit::RegexpEditorLineEdit(QWidget *parent, const QList<QVariant> &)
: KSieveUi::AbstractRegexpEditorLineEdit(parent)
: KSieveUi::AbstractRegexpEditorLineEdit(parent),
mIsRegExpMode(false)
{
}
......@@ -37,6 +38,8 @@ RegexpEditorLineEdit::~RegexpEditorLineEdit()
void RegexpEditorLineEdit::switchToRegexpEditorLineEdit()
{
mIsRegExpMode = !mIsRegExpMode;
//TODO update
}
void RegexpEditorLineEdit::setCode(const QString &str)
......
......@@ -33,6 +33,8 @@ public:
void switchToRegexpEditorLineEdit() Q_DECL_OVERRIDE;
void setCode(const QString &str) Q_DECL_OVERRIDE;
QString code() const Q_DECL_OVERRIDE;
private:
bool mIsRegExpMode;
};
#endif // REGEXPEDITORLINEEDIT_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment