diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /krita/ui/kis_boundary_painter.cc | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
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
Diffstat (limited to 'krita/ui/kis_boundary_painter.cc')
-rw-r--r-- | krita/ui/kis_boundary_painter.cc | 12 |
1 files changed, 6 insertions, 6 deletions
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 <qpixmap.h> -#include <qpainter.h> +#include <tqpixmap.h> +#include <tqpainter.h> #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(); |