diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kolourpaint/pixmapfx/kpfloodfill.h | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/pixmapfx/kpfloodfill.h')
-rw-r--r-- | kolourpaint/pixmapfx/kpfloodfill.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kolourpaint/pixmapfx/kpfloodfill.h b/kolourpaint/pixmapfx/kpfloodfill.h index 5c0d8001..57cb5648 100644 --- a/kolourpaint/pixmapfx/kpfloodfill.h +++ b/kolourpaint/pixmapfx/kpfloodfill.h @@ -29,18 +29,18 @@ #ifndef __kpfloodfill_h__ #define __kpfloodfill_h__ -#include <qimage.h> -#include <qvaluelist.h> -#include <qvaluevector.h> +#include <tqimage.h> +#include <tqvaluelist.h> +#include <tqvaluevector.h> #include <kpcolor.h> -class QPixmap; +class TQPixmap; class kpFloodFill { public: - kpFloodFill (QPixmap *pixmap, int x, int y, + kpFloodFill (TQPixmap *pixmap, int x, int y, const kpColor &color, int processedColorSimilarity); ~kpFloodFill (); @@ -57,19 +57,19 @@ public: kpColor colorToChange () const { return m_colorToChange; }; bool prepare (); - QRect boundingRect () const; // only valid after prepare() + TQRect boundingRect () const; // only valid after prepare() bool fill (); private: - QPixmap *m_pixmapPtr; + TQPixmap *m_pixmapPtr; int m_x, m_y; kpColor m_color; int m_processedColorSimilarity; int m_initState; - QRect m_boundingRect; + TQRect m_boundingRect; struct FillLine { @@ -86,7 +86,7 @@ private: int m_y, m_x1, m_x2; }; - int fillLinesListSize (const QValueList <kpFloodFill::FillLine> &fillLines) const; + int fillLinesListSize (const TQValueList <kpFloodFill::FillLine> &fillLines) const; void addLine (int y, int x1, int x2); kpColor pixelColor (int x, int y, bool *beenHere = 0) const; @@ -95,11 +95,11 @@ private: int findMinX (int y, int x) const; int findMaxX (int y, int x) const; - QValueList <FillLine> m_fillLines; + TQValueList <FillLine> m_fillLines; // Init info - QImage m_image; - QValueVector < QValueList <FillLine> > m_fillLinesCache; + TQImage m_image; + TQValueVector < TQValueList <FillLine> > m_fillLinesCache; kpColor m_colorToChange; }; |