[poppler] qt5/src

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 13 20:20:06 UTC 2020


 qt5/src/poppler-annotation.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 3a6c77bc21e4982619ade995564466fbc543d3ac
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Jul 13 22:16:36 2020 +0200

    qt5: Mark AnnotationUtils as deprecated, it's gone in qt6

diff --git a/qt5/src/poppler-annotation.h b/qt5/src/poppler-annotation.h
index 1ad9f7c7..58088199 100644
--- a/qt5/src/poppler-annotation.h
+++ b/qt5/src/poppler-annotation.h
@@ -1,5 +1,5 @@
 /* poppler-annotation.h: qt interface to poppler
- * Copyright (C) 2006-2008, 2012, 2013, 2018, 2019 Albert Astals Cid <aacid at kde.org>
+ * Copyright (C) 2006-2008, 2012, 2013, 2018-2020 Albert Astals Cid <aacid at kde.org>
  * Copyright (C) 2006, 2008 Pino Toscano <pino at kde.org>
  * Copyright (C) 2007, Brad Hards <bradh at frogmouth.net>
  * Copyright (C) 2010, Philip Lorenz <lorenzph+freedesktop at gmail.com>
@@ -80,19 +80,19 @@ public:
      * \returns a pointer to the complete Annotation or 0 if element is
      * invalid.
      */
-    static Annotation *createAnnotation(const QDomElement &annElement);
+    Q_DECL_DEPRECATED static Annotation *createAnnotation(const QDomElement &annElement);
 
     /**
      * Save the Annotation \p ann as a child of \p annElement taking
      * care of saving all revisions if \p ann has any.
      */
-    static void storeAnnotation(const Annotation *ann, QDomElement &annElement, QDomDocument &document);
+    Q_DECL_DEPRECATED static void storeAnnotation(const Annotation *ann, QDomElement &annElement, QDomDocument &document);
 
     /**
      * Returns an element called \p name from the direct children of
      * \p parentNode or a null element if not found.
      */
-    static QDomElement findChildElement(const QDomNode &parentNode, const QString &name);
+    Q_DECL_DEPRECATED static QDomElement findChildElement(const QDomNode &parentNode, const QString &name);
 };
 
 /**


More information about the poppler mailing list