summaryrefslogtreecommitdiffstats
path: root/kugar/kudesigner_lib/reportitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/kudesigner_lib/reportitem.cpp')
-rw-r--r--kugar/kudesigner_lib/reportitem.cpp22
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( "<" ), "&lt;" );
- string.tqreplace( TQRegExp( ">" ), "&gt;" );
+ string.replace( TQRegExp( "&" ), "&amp;" );
+ string.replace( TQRegExp( "<" ), "&lt;" );
+ string.replace( TQRegExp( ">" ), "&gt;" );
return string;
}