svn path=/trunk/playground/graphics/okular/; revision=594961
This commit is contained in:
Pino Toscano 2006-10-12 22:04:26 +00:00
parent c42348edaa
commit 08877db01b
2 changed files with 2 additions and 2 deletions

View file

@ -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 ) );

View file

@ -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();