summaryrefslogtreecommitdiffstats
path: root/libkdchart/KDChartEnums.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /libkdchart/KDChartEnums.cpp
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdchart/KDChartEnums.cpp')
-rw-r--r--libkdchart/KDChartEnums.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkdchart/KDChartEnums.cpp b/libkdchart/KDChartEnums.cpp
index b94f16d..917136f 100644
--- a/libkdchart/KDChartEnums.cpp
+++ b/libkdchart/KDChartEnums.cpp
@@ -1,6 +1,6 @@
#include "KDChartEnums.h"
-QString KDChartEnums::positionFlagToString( PositionFlag type )
+TQString KDChartEnums::positionFlagToString( PositionFlag type )
{
switch( type ) {
case PosTopLeft:
@@ -27,7 +27,7 @@ QString KDChartEnums::positionFlagToString( PositionFlag type )
}
}
-KDChartEnums::PositionFlag KDChartEnums::stringToPositionFlag( const QString& string )
+KDChartEnums::PositionFlag KDChartEnums::stringToPositionFlag( const TQString& string )
{
if( string == "TopLeft" )
return PosTopLeft;
@@ -51,10 +51,10 @@ KDChartEnums::PositionFlag KDChartEnums::stringToPositionFlag( const QString& st
return PosTopLeft;
}
-QPoint KDChartEnums::positionFlagToPoint( const QRect& rect,
+TQPoint KDChartEnums::positionFlagToPoint( const TQRect& rect,
PositionFlag pos )
{
- QPoint pt;
+ TQPoint pt;
if( rect.isValid() ) {
switch( pos ) {
case KDChartEnums::PosTopLeft: