| 1 | // Copyright (C) 2020 The Qt Company Ltd. |
|---|---|
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 |
| 3 | |
| 4 | #ifndef EXTERNALPAGENODE_H |
| 5 | #define EXTERNALPAGENODE_H |
| 6 | |
| 7 | #include "genustypes.h" |
| 8 | #include "pagenode.h" |
| 9 | |
| 10 | #include <QtCore/qglobal.h> |
| 11 | |
| 12 | QT_BEGIN_NAMESPACE |
| 13 | |
| 14 | class ExternalPageNode : public PageNode |
| 15 | { |
| 16 | public: |
| 17 | ExternalPageNode(Aggregate *parent, const QString &url) |
| 18 | : PageNode(NodeType::ExternalPage, parent, url) |
| 19 | { |
| 20 | setUrl(url); |
| 21 | } |
| 22 | }; |
| 23 | |
| 24 | QT_END_NAMESPACE |
| 25 | |
| 26 | #endif // EXTERNALPAGENODE_H |
| 27 |
