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 /lib/kopainter/kogradientmanager.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 'lib/kopainter/kogradientmanager.h')
-rw-r--r-- | lib/kopainter/kogradientmanager.h | 32 |
1 files changed, 16 insertions, 16 deletions
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 <qptrlist.h> -#include <qstring.h> -#include <qstringlist.h> -#include <qfile.h> -#include <qdom.h> -#include <qcolor.h> +#include <tqptrlist.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqfile.h> +#include <tqdom.h> +#include <tqcolor.h> #include <koffice_export.h> struct KoColorStop { @@ -51,7 +51,7 @@ struct KoGradient int gradientType; int gradientRepeatMethod; - QPtrList<KoColorStop> colorStops; + TQPtrList<KoColorStop> 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 |