Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
PIM MailCommon
Commits
8f62273b
Commit
8f62273b
authored
Sep 24, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to hide ExpireNowButton
parent
64c1d63b
Pipeline
#35451
passed with stage
in 50 minutes and 30 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
src/collectionpage/collectionexpirywidget.cpp
src/collectionpage/collectionexpirywidget.cpp
+5
-0
src/collectionpage/collectionexpirywidget.h
src/collectionpage/collectionexpirywidget.h
+1
-0
No files found.
CMakeLists.txt
View file @
8f62273b
cmake_minimum_required
(
VERSION 3.5
)
set
(
PIM_VERSION
"5.15.4
6
"
)
set
(
PIM_VERSION
"5.15.4
7
"
)
project
(
mailcommon VERSION
${
PIM_VERSION
}
)
...
...
src/collectionpage/collectionexpirywidget.cpp
View file @
8f62273b
...
...
@@ -101,6 +101,11 @@ CollectionExpiryWidget::~CollectionExpiryWidget()
{
}
void
CollectionExpiryWidget
::
hideExpireNowButton
()
{
expireNowPB
->
setVisible
(
false
);
}
void
CollectionExpiryWidget
::
slotChanged
()
{
Q_EMIT
configChanged
();
...
...
src/collectionpage/collectionexpirywidget.h
View file @
8f62273b
...
...
@@ -49,6 +49,7 @@ public:
void
save
(
Akonadi
::
Collection
&
collection
,
bool
saveSettings
,
bool
expireNow
);
void
save
(
const
CollectionExpirySettings
&
collectionExpirySettings
,
Akonadi
::
Collection
&
collection
,
bool
saveSettings
,
bool
expireNow
);
Q_REQUIRED_RESULT
CollectionExpirySettings
settings
()
const
;
void
hideExpireNowButton
();
Q_SIGNALS:
void
saveAndExpireRequested
();
void
configChanged
(
bool
changed
=
true
);
...
...
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