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
KDE PIM Add-ons
Commits
bf88dd45
Commit
bf88dd45
authored
Sep 23, 2020
by
Laurent Montel
😁
Browse files
Use new widget
parent
45b2b215
Pipeline
#35317
failed with stage
in 123 minutes and 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
plugins/messageviewerconfigureplugins/foldersettings/folderconfiguresettingsgeneralwidget.cpp
View file @
bf88dd45
...
...
@@ -14,7 +14,11 @@ FolderConfigureSettingsGeneralWidget::FolderConfigureSettingsGeneralWidget(QWidg
QVBoxLayout
*
mainLayout
=
new
QVBoxLayout
(
this
);
mainLayout
->
setObjectName
(
QStringLiteral
(
"mainLayout"
));
mainLayout
->
setContentsMargins
(
0
,
0
,
0
,
0
);
//TODO
mCollectionGeneralWidget
=
new
MailCommon
::
CollectionGeneralWidget
(
this
);
mCollectionGeneralWidget
->
setObjectName
(
QStringLiteral
(
"mCollectionGeneralWidget"
));
mainLayout
->
addWidget
(
mCollectionGeneralWidget
);
mainLayout
->
addStretch
();
}
FolderConfigureSettingsGeneralWidget
::~
FolderConfigureSettingsGeneralWidget
()
...
...
@@ -26,3 +30,4 @@ void FolderConfigureSettingsGeneralWidget::save()
{
}
plugins/messageviewerconfigureplugins/foldersettings/folderconfiguresettingsgeneralwidget.h
View file @
bf88dd45
...
...
@@ -9,7 +9,9 @@
#include <QWidget>
#include "folderconfiguresettings_private_export.h"
namespace
MailCommon
{
class
CollectionGeneralWidget
;
}
class
LIBFOLDERCONFIGURESETTINGS_TESTS_EXPORT
FolderConfigureSettingsGeneralWidget
:
public
QWidget
{
Q_OBJECT
...
...
@@ -17,6 +19,8 @@ public:
explicit
FolderConfigureSettingsGeneralWidget
(
QWidget
*
parent
=
nullptr
);
~
FolderConfigureSettingsGeneralWidget
();
void
save
();
private:
MailCommon
::
CollectionGeneralWidget
*
mCollectionGeneralWidget
=
nullptr
;
};
#endif // FOLDERCONFIGURESETTINGSGENERALWIDGET_H
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