mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-28 19:28:38 +00:00
small api fix
svn path=/trunk/playground/graphics/okular/; revision=625715
This commit is contained in:
parent
2479bb7cb5
commit
9cda7888d9
2 changed files with 4 additions and 4 deletions
|
@ -392,7 +392,7 @@ void Page::setTextPage( TextPage * textPage )
|
|||
d->m_text = textPage;
|
||||
}
|
||||
|
||||
void Page::setObjectRects( const QLinkedList< ObjectRect * > rects )
|
||||
void Page::setObjectRects( const QLinkedList< ObjectRect * > & rects )
|
||||
{
|
||||
QSet<ObjectRect::ObjectType> which;
|
||||
which << ObjectRect::Link << ObjectRect::Image;
|
||||
|
@ -434,7 +434,7 @@ void Page::setTextSelections( RegularAreaRect *r, const QColor & color )
|
|||
}
|
||||
}
|
||||
|
||||
void Page::setSourceReferences( const QLinkedList< SourceRefObjectRect * > refRects )
|
||||
void Page::setSourceReferences( const QLinkedList< SourceRefObjectRect * > & refRects )
|
||||
{
|
||||
deleteSourceReferences();
|
||||
foreach( SourceRefObjectRect * rect, refRects )
|
||||
|
|
|
@ -215,7 +215,7 @@ class OKULAR_EXPORT Page : public QObject
|
|||
/**
|
||||
* Sets the list of object @p rects of the page.
|
||||
*/
|
||||
void setObjectRects( const QLinkedList< ObjectRect * > rects );
|
||||
void setObjectRects( const QLinkedList< ObjectRect * > & rects );
|
||||
|
||||
/**
|
||||
* Sets the @p color and @p area of the highlight for the observer with
|
||||
|
@ -231,7 +231,7 @@ class OKULAR_EXPORT Page : public QObject
|
|||
/**
|
||||
* Sets the list of source reference objects @p rects.
|
||||
*/
|
||||
void setSourceReferences( const QLinkedList< SourceRefObjectRect * > rects );
|
||||
void setSourceReferences( const QLinkedList< SourceRefObjectRect * > & rects );
|
||||
|
||||
/**
|
||||
* Sets the duration of the page to @p seconds when displayed in presentation mode.
|
||||
|
|
Loading…
Reference in a new issue