summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_qpaintdevice_canvas_painter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_qpaintdevice_canvas_painter.cc')
-rw-r--r--chalk/ui/kis_qpaintdevice_canvas_painter.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/chalk/ui/kis_qpaintdevice_canvas_painter.cc b/chalk/ui/kis_qpaintdevice_canvas_painter.cc
index 5bf891ac..4233bc11 100644
--- a/chalk/ui/kis_qpaintdevice_canvas_painter.cc
+++ b/chalk/ui/kis_qpaintdevice_canvas_painter.cc
@@ -38,7 +38,7 @@ bool KisTQPaintDeviceCanvasPainter::begin(KisCanvasWidget *canvasWidget, bool un
TQWidget *widget = dynamic_cast<TQWidget *>(canvasWidget);
if (widget != 0) {
- return m_painter.begin(TQT_TQPAINTDEVICE(widget), unclipped);
+ return m_painter.tqbegin(TQT_TQPAINTDEVICE(widget), unclipped);
} else {
return false;
}
@@ -46,7 +46,7 @@ bool KisTQPaintDeviceCanvasPainter::begin(KisCanvasWidget *canvasWidget, bool un
bool KisTQPaintDeviceCanvasPainter::begin(const TQPaintDevice* paintDevice, bool unclipped)
{
- return m_painter.begin(const_cast<TQPaintDevice*>(paintDevice), unclipped);
+ return m_painter.tqbegin(const_cast<TQPaintDevice*>(paintDevice), unclipped);
}
bool KisTQPaintDeviceCanvasPainter::end()
@@ -224,9 +224,9 @@ void KisTQPaintDeviceCanvasPainter::setWorldXForm(bool enable)
m_painter.setWorldXForm(enable);
}
-const TQWMatrix& KisTQPaintDeviceCanvasPainter::worldMatrix() const
+const TQWMatrix& KisTQPaintDeviceCanvasPainter::tqworldMatrix() const
{
- return m_painter.worldMatrix();
+ return m_painter.tqworldMatrix();
}
void KisTQPaintDeviceCanvasPainter::setWorldMatrix(const TQWMatrix& matrix, bool combine)
@@ -481,17 +481,17 @@ void KisTQPaintDeviceCanvasPainter::drawLineSegments(const TQPointArray& pointAr
void KisTQPaintDeviceCanvasPainter::drawPolyline(const TQPointArray& pointArray, int index, int npoints)
{
- m_painter.drawPolyline(pointArray, index, npoints);
+ m_painter.tqdrawPolyline(pointArray, index, npoints);
}
void KisTQPaintDeviceCanvasPainter::drawPolygon(const TQPointArray& pointArray, bool winding, int index, int npoints)
{
- m_painter.drawPolygon(pointArray, winding, index, npoints);
+ m_painter.tqdrawPolygon(pointArray, winding, index, npoints);
}
void KisTQPaintDeviceCanvasPainter::drawConvexPolygon(const TQPointArray& pointArray, int index, int npoints)
{
- m_painter.drawConvexPolygon(pointArray, index, npoints);
+ m_painter.tqdrawConvexPolygon(pointArray, index, npoints);
}
void KisTQPaintDeviceCanvasPainter::drawCubicBezier(const TQPointArray& pointArray, int index)
@@ -614,14 +614,14 @@ void KisTQPaintDeviceCanvasPainter::drawText(const TQRect& r, int flags, const T
#endif // USE_QT4
}
-void KisTQPaintDeviceCanvasPainter::drawTextItem(int x, int y, const TQTextItem& ti, int textflags)
+void KisTQPaintDeviceCanvasPainter::tqdrawTextItem(int x, int y, const TQTextItem& ti, int textflags)
{
- m_painter.drawTextItem(x, y, ti, textflags);
+ m_painter.tqdrawTextItem(x, y, ti, textflags);
}
-void KisTQPaintDeviceCanvasPainter::drawTextItem(const TQPoint& p, const TQTextItem& ti, int textflags)
+void KisTQPaintDeviceCanvasPainter::tqdrawTextItem(const TQPoint& p, const TQTextItem& ti, int textflags)
{
- m_painter.drawTextItem(p, ti, textflags);
+ m_painter.tqdrawTextItem(p, ti, textflags);
}
TQRect KisTQPaintDeviceCanvasPainter::boundingRect(int x, int y, int w, int h, int flags, const TQString& text, int len, TQTextParag **intern)