From d81d4aedd954634f6054791aa97b592925da9dbb Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Mon, 3 Sep 2007 23:01:57 +0000 Subject: [PATCH] small api fixup ('const QContainer' it's pointless as return value) svn path=/trunk/KDE/kdegraphics/okular/; revision=708147 --- core/page.cpp | 4 ++-- core/page.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/page.cpp b/core/page.cpp index cf2f38099..82e4b46a6 100644 --- a/core/page.cpp +++ b/core/page.cpp @@ -344,7 +344,7 @@ const PageTransition * Page::transition() const return d->m_transition; } -const QLinkedList< Annotation* > Page::annotations() const +QLinkedList< Annotation* > Page::annotations() const { return m_annotations; } @@ -364,7 +364,7 @@ const Action * Page::pageAction( PageAction action ) const return 0; } -const QLinkedList< FormField * > Page::formFields() const +QLinkedList< FormField * > Page::formFields() const { return d->formfields; } diff --git a/core/page.h b/core/page.h index 8e96b052a..07a5d61b2 100644 --- a/core/page.h +++ b/core/page.h @@ -180,7 +180,7 @@ class OKULAR_EXPORT Page /** * Returns the list of annotations of the page. */ - const QLinkedList< Annotation* > annotations() const; + QLinkedList< Annotation* > annotations() const; /** * Returns the @ref Action object which is associated with the given page @p action @@ -191,7 +191,7 @@ class OKULAR_EXPORT Page /** * Returns the list of FormField of the page. */ - const QLinkedList< FormField * > formFields() const; + QLinkedList< FormField * > formFields() const; /** * Sets the @p pixmap for the observer with the given @p id.