diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kugar/kudesigner_lib/reportitem.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kugar/kudesigner_lib/reportitem.h')
-rw-r--r-- | kugar/kudesigner_lib/reportitem.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kugar/kudesigner_lib/reportitem.h b/kugar/kudesigner_lib/reportitem.h index bfee4bd7..5d10545c 100644 --- a/kugar/kudesigner_lib/reportitem.h +++ b/kugar/kudesigner_lib/reportitem.h @@ -22,8 +22,8 @@ #include "commdefs.h" #include "box.h" -class QString; -class QStringList; +class TQString; +class TQStringList; namespace Kudesigner { @@ -37,7 +37,7 @@ public: : Box( x, y, width, height, canvas ) { setZ( 20 ); - parentSection = 0; + tqparentSection = 0; } virtual int rtti() const { @@ -45,36 +45,36 @@ public: } virtual void updateGeomProps(); - virtual void draw( QPainter &painter ) + virtual void draw( TQPainter &painter ) { Box::draw( painter ); } - virtual QString getXml(); + virtual TQString getXml(); - QRect topLeftResizableRect(); - QRect bottomLeftResizableRect(); - QRect topRightResizableRect(); - QRect bottomRightResizableRect(); - QRect topMiddleResizableRect(); - QRect bottomMiddleResizableRect(); - QRect leftMiddleResizableRect(); - QRect rightMiddleResizableRect(); + TQRect topLeftResizableRect(); + TQRect bottomLeftResizableRect(); + TQRect topRightResizableRect(); + TQRect bottomRightResizableRect(); + TQRect topMiddleResizableRect(); + TQRect bottomMiddleResizableRect(); + TQRect leftMiddleResizableRect(); + TQRect rightMiddleResizableRect(); virtual Band *section(); virtual void setSection( Band *section ); virtual void setSectionUndestructive( Band *section ); - virtual int isInHolder( const QPoint p ); - virtual void drawHolders( QPainter &painter ); + virtual int isInHolder( const TQPoint p ); + virtual void drawHolders( TQPainter &painter ); virtual void fastProperty() { } ; bool intersects( ReportItem *item ); - QString escape( QString string ); + TQString escape( TQString string ); protected: friend class View; - Band *parentSection; + Band *tqparentSection; }; } |