From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krita/ui/kis_boundary_painter.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'krita/ui/kis_boundary_painter.cc') diff --git a/krita/ui/kis_boundary_painter.cc b/krita/ui/kis_boundary_painter.cc index b8dfc761..f8918a9d 100644 --- a/krita/ui/kis_boundary_painter.cc +++ b/krita/ui/kis_boundary_painter.cc @@ -15,17 +15,17 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include -#include +#include +#include #include "kis_boundary.h" #include "kis_boundary_painter.h" #include "kis_canvas.h" #include "kis_canvas_painter.h" -QPixmap KisBoundaryPainter::createPixmap(const KisBoundary& boundary, int w, int h) +TQPixmap KisBoundaryPainter::createPixmap(const KisBoundary& boundary, int w, int h) { - QPixmap target(w, h); + TQPixmap target(w, h); KisCanvasPainter painter(&target); painter.eraseRect(0, 0, w, h); @@ -41,7 +41,7 @@ void KisBoundaryPainter::paint(const KisBoundary& boundary, KisCanvasPainter& pa KisBoundary::PointPairListList::const_iterator it = boundary.m_horSegments.constBegin(); KisBoundary::PointPairListList::const_iterator end = boundary.m_horSegments.constEnd(); - // Horizontal + //Qt::Horizontal while (it != end) { KisBoundary::PointPairList::const_iterator lineIt = (*it).constBegin(); KisBoundary::PointPairList::const_iterator lineEnd = (*it).constEnd(); @@ -58,7 +58,7 @@ void KisBoundaryPainter::paint(const KisBoundary& boundary, KisCanvasPainter& pa ++it; } - // Vertical + //Qt::Vertical it = boundary.m_vertSegments.constBegin(); end = boundary.m_vertSegments.constEnd(); -- cgit v1.2.1