Commit bf88dd45 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use new widget

parent 45b2b215
Pipeline #35317 failed with stage
in 123 minutes and 55 seconds
...@@ -14,7 +14,11 @@ FolderConfigureSettingsGeneralWidget::FolderConfigureSettingsGeneralWidget(QWidg ...@@ -14,7 +14,11 @@ FolderConfigureSettingsGeneralWidget::FolderConfigureSettingsGeneralWidget(QWidg
QVBoxLayout *mainLayout = new QVBoxLayout(this); QVBoxLayout *mainLayout = new QVBoxLayout(this);
mainLayout->setObjectName(QStringLiteral("mainLayout")); mainLayout->setObjectName(QStringLiteral("mainLayout"));
mainLayout->setContentsMargins(0, 0, 0, 0); mainLayout->setContentsMargins(0, 0, 0, 0);
//TODO
mCollectionGeneralWidget = new MailCommon::CollectionGeneralWidget(this);
mCollectionGeneralWidget->setObjectName(QStringLiteral("mCollectionGeneralWidget"));
mainLayout->addWidget(mCollectionGeneralWidget);
mainLayout->addStretch();
} }
FolderConfigureSettingsGeneralWidget::~FolderConfigureSettingsGeneralWidget() FolderConfigureSettingsGeneralWidget::~FolderConfigureSettingsGeneralWidget()
...@@ -26,3 +30,4 @@ void FolderConfigureSettingsGeneralWidget::save() ...@@ -26,3 +30,4 @@ void FolderConfigureSettingsGeneralWidget::save()
{ {
} }
...@@ -9,7 +9,9 @@ ...@@ -9,7 +9,9 @@
#include <QWidget> #include <QWidget>
#include "folderconfiguresettings_private_export.h" #include "folderconfiguresettings_private_export.h"
namespace MailCommon {
class CollectionGeneralWidget;
}
class LIBFOLDERCONFIGURESETTINGS_TESTS_EXPORT FolderConfigureSettingsGeneralWidget : public QWidget class LIBFOLDERCONFIGURESETTINGS_TESTS_EXPORT FolderConfigureSettingsGeneralWidget : public QWidget
{ {
Q_OBJECT Q_OBJECT
...@@ -17,6 +19,8 @@ public: ...@@ -17,6 +19,8 @@ public:
explicit FolderConfigureSettingsGeneralWidget(QWidget *parent = nullptr); explicit FolderConfigureSettingsGeneralWidget(QWidget *parent = nullptr);
~FolderConfigureSettingsGeneralWidget(); ~FolderConfigureSettingsGeneralWidget();
void save(); void save();
private:
MailCommon::CollectionGeneralWidget *mCollectionGeneralWidget = nullptr;
}; };
#endif // FOLDERCONFIGURESETTINGSGENERALWIDGET_H #endif // FOLDERCONFIGURESETTINGSGENERALWIDGET_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