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/kptemppixmap.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/kptemppixmap.h')
-rw-r--r-- | kolourpaint/kptemppixmap.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kolourpaint/kptemppixmap.h b/kolourpaint/kptemppixmap.h index 6ddb9413..2bd9d7bc 100644 --- a/kolourpaint/kptemppixmap.h +++ b/kolourpaint/kptemppixmap.h @@ -32,8 +32,8 @@ #define __kp_temp_pixmap_h__ -#include <qpoint.h> -#include <qpixmap.h> +#include <tqpoint.h> +#include <tqpixmap.h> class kpViewManager; @@ -53,18 +53,18 @@ public: * not the mouse cursor is inside a view. If false, the * pixmap is always displayed. */ - kpTempPixmap (bool isBrush, RenderMode renderMode, const QPoint &topLeft, const QPixmap &pixmap); + kpTempPixmap (bool isBrush, RenderMode renderMode, const TQPoint &topLeft, const TQPixmap &pixmap); kpTempPixmap (const kpTempPixmap &rhs); kpTempPixmap &operator= (const kpTempPixmap &rhs); ~kpTempPixmap (); bool isBrush () const; RenderMode renderMode () const; - QPoint topLeft () const; - QPixmap pixmap () const; + TQPoint topLeft () const; + TQPixmap pixmap () const; bool isVisible (const kpViewManager *vm) const; - QRect rect () const; + TQRect rect () const; int width () const; int height () const; @@ -77,13 +77,13 @@ public: * the unzoomed <docRect> of the kpDocument. You should check for * visibility before calling this function. */ - void paint (QPixmap *destPixmap, const QRect &docRect) const; + void paint (TQPixmap *destPixmap, const TQRect &docRect) const; private: bool m_isBrush; RenderMode m_renderMode; - QPoint m_topLeft; - QPixmap m_pixmap; + TQPoint m_topLeft; + TQPixmap m_pixmap; }; |