From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: 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 --- lib/kopainter/kogradientmanager.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'lib/kopainter/kogradientmanager.h') diff --git a/lib/kopainter/kogradientmanager.h b/lib/kopainter/kogradientmanager.h index 08412108..86130480 100644 --- a/lib/kopainter/kogradientmanager.h +++ b/lib/kopainter/kogradientmanager.h @@ -20,12 +20,12 @@ #ifndef __GRADIENT_LOADER__ #define __GRADIENT_LOADER__ -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include struct KoColorStop { @@ -51,7 +51,7 @@ struct KoGradient int gradientType; int gradientRepeatMethod; - QPtrList colorStops; + TQPtrList colorStops; }; class KOPAINTER_EXPORT KoGradientManager @@ -93,21 +93,21 @@ public: KoGradientManager(); ~KoGradientManager(); - KoGradient* loadGradient(const QString& filename); - static QStringList filters() + KoGradient* loadGradient(const TQString& filename); + static TQStringList filters() { - QStringList filterList; + TQStringList filterList; filterList << "*.kgr" << "*.svg" << "*.ggr"; return filterList; } private: - KoGradient* loadKarbonGradient(QFile* file); - KoGradient* loadKritaGradient(QFile* file); - KoGradient* loadSvgGradient(QFile* file); - KoGradient* parseKarbonGradient(const QDomElement& element); - KoGradient* parseSvgGradient(const QDomElement& element); - void parseSvgColor(QColor &color, const QString &s); + KoGradient* loadKarbonGradient(TQFile* file); + KoGradient* loadKritaGradient(TQFile* file); + KoGradient* loadSvgGradient(TQFile* file); + KoGradient* parseKarbonGradient(const TQDomElement& element); + KoGradient* parseSvgGradient(const TQDomElement& element); + void parseSvgColor(TQColor &color, const TQString &s); }; #endif -- cgit v1.2.1