summaryrefslogtreecommitdiffstats
path: root/kig/misc/rect.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kig/misc/rect.h
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kig/misc/rect.h')
-rw-r--r--kig/misc/rect.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/kig/misc/rect.h b/kig/misc/rect.h
index 1fe0b071..52958dd8 100644
--- a/kig/misc/rect.h
+++ b/kig/misc/rect.h
@@ -103,7 +103,7 @@ public:
*/
Rect matchShape( const Rect& rhs, bool shrink = false ) const;
- TQRect toQRect() const;
+ TQRect toTQRect() const;
Coordinate bottomLeft() const;
Coordinate bottomRight() const;
Coordinate topLeft() const;
@@ -115,13 +115,13 @@ public:
double top() const;
double width() const;
double height() const;
- bool contains( const Coordinate& p ) const;
- bool contains( const Coordinate& p, double allowed_miss ) const;
+ bool tqcontains( const Coordinate& p ) const;
+ bool tqcontains( const Coordinate& p, double allowed_miss ) const;
bool intersects( const Rect& p ) const;
Rect normalized() const;
friend kdbgstream& operator<<( kdbgstream& s, const Rect& t );
- static Rect fromQRect( const TQRect& );
+ static Rect fromTQRect( const TQRect& );
protected:
Coordinate mBottomLeft;
double mwidth;