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 --- kolourpaint/kptemppixmap.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kolourpaint/kptemppixmap.cpp') 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) -- cgit v1.2.1