Fix minor EBN issues

remotes/origin/Applications/18.12
Yuri Chornoivan 8 years ago
parent 6c2acb9afd
commit 2f014ccd20
  1. 2
      core/bookmarkmanager.h
  2. 4
      core/document.h
  3. 4
      core/generator.h
  4. 4
      core/page_p.h
  5. 2
      generators/dvi/dviRenderer.h
  6. 2
      generators/xps/generator_xps.cpp
  7. 2
      ui/fileprinterpreview.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, * Adds a new bookmark for the @p referurl at the specified viewport @p vp,
* with an optional @p title. * 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() ); bool addBookmark( const QUrl& referurl, const Okular::DocumentViewport& vp, const QString& title = QString() );

@ -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. * 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 * 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) * @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. * @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 * 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 * @since 1.1.0
*/ */

@ -348,7 +348,7 @@ class OKULARCORE_EXPORT Generator : public QObject
virtual const DocumentSynopsis * generateDocumentSynopsis(); 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. * of the document.
* *
* \param page a page of the document, starting from 0 - -1 indicates all * \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; 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. * allowed in this document.
*/ */
virtual bool isAllowed( Permission action ) const; virtual bool isAllowed( Permission action ) const;

@ -114,12 +114,12 @@ class PagePrivate
void deleteTextSelections(); 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; 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 ); void setTilesManager( const DocumentObserver *observer, TilesManager *tm );

@ -114,7 +114,7 @@ public:
/** This method will try to parse the reference part of the DVI /** 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 file's URL, (either a number, which is supposed to be a page
number, or src:<line><filename>) and see if a corresponding number, or src:\<line\>\<filename\>) and see if a corresponding
section of the DVI file can be found. If so, it returns an section of the DVI file can be found. If so, it returns an
anchor to that section. If not, it returns an invalid anchor. */ anchor to that section. If not, it returns an invalid anchor. */
virtual Anchor parseReference(const QString &reference); virtual Anchor parseReference(const QString &reference);

@ -707,7 +707,7 @@ static void applySpreadStyleToQGradient( const QString &style, QGradient *qgrad
/** /**
Read an UnicodeString Read an UnicodeString
\param string the raw value of UnicodeString \param raw the raw value of UnicodeString
\see XPS specification 5.1.4 \see XPS specification 5.1.4
*/ */

@ -29,7 +29,7 @@ public:
/** /**
* Create a Print Preview dialog for a given file. * 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 * @param parent pointer to the parent widget for the dialog
*/ */
explicit FilePrinterPreview( const QString &filename, QWidget *parent = nullptr ); explicit FilePrinterPreview( const QString &filename, QWidget *parent = nullptr );

Loading…
Cancel
Save