summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-03-27 09:59:06 +0200
committerMontel Laurent <[email protected]>2016-03-27 09:59:06 +0200
commit20435295678b6c78de3e22501ff3cdb79ac3d4e9 (patch)
treee9bb92e30231462eb21d70ba6f9f3c5bb29dfe5b
parent6d352eebc501ea4301fad099889bf3e18a7f4c05 (diff)
Add composerwebenginewidget.cpp
-rw-r--r--composereditorwebengine/src/CMakeLists.txt1
-rw-r--r--composereditorwebengine/src/composerwebenginewidget.cpp43
-rw-r--r--composereditorwebengine/src/composerwebenginewidget.h39
3 files changed, 83 insertions, 0 deletions
diff --git a/composereditorwebengine/src/CMakeLists.txt b/composereditorwebengine/src/CMakeLists.txt
index d180e00..c9f6008 100644
--- a/composereditorwebengine/src/CMakeLists.txt
+++ b/composereditorwebengine/src/CMakeLists.txt
@@ -11,6 +11,7 @@ set(libcomposereditor_webengine_SRCS
image/composerimageresizetooltip.cpp
#image/composerimageresizewidget.cpp
widgets/findreplacebar.cpp
+ composerwebenginewidget.cpp
)
ecm_qt_declare_logging_category(libcomposereditor_webengine_SRCS HEADER composereditorwebengine_debug.h IDENTIFIER COMPOSEREDITORWEBENGINE_LOG CATEGORY_NAME log_composereditorwebengine)
diff --git a/composereditorwebengine/src/composerwebenginewidget.cpp b/composereditorwebengine/src/composerwebenginewidget.cpp
new file mode 100644
index 0000000..f7845b6
--- /dev/null
+++ b/composereditorwebengine/src/composerwebenginewidget.cpp
@@ -0,0 +1,43 @@
+/*
+ Copyright (c) 2016 Montel Laurent <[email protected]>
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Library General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or (at your
+ option) any later version.
+
+ This library is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+ License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to the
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+*/
+
+#include "composerwebenginewidget.h"
+
+using namespace ComposerEditorWebEngine;
+
+class ComposerEditorWebEngine::ComposerWebEngineWidgetPrivate
+{
+public:
+ ComposerWebEngineWidgetPrivate()
+ {
+
+ }
+};
+
+ComposerWebEngineWidget::ComposerWebEngineWidget(QWidget *parent)
+ : QWidget(parent),
+ d(new ComposerEditorWebEngine::ComposerWebEngineWidgetPrivate)
+{
+
+}
+
+ComposerWebEngineWidget::~ComposerWebEngineWidget()
+{
+ delete d;
+}
diff --git a/composereditorwebengine/src/composerwebenginewidget.h b/composereditorwebengine/src/composerwebenginewidget.h
new file mode 100644
index 0000000..3916846
--- /dev/null
+++ b/composereditorwebengine/src/composerwebenginewidget.h
@@ -0,0 +1,39 @@
+/*
+ Copyright (c) 2016 Montel Laurent <[email protected]>
+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Library General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or (at your
+ option) any later version.
+
+ This library is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
+ License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to the
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+ 02110-1301, USA.
+*/
+
+#ifndef COMPOSERWEBENGINEWIDGET_H
+#define COMPOSERWEBENGINEWIDGET_H
+
+#include <QWidget>
+
+namespace ComposerEditorWebEngine
+{
+class ComposerWebEngineWidgetPrivate;
+class ComposerWebEngineWidget : public QWidget
+{
+ Q_OBJECT
+public:
+ explicit ComposerWebEngineWidget(QWidget *parent = Q_NULLPTR);
+ ~ComposerWebEngineWidget();
+private:
+ ComposerWebEngineWidgetPrivate *const d;
+};
+}
+
+#endif // COMPOSERWEBENGINEWIDGET_H