summaryrefslogtreecommitdiffstats
path: root/src/assistant/help/qhelpcontentwidget.h
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2024-02-07 21:27:45 +0100
committerJarek Kobus <jaroslaw.kobus@qt.io>2024-02-08 20:06:41 +0100
commitbde0f68d996a9e336a6bc6de9b58c6583f742071 (patch)
tree427971a9646143c54d9e1e133362489330c9db61 /src/assistant/help/qhelpcontentwidget.h
parente43b7aca8d313df079a3db68390a8309ed92ef43 (diff)
QtHelp: Move QHelpContentItem into a separate file
This is going to be a part of QtHelpCore. Task-number: QTBUG-122025 Change-Id: Id079b13130dad9e661d10f65904fd3ca503c4ed1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/assistant/help/qhelpcontentwidget.h')
-rw-r--r--src/assistant/help/qhelpcontentwidget.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/assistant/help/qhelpcontentwidget.h b/src/assistant/help/qhelpcontentwidget.h
index 430fdf123..8869ff149 100644
--- a/src/assistant/help/qhelpcontentwidget.h
+++ b/src/assistant/help/qhelpcontentwidget.h
@@ -5,37 +5,16 @@
#define QHELPCONTENTWIDGET_H
#include <QtHelp/qhelp_global.h>
-
+#include <QtHelp/qhelpcontentitem.h>
#include <QtWidgets/qtreeview.h>
QT_BEGIN_NAMESPACE
-class QHelpContentItemPrivate;
class QHelpContentModelPrivate;
class QHelpEngine;
class QHelpEngineCore;
class QUrl;
-class QHELP_EXPORT QHelpContentItem
-{
-public:
- ~QHelpContentItem();
-
- QHelpContentItem *child(int row) const;
- int childCount() const;
- QString title() const;
- QUrl url() const;
- int row() const;
- QHelpContentItem *parent() const;
- int childPosition(QHelpContentItem *child) const;
-
-private:
- QHelpContentItem(const QString &name, const QUrl &link, QHelpContentItem *parent = nullptr);
-
- QHelpContentItemPrivate *d;
- friend class QHelpContentProvider;
-};
-
class QHELP_EXPORT QHelpContentModel : public QAbstractItemModel
{
Q_OBJECT