From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcoloredit/palette.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kcoloredit/palette.h') diff --git a/kcoloredit/palette.h b/kcoloredit/palette.h index 7b763296..a363ada4 100644 --- a/kcoloredit/palette.h +++ b/kcoloredit/palette.h @@ -18,9 +18,9 @@ #ifndef PALETTE_H #define PALETTE_H -#include -#include -#include +#include +#include +#include #include "color.h" @@ -35,11 +35,11 @@ public: Palette(const Palette& palette); ~Palette(); /** @return A list of KDE palettes */ - static QStringList kdePalettes(); + static TQStringList kdePalettes(); /** sets palette name */ - void setName(const QString& name); + void setName(const TQString& name); /** @return palette name */ - const QString& name() const; + const TQString& name() const; /** inserts a color at a given position */ void insert(const int index, Color* const color); /** appends a color */ @@ -61,32 +61,32 @@ public: /** Loads a palette from a text stream * @return whether the load was succesfull */ - bool load(QTextStream& stream, bool loadName = true); + bool load(TQTextStream& stream, bool loadName = true); /** Loads a palette from a file. * If loadName is true, palette name is expected. * @return whether the load was succesfull */ - bool load(const QString& fileName); + bool load(const TQString& fileName); /** Saves a palette into a text stream. * If file is given, it is checked for IO errors. * If saveName is true, palette name is saved. * @return whether save was succesfull */ - bool save(QTextStream& stream, const QFile* file = 0, bool saveName = true); + bool save(TQTextStream& stream, const TQFile* file = 0, bool saveName = true); /** Saves a palette to a file * @return whether save was succesfull */ - bool save(const QString& fileName); + bool save(const TQString& fileName); /** Deletes contents of the palette */ void deleteContents(); /** @return A possible error description from the last unsuccessfull * IO operation */ - const QString& errorString() const; + const TQString& errorString() const; private: /** The palette name */ - QString m_name; + TQString m_name; private: /** Initialization method called by constructors */ @@ -94,9 +94,9 @@ private: protected: /** A list of palette colors */ - QPtrList colors; + TQPtrList colors; /** An IO error description */ - QString m_errorString; + TQString m_errorString; }; #endif -- cgit v1.2.1