summaryrefslogtreecommitdiffstats
path: root/kchart/kchart_params.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kchart/kchart_params.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-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/kchart_params.h')
-rw-r--r--kchart/kchart_params.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kchart/kchart_params.h b/kchart/kchart_params.h
index d228a697..66c774a8 100644
--- a/kchart/kchart_params.h
+++ b/kchart/kchart_params.h
@@ -81,8 +81,8 @@ class KChartParams : public KDChartParams
m_dataDirection = _dir;
}
- QString chartTypeToString( ChartType _type) const;
- ChartType stringToChartType( const QString& string );
+ TQString chartTypeToString( ChartType _type) const;
+ ChartType stringToChartType( const TQString& string );
bool firstRowAsLabel() const { return m_firstRowAsLabel; }
@@ -91,8 +91,8 @@ class KChartParams : public KDChartParams
void setFirstColAsLabel( bool _val );
// Data area
- QString dataArea() const { return m_dataArea; }
- void setDataArea( QString dataArea ) {
+ TQString dataArea() const { return m_dataArea; }
+ void setDataArea( TQString dataArea ) {
m_dataArea = dataArea;
}
@@ -117,28 +117,28 @@ public slots:
DCOPObject *dcopObject();
- bool loadOasis( const QDomElement &chartElem,
+ bool loadOasis( const TQDomElement &chartElem,
KoOasisLoadingContext &loadingContext,
- QString &errorMessage,
+ TQString &errorMessage,
KoStore *store );
void saveOasis( KoXmlWriter* bodyWriter, KoGenStyles& mainStyles ) const;
private:
- bool loadOasisPlotarea( const QDomElement &plotareaElem,
+ bool loadOasisPlotarea( const TQDomElement &plotareaElem,
KoOasisLoadingContext &loadingContext,
- QString &errorMessage );
- bool loadOasisAxis( const QDomElement &axisElem,
+ TQString &errorMessage );
+ bool loadOasisAxis( const TQDomElement &axisElem,
KoOasisLoadingContext &loadingContext,
- QString &errorMessage,
+ TQString &errorMessage,
KDChartAxisParams::AxisPos axisPos );
- void loadOasisFont( KoOasisLoadingContext& context, QFont& font, QColor& color );
+ void loadOasisFont( KoOasisLoadingContext& context, TQFont& font, TQColor& color );
void saveOasisPlotArea( KoXmlWriter* bodyWriter, KoGenStyles& mainStyles ) const;
void saveOasisAxis( KoXmlWriter* bodyWriter, KoGenStyles& mainStyles,
KDChartAxisParams::AxisPos axisPos,
const char* axisName ) const;
- QString saveOasisFont( KoGenStyles& mainStyles, const QFont& font,
- const QColor& color ) const;
+ TQString saveOasisFont( KoGenStyles& mainStyles, const TQFont& font,
+ const TQColor& color ) const;
private:
KChartPart *m_part;
@@ -151,7 +151,7 @@ public slots:
bool m_firstRowAsLabel;
bool m_firstColAsLabel;
- QString m_dataArea;
+ TQString m_dataArea;
// Extensions to support OpenDocument
int m_barNumLines; // Number of lines in a bar chart.