From 2f014ccd20238ba58c2d271a6d8e95371e5ef865 Mon Sep 17 00:00:00 2001 From: Yuri Chornoivan Date: Thu, 18 Oct 2018 22:04:49 +0300 Subject: [PATCH] Fix minor EBN issues --- core/bookmarkmanager.h | 2 +- core/document.h | 4 ++-- core/generator.h | 4 ++-- core/page_p.h | 4 ++-- generators/dvi/dviRenderer.h | 2 +- generators/xps/generator_xps.cpp | 2 +- ui/fileprinterpreview.h | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/core/bookmarkmanager.h b/core/bookmarkmanager.h index fc07b3a3b..9a0a63c1c 100644 --- a/core/bookmarkmanager.h +++ b/core/bookmarkmanager.h @@ -91,7 +91,7 @@ class OKULARCORE_EXPORT BookmarkManager : public QObject * Adds a new bookmark for the @p referurl at the specified viewport @p vp, * with an optional @p title. * - * If no @p title is specified, then \em #n will be used. + * If no @p title is specified, then \em \#n will be used. */ bool addBookmark( const QUrl& referurl, const Okular::DocumentViewport& vp, const QString& title = QString() ); diff --git a/core/document.h b/core/document.h index 7651291b5..9d5410175 100644 --- a/core/document.h +++ b/core/document.h @@ -526,7 +526,7 @@ class OKULARCORE_EXPORT Document : public QObject * Translates the position of the given @p annotation on the given @p page by a distance @p delta in normalized coordinates. * * Consecutive translations applied to the same @p annotation are merged together on the undo stack if the - * BeingMoved flag is set on the @P annotation. + * BeingMoved flag is set on the @p annotation. * * @since 0.17 (KDE 4.11) */ @@ -540,7 +540,7 @@ class OKULARCORE_EXPORT Document : public QObject * @p delta2 in normalized coordinates is added to bottom-right. * * Consecutive adjustments applied to the same @p annotation are merged together on the undo stack if the - * BeingResized flag is set on the @P annotation. + * BeingResized flag is set on the @p annotation. * * @since 1.1.0 */ diff --git a/core/generator.h b/core/generator.h index b989a55de..975410bc5 100644 --- a/core/generator.h +++ b/core/generator.h @@ -348,7 +348,7 @@ class OKULARCORE_EXPORT Generator : public QObject virtual const DocumentSynopsis * generateDocumentSynopsis(); /** - * Returns the 'list of embedded fonts' object of the specified \page + * Returns the 'list of embedded fonts' object of the specified \p page * of the document. * * \param page a page of the document, starting from 0 - -1 indicates all @@ -378,7 +378,7 @@ class OKULARCORE_EXPORT Generator : public QObject virtual PageSizeMetric pagesSizeMetric() const; /** - * This method returns whether given @p action (@ref Permission) is + * This method returns whether given @p action (@ref Permission ) is * allowed in this document. */ virtual bool isAllowed( Permission action ) const; diff --git a/core/page_p.h b/core/page_p.h index c456f485d..2d27adb63 100644 --- a/core/page_p.h +++ b/core/page_p.h @@ -114,12 +114,12 @@ class PagePrivate void deleteTextSelections(); /** - * Get the tiles manager for the tiled @observer + * Get the tiles manager for the tiled @p observer */ TilesManager *tilesManager( const DocumentObserver *observer ) const; /** - * Set the tiles manager for the tiled @observer + * Set the tiles manager for the tiled @p observer */ void setTilesManager( const DocumentObserver *observer, TilesManager *tm ); diff --git a/generators/dvi/dviRenderer.h b/generators/dvi/dviRenderer.h index 189039ec2..7e01bcb00 100644 --- a/generators/dvi/dviRenderer.h +++ b/generators/dvi/dviRenderer.h @@ -114,7 +114,7 @@ public: /** This method will try to parse the reference part of the DVI file's URL, (either a number, which is supposed to be a page - number, or src:) and see if a corresponding + number, or src:\\) and see if a corresponding section of the DVI file can be found. If so, it returns an anchor to that section. If not, it returns an invalid anchor. */ virtual Anchor parseReference(const QString &reference); diff --git a/generators/xps/generator_xps.cpp b/generators/xps/generator_xps.cpp index 1aa20513e..d4f022ee5 100644 --- a/generators/xps/generator_xps.cpp +++ b/generators/xps/generator_xps.cpp @@ -707,7 +707,7 @@ static void applySpreadStyleToQGradient( const QString &style, QGradient *qgrad /** Read an UnicodeString - \param string the raw value of UnicodeString + \param raw the raw value of UnicodeString \see XPS specification 5.1.4 */ diff --git a/ui/fileprinterpreview.h b/ui/fileprinterpreview.h index 2287f7687..58bca4bb0 100644 --- a/ui/fileprinterpreview.h +++ b/ui/fileprinterpreview.h @@ -29,7 +29,7 @@ public: /** * Create a Print Preview dialog for a given file. * - * @param printer file to print preview + * @param filename file to print preview * @param parent pointer to the parent widget for the dialog */ explicit FilePrinterPreview( const QString &filename, QWidget *parent = nullptr );