Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
b8906845
Commit
b8906845
authored
Jun 15, 2021
by
Laurent Montel
😁
Browse files
Allow to define existing filter names
parent
51e60a33
Pipeline
#65886
passed with stage
in 40 minutes and 26 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
messagelist/src/core/widgets/filternamedialog.cpp
View file @
b8906845
...
...
@@ -39,3 +39,8 @@ QString FilterNameDialog::filterName() const
{
return
mFilterNameWidget
->
filterName
();
}
void
FilterNameDialog
::
setExistingFilterNames
(
const
QStringList
&
lst
)
{
mFilterNameWidget
->
setExistingFilterNames
(
lst
);
}
messagelist/src/core/widgets/filternamedialog.h
View file @
b8906845
...
...
@@ -23,6 +23,8 @@ public:
Q_REQUIRED_RESULT
QString
filterName
()
const
;
void
setExistingFilterNames
(
const
QStringList
&
lst
);
private:
FilterNameWidget
*
const
mFilterNameWidget
;
};
...
...
messagelist/src/core/widgets/filternamewidget.cpp
View file @
b8906845
...
...
@@ -39,3 +39,8 @@ QString FilterNameWidget::filterName() const
{
return
mName
->
text
();
}
void
FilterNameWidget
::
setExistingFilterNames
(
const
QStringList
&
lst
)
{
mFilterListNames
=
lst
;
}
messagelist/src/core/widgets/filternamewidget.h
View file @
b8906845
...
...
@@ -22,10 +22,12 @@ public:
Q_REQUIRED_RESULT
QString
filterName
()
const
;
void
setExistingFilterNames
(
const
QStringList
&
lst
);
Q_SIGNALS:
void
updateOkButton
(
bool
enabled
);
private:
QStringList
mFilterListNames
;
QLineEdit
*
const
mName
;
};
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment