allow only the Document to construct a BookmarkManager

svn path=/trunk/playground/graphics/okular/; revision=620153
remotes/origin/KDE/4.0
Pino Toscano 19 years ago
parent 46632f1f6f
commit 3f8d978f68
  1. 4
      core/bookmarkmanager.h

@ -29,7 +29,6 @@ class OKULAR_EXPORT BookmarkManager : public QObject, public KBookmarkOwner
Q_OBJECT
public:
explicit BookmarkManager( Document * document );
virtual ~BookmarkManager();
virtual QString currentUrl() const;
@ -77,6 +76,9 @@ class OKULAR_EXPORT BookmarkManager : public QObject, public KBookmarkOwner
// private interface used by the Document
friend class Document;
explicit BookmarkManager( Document * document );
void setUrl( const KUrl& url );
bool setPageBookmark( int page );
bool isPageBookmarked( int page ) const;

Loading…
Cancel
Save