diff options
Diffstat (limited to 'src/assistant/help/qhelpenginecore.h')
-rw-r--r-- | src/assistant/help/qhelpenginecore.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/assistant/help/qhelpenginecore.h b/src/assistant/help/qhelpenginecore.h index df95c512f..dc4cd7695 100644 --- a/src/assistant/help/qhelpenginecore.h +++ b/src/assistant/help/qhelpenginecore.h @@ -58,6 +58,7 @@ class QHELP_EXPORT QHelpEngineCore : public QObject Q_OBJECT Q_PROPERTY(bool autoSaveFilter READ autoSaveFilter WRITE setAutoSaveFilter) Q_PROPERTY(QString collectionFile READ collectionFile WRITE setCollectionFile) + Q_PROPERTY(bool readOnly READ isReadOnly WRITE setReadOnly) #if QT_DEPRECATED_SINCE(5, 15) Q_PROPERTY(QString currentFilter READ currentFilter WRITE setCurrentFilter) #endif @@ -66,6 +67,9 @@ public: explicit QHelpEngineCore(const QString &collectionFile, QObject *parent = nullptr); virtual ~QHelpEngineCore(); + bool isReadOnly() const; + void setReadOnly(bool enable); + QHelpFilterEngine *filterEngine() const; bool setupData(); |