diff options
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 |