summaryrefslogtreecommitdiff
path: root/qt5
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2020-07-13 18:40:24 +0200
committerAlbert Astals Cid <aacid@kde.org>2020-07-13 18:41:08 +0200
commit31731735e1176136b4f853762a4da59e61064f80 (patch)
tree713303d0f99d4908b14efde2b374ca86074f39da /qt5
parent79ee55abfb58c1f3b5f2e8dc68a403908484ef43 (diff)
Deprecated Document::toc in qt5 and remove it in qt6
Use Document::outline instead Allows us to not link to QtXml anymore in qt6
Diffstat (limited to 'qt5')
-rw-r--r--qt5/src/poppler-qt5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt5/src/poppler-qt5.h b/qt5/src/poppler-qt5.h
index 3bcf2e33..5e78c9e5 100644
--- a/qt5/src/poppler-qt5.h
+++ b/qt5/src/poppler-qt5.h
@@ -1706,7 +1706,7 @@ QString subject = m_doc->info("Subject");
\returns the TOC, or NULL if the Document does not have one
*/
- QDomDocument *toc() const;
+ Q_DECL_DEPRECATED QDomDocument *toc() const;
/**
Gets the outline of the document