diff options
Diffstat (limited to 'kugar/kudesigner_lib/reportitem.cpp')
-rw-r--r-- | kugar/kudesigner_lib/reportitem.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kugar/kudesigner_lib/reportitem.cpp b/kugar/kudesigner_lib/reportitem.cpp index 78446a9e..4ca541df 100644 --- a/kugar/kudesigner_lib/reportitem.cpp +++ b/kugar/kudesigner_lib/reportitem.cpp @@ -121,21 +121,21 @@ TQString ReportItem::getXml() int ReportItem::isInHolder( const TQPoint p ) { - if ( topLeftResizableRect().tqcontains( p ) ) + if ( topLeftResizableRect().contains( p ) ) return ( ResizeTop | ResizeLeft ); - if ( bottomLeftResizableRect().tqcontains( p ) ) + if ( bottomLeftResizableRect().contains( p ) ) return ( ResizeBottom | ResizeLeft ); - if ( leftMiddleResizableRect().tqcontains( p ) ) + if ( leftMiddleResizableRect().contains( p ) ) return ( ResizeLeft ); - if ( bottomMiddleResizableRect().tqcontains( p ) ) + if ( bottomMiddleResizableRect().contains( p ) ) return ( ResizeBottom ); - if ( topMiddleResizableRect().tqcontains( p ) ) + if ( topMiddleResizableRect().contains( p ) ) return ( ResizeTop ); - if ( topRightResizableRect().tqcontains( p ) ) + if ( topRightResizableRect().contains( p ) ) return ( ResizeTop | ResizeRight ); - if ( bottomRightResizableRect().tqcontains( p ) ) + if ( bottomRightResizableRect().contains( p ) ) return ( ResizeBottom | ResizeRight ); - if ( rightMiddleResizableRect().tqcontains( p ) ) + if ( rightMiddleResizableRect().contains( p ) ) return ( ResizeRight ); return ResizeNothing; @@ -238,9 +238,9 @@ bool ReportItem::intersects( ReportItem *item ) TQString ReportItem::escape( TQString string ) { - string.tqreplace( TQRegExp( "&" ), "&" ); - string.tqreplace( TQRegExp( "<" ), "<" ); - string.tqreplace( TQRegExp( ">" ), ">" ); + string.replace( TQRegExp( "&" ), "&" ); + string.replace( TQRegExp( "<" ), "<" ); + string.replace( TQRegExp( ">" ), ">" ); return string; } |