mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
const&
svn path=/trunk/playground/graphics/okular/; revision=594961
This commit is contained in:
parent
c42348edaa
commit
08877db01b
|
@ -157,7 +157,7 @@ ObjectRect::ObjectRect( double l, double t, double r, double b, bool ellipse, Ob
|
|||
m_path.addRect( rect );
|
||||
}
|
||||
|
||||
ObjectRect::ObjectRect( NormalizedRect x, bool ellipse, ObjectType type, void * pnt )
|
||||
ObjectRect::ObjectRect( const NormalizedRect& x, bool ellipse, ObjectType type, void * pnt )
|
||||
: m_objectType( type ), m_pointer( pnt )
|
||||
{
|
||||
QRectF rect( x.left, x.top, fabs( x.right - x.left ), fabs( x.bottom - x.top ) );
|
||||
|
|
|
@ -88,7 +88,7 @@ class OKULAR_EXPORT ObjectRect
|
|||
|
||||
// default constructor: initialize all parameters
|
||||
ObjectRect( double l, double t, double r, double b, bool ellipse, ObjectType typ, void * obj );
|
||||
ObjectRect( NormalizedRect x, bool ellipse, ObjectType type, void * pnt ) ;
|
||||
ObjectRect( const NormalizedRect& x, bool ellipse, ObjectType type, void * pnt ) ;
|
||||
ObjectRect( const QPolygonF &poly, ObjectType type, void * pnt ) ;
|
||||
virtual ~ObjectRect();
|
||||
|
||||
|
|
Loading…
Reference in a new issue