summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kptemppixmap.cpp
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/kptemppixmap.cpp
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/kptemppixmap.cpp')
-rw-r--r--kolourpaint/kptemppixmap.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kolourpaint/kptemppixmap.cpp b/kolourpaint/kptemppixmap.cpp
index 55f669ee..186f0ed9 100644
--- a/kolourpaint/kptemppixmap.cpp
+++ b/kolourpaint/kptemppixmap.cpp
@@ -36,7 +36,7 @@
kpTempPixmap::kpTempPixmap (bool isBrush, RenderMode renderMode,
- const QPoint &topLeft, const QPixmap &pixmap)
+ const TQPoint &topLeft, const TQPixmap &pixmap)
: m_isBrush (isBrush),
m_renderMode (renderMode),
m_topLeft (topLeft),
@@ -83,13 +83,13 @@ kpTempPixmap::RenderMode kpTempPixmap::renderMode () const
}
// public
-QPoint kpTempPixmap::topLeft () const
+TQPoint kpTempPixmap::topLeft () const
{
return m_topLeft;
}
// public
-QPixmap kpTempPixmap::pixmap () const
+TQPixmap kpTempPixmap::pixmap () const
{
return m_pixmap;
}
@@ -102,9 +102,9 @@ bool kpTempPixmap::isVisible (const kpViewManager *vm) const
}
// public
-QRect kpTempPixmap::rect () const
+TQRect kpTempPixmap::rect () const
{
- return QRect (m_topLeft.x (), m_topLeft.y (),
+ return TQRect (m_topLeft.x (), m_topLeft.y (),
m_pixmap.width (), m_pixmap.height ());
}
@@ -129,7 +129,7 @@ bool kpTempPixmap::mayChangeDocumentMask () const
}
// public
-void kpTempPixmap::paint (QPixmap *destPixmap, const QRect &docRect) const
+void kpTempPixmap::paint (TQPixmap *destPixmap, const TQRect &docRect) const
{
#define PARAMS destPixmap, m_topLeft - docRect.topLeft (), m_pixmap
switch (m_renderMode)