summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-03-27 12:42:31 +0200
committerMontel Laurent <[email protected]>2016-03-27 12:42:31 +0200
commitb596aceabacd915fbecb3e25092593b793efdae3 (patch)
tree3dae27cdbbd6a60beb20373b232460a8b1fc3aad
parent20435295678b6c78de3e22501ff3cdb79ac3d4e9 (diff)
Improve it
-rw-r--r--composereditorwebengine/src/composerwebenginewidget.cpp19
1 files changed, 17 insertions, 2 deletions
diff --git a/composereditorwebengine/src/composerwebenginewidget.cpp b/composereditorwebengine/src/composerwebenginewidget.cpp
index f7845b6..3d1f2fb 100644
--- a/composereditorwebengine/src/composerwebenginewidget.cpp
+++ b/composereditorwebengine/src/composerwebenginewidget.cpp
@@ -18,21 +18,35 @@
*/
#include "composerwebenginewidget.h"
+#include "composerwebengine.h"
+
+#include <QVBoxLayout>
using namespace ComposerEditorWebEngine;
class ComposerEditorWebEngine::ComposerWebEngineWidgetPrivate
{
public:
- ComposerWebEngineWidgetPrivate()
+ ComposerWebEngineWidgetPrivate(ComposerWebEngineWidget *qq)
+ : webEngine(Q_NULLPTR),
+ q(qq)
{
}
+ void initialize();
+ ComposerWebEngine *webEngine;
+ ComposerWebEngineWidget *q;
};
+void ComposerWebEngineWidgetPrivate::initialize()
+{
+
+
+}
+
ComposerWebEngineWidget::ComposerWebEngineWidget(QWidget *parent)
: QWidget(parent),
- d(new ComposerEditorWebEngine::ComposerWebEngineWidgetPrivate)
+ d(new ComposerEditorWebEngine::ComposerWebEngineWidgetPrivate(this))
{
}
@@ -41,3 +55,4 @@ ComposerWebEngineWidget::~ComposerWebEngineWidget()
{
delete d;
}
+