Commit 102c2c96 authored by Laurent Montel's avatar Laurent Montel 😁

improve

parent b23513c7
......@@ -16,12 +16,19 @@
*/
#include "testmailwebengine.h"
#include <KActionCollection>
#include <QApplication>
#include <QVBoxLayout>
#include <viewer/webengine/mailwebengineview.h>
TestMailWebEngine::TestMailWebEngine(QWidget *parent)
: QWidget(parent)
{
QVBoxLayout *vbox = new QVBoxLayout(this);
mTestWebEngine = new MessageViewer::MailWebEngineView(new KActionCollection(this), this);
vbox->addWidget(mTestWebEngine);
}
TestMailWebEngine::~TestMailWebEngine()
......
......@@ -20,12 +20,19 @@
#include <QWidget>
namespace MessageViewer
{
class MailWebEngineView;
}
class TestMailWebEngine : public QWidget
{
Q_OBJECT
public:
explicit TestMailWebEngine(QWidget *parent = Q_NULLPTR);
~TestMailWebEngine();
private:
MessageViewer::MailWebEngineView *mTestWebEngine;
};
#endif // TESTMAILWEBENGINE_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