summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/markdowneditor/document.h
diff options
context:
space:
mode:
authorYigit Akcay <yigit.akcay@qt.io>2023-03-23 16:12:06 +0100
committerYigit Akcay <yigit.akcay@qt.io>2023-04-05 14:19:20 +0200
commitfe9d72d931f40eafca97c1012c03e24561c973ff (patch)
tree08e36634557eadae962bb56b82137294a384879c /examples/webenginewidgets/markdowneditor/document.h
parent88ef502099d535823156c31e77251dd2a723ad1c (diff)
Merge recipe browser, stylesheet browser and markdown editor examples
This patch merges the qtwebengine examples recipe browser, stylesheet browser and markdown editor into one single example. Pick-to: 6.5 Task-number: QTBUG-108751 Change-Id: I338707d7d3275b03bf2a2d7b65064ac91e562d7f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'examples/webenginewidgets/markdowneditor/document.h')
-rw-r--r--examples/webenginewidgets/markdowneditor/document.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/examples/webenginewidgets/markdowneditor/document.h b/examples/webenginewidgets/markdowneditor/document.h
deleted file mode 100644
index f4eabbdaa..000000000
--- a/examples/webenginewidgets/markdowneditor/document.h
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (C) 2016 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-
-#ifndef DOCUMENT_H
-#define DOCUMENT_H
-
-#include <QObject>
-#include <QString>
-
-class Document : public QObject
-{
- Q_OBJECT
- Q_PROPERTY(QString text MEMBER m_text NOTIFY textChanged FINAL)
-public:
- explicit Document(QObject *parent = nullptr) : QObject(parent) {}
-
- void setText(const QString &text);
-
-signals:
- void textChanged(const QString &text);
-
-private:
- QString m_text;
-};
-
-#endif // DOCUMENT_H