summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/helpitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/coreplugin/helpitem.h')
-rw-r--r--src/plugins/coreplugin/helpitem.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/coreplugin/helpitem.h b/src/plugins/coreplugin/helpitem.h
index c258eed0d8..3bcd4da4f8 100644
--- a/src/plugins/coreplugin/helpitem.h
+++ b/src/plugins/coreplugin/helpitem.h
@@ -79,19 +79,21 @@ public:
bool isEmpty() const;
bool isValid() const;
- QString extractContent(bool extended) const;
-
+ QString firstParagraph() const;
const Links &links() const;
const Links bestLinks() const;
const QString keyword() const;
bool isFuzzyMatch() const;
private:
+ QString extractContent(bool extended) const;
+
QUrl m_helpUrl;
QStringList m_helpIds;
QString m_docMark;
Category m_category = Unknown;
mutable Utils::optional<Links> m_helpLinks; // cached help links
+ mutable Utils::optional<QString> m_firstParagraph;
mutable QString m_keyword;
mutable bool m_isFuzzyMatch = false;
};