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 /kchart/KChartParamsIface.cc | |
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 'kchart/KChartParamsIface.cc')
-rw-r--r-- | kchart/KChartParamsIface.cc | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/kchart/KChartParamsIface.cc b/kchart/KChartParamsIface.cc index 75e279bd..794c4679 100644 --- a/kchart/KChartParamsIface.cc +++ b/kchart/KChartParamsIface.cc @@ -32,22 +32,22 @@ KChartParamsIface::KChartParamsIface( KChartParams *params_ ) params = params_; } -QString KChartParamsIface::chartType()const +TQString KChartParamsIface::chartType()const { return params->chartTypeToString(params->chartType()); } -void KChartParamsIface::setChartType( const QString &chart ) +void KChartParamsIface::setChartType( const TQString &chart ) { params->setChartType(params->stringToChartType( chart )); } -QString KChartParamsIface::barChartSubType() const +TQString KChartParamsIface::barChartSubType() const { return params->barChartSubTypeToString(params->barChartSubType()); } -void KChartParamsIface::setBarChartSubType( const QString &sub ) +void KChartParamsIface::setBarChartSubType( const TQString &sub ) { params->setBarChartSubType(params->stringToBarChartSubType( sub )); } @@ -148,17 +148,17 @@ void KChartParamsIface::hideLegend() params->setLegendPosition(KDChartParams::NoLegend); } -void KChartParamsIface::setLegendPosition(const QString & pos) +void KChartParamsIface::setLegendPosition(const TQString & pos) { params->setLegendPosition(params->stringToLegendPosition(pos)); } -QString KChartParamsIface::legendPostion() const +TQString KChartParamsIface::legendPostion() const { return params->legendPositionToString(params->legendPosition()); } -void KChartParamsIface::setLegendTitleText( const QString& text ) +void KChartParamsIface::setLegendTitleText( const TQString& text ) { params->setLegendTitleText( text ); } @@ -213,12 +213,12 @@ uint KChartParamsIface::legendSpacing() return params->legendSpacing(); } -void KChartParamsIface::setLineChartSubType( const QString & sub) +void KChartParamsIface::setLineChartSubType( const TQString & sub) { params->setLineChartSubType(params->stringToLineChartSubType(sub)); } -QString KChartParamsIface::lineChartSubType() const +TQString KChartParamsIface::lineChartSubType() const { return params->lineChartSubTypeToString(params->lineChartSubType()); } @@ -284,12 +284,12 @@ int KChartParamsIface::threeDLineYRotation() const return params->threeDLineYRotation(); } -QSize KChartParamsIface::lineMarkerSize() const +TQSize KChartParamsIface::lineMarkerSize() const { return params->lineMarkerSize(); } -void KChartParamsIface::setLineMarkerSize( QSize size ) +void KChartParamsIface::setLineMarkerSize( TQSize size ) { params->setLineMarkerSize( size ); } @@ -300,22 +300,22 @@ bool KChartParamsIface::showGrid() return params->showGrid(); } -QString KChartParamsIface::header1Text() const +TQString KChartParamsIface::header1Text() const { return params->header1Text(); } -void KChartParamsIface::setHeader1Text( const QString& text ) +void KChartParamsIface::setHeader1Text( const TQString& text ) { params->setHeader1Text(text); } -void KChartParamsIface::setHeader2Text( const QString& text ) +void KChartParamsIface::setHeader2Text( const TQString& text ) { params->setHeader2Text(text); } -QString KChartParamsIface::header2Text() const +TQString KChartParamsIface::header2Text() const { return params->header2Text(); } @@ -331,32 +331,32 @@ uint KChartParamsIface::outlineDataLineWidth() const return params->outlineDataLineWidth(); } -void KChartParamsIface::setAreaChartSubType(const QString &sub) +void KChartParamsIface::setAreaChartSubType(const TQString &sub) { params->setAreaChartSubType(params->stringToAreaChartSubType(sub)); } -QString KChartParamsIface::areaChartSubType() const +TQString KChartParamsIface::areaChartSubType() const { return params->areaChartSubTypeToString(params->areaChartSubType()); } -void KChartParamsIface::setAreaLocation(const QString & loc) +void KChartParamsIface::setAreaLocation(const TQString & loc) { params->setAreaLocation(params->stringToAreaLocation(loc)); } -QString KChartParamsIface::areaLocation() const +TQString KChartParamsIface::areaLocation() const { return params->areaLocationToString( params->areaLocation()); } -void KChartParamsIface::setHiLoChartSubType(const QString &sub) +void KChartParamsIface::setHiLoChartSubType(const TQString &sub) { params->setHiLoChartSubType(params->stringToHiLoChartSubType(sub)); } -QString KChartParamsIface::hiLoChartSubType() const +TQString KChartParamsIface::hiLoChartSubType() const { return params->hiLoChartSubTypeToString(params->hiLoChartSubType()); } @@ -431,12 +431,12 @@ bool KChartParamsIface::polarRotateCircularLabels() const return params->polarRotateCircularLabels(); } -QSize KChartParamsIface::polarMarkerSize() const +TQSize KChartParamsIface::polarMarkerSize() const { return params->polarMarkerSize(); } -void KChartParamsIface::setPolarMarkerSize( QSize size ) +void KChartParamsIface::setPolarMarkerSize( TQSize size ) { params->setPolarMarkerSize(size); } |