summaryrefslogtreecommitdiffstats
path: root/kolourpaint/tools/kptoolairspray.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kolourpaint/tools/kptoolairspray.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-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/tools/kptoolairspray.h')
-rw-r--r--kolourpaint/tools/kptoolairspray.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kolourpaint/tools/kptoolairspray.h b/kolourpaint/tools/kptoolairspray.h
index 24f02787..ed983980 100644
--- a/kolourpaint/tools/kptoolairspray.h
+++ b/kolourpaint/tools/kptoolairspray.h
@@ -33,11 +33,11 @@
#include <kpcolor.h>
#include <kptool.h>
-class QPixmap;
-class QPoint;
-class QRect;
-class QString;
-class QTimer;
+class TQPixmap;
+class TQPoint;
+class TQRect;
+class TQString;
+class TQTimer;
class kpMainWindow;
class kpToolAirSprayCommand;
@@ -53,7 +53,7 @@ public:
virtual ~kpToolAirSpray ();
private:
- QString haventBegunDrawUserMessage () const;
+ TQString haventBegunDrawUserMessage () const;
public:
virtual void begin ();
@@ -64,10 +64,10 @@ private slots:
public:
virtual void beginDraw ();
- virtual void draw (const QPoint &thisPoint, const QPoint &, const QRect &);
+ virtual void draw (const TQPoint &thisPoint, const TQPoint &, const TQRect &);
virtual void cancelShape ();
virtual void releasedAllButtons ();
- virtual void endDraw (const QPoint &, const QRect &);
+ virtual void endDraw (const TQPoint &, const TQRect &);
public slots:
void actuallyDraw ();
@@ -75,7 +75,7 @@ public slots:
private:
kpToolWidgetSpraycanSize *m_toolWidgetSpraycanSize;
kpToolAirSprayCommand *m_currentCommand;
- QTimer *m_timer;
+ TQTimer *m_timer;
int m_size;
};
@@ -86,7 +86,7 @@ public:
kpMainWindow *mainWindow);
virtual ~kpToolAirSprayCommand ();
- virtual QString name () const;
+ virtual TQString name () const;
virtual int size () const;
@@ -94,7 +94,7 @@ public:
virtual void unexecute ();
// interface for KToolAirSpray
- void addPoints (const QPointArray &points);
+ void addPoints (const TQPointArray &points);
void finalize ();
void cancel ();
@@ -102,9 +102,9 @@ private:
kpColor m_color;
int m_size;
- QPixmap *m_newPixmapPtr;
- QPixmap m_oldPixmap;
- QRect m_boundingRect;
+ TQPixmap *m_newPixmapPtr;
+ TQPixmap m_oldPixmap;
+ TQRect m_boundingRect;
};
#endif // __kptoolairspray_h__