summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_qpaintdevice_canvas_painter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_qpaintdevice_canvas_painter.cpp')
-rw-r--r--chalk/ui/kis_qpaintdevice_canvas_painter.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/chalk/ui/kis_qpaintdevice_canvas_painter.cpp b/chalk/ui/kis_qpaintdevice_canvas_painter.cpp
index 07f78eb9..e0836bf6 100644
--- a/chalk/ui/kis_qpaintdevice_canvas_painter.cpp
+++ b/chalk/ui/kis_qpaintdevice_canvas_painter.cpp
@@ -596,22 +596,12 @@ void KisTQPaintDeviceCanvasPainter::drawText(const TQPoint& point, const TQStrin
void KisTQPaintDeviceCanvasPainter::drawText(int x, int y, int w, int h, int flags, const TQString& text, int len, TQRect *br, TQTextParag **intern)
{
-#ifdef USE_QT4
- printf("[WARNING] KisTQPaintDeviceCanvasPainter::drawText partially implemented\n");
- m_painter.drawText(x, y, w, h, flags, text, len, br);
-#else // USE_QT4
m_painter.drawText(x, y, w, h, flags, text, len, br, intern);
-#endif // USE_QT4
}
void KisTQPaintDeviceCanvasPainter::drawText(const TQRect& r, int flags, const TQString& text, int len, TQRect *br, TQTextParag **intern)
{
-#ifdef USE_QT4
- printf("[WARNING] KisTQPaintDeviceCanvasPainter::drawText partially implemented\n");
- m_painter.drawText(r, flags, text, len, br);
-#else // USE_QT4
m_painter.drawText(r, flags, text, len, br, intern);
-#endif // USE_QT4
}
void KisTQPaintDeviceCanvasPainter::drawTextItem(int x, int y, const TQTextItem& ti, int textflags)
@@ -626,22 +616,12 @@ void KisTQPaintDeviceCanvasPainter::drawTextItem(const TQPoint& p, const TQTextI
TQRect KisTQPaintDeviceCanvasPainter::boundingRect(int x, int y, int w, int h, int flags, const TQString& text, int len, TQTextParag **intern)
{
-#ifdef USE_QT4
- printf("[WARNING] KisTQPaintDeviceCanvasPainter::boundingRect partially implemented\n");
- return m_painter.boundingRect(x, y, w, h, flags, text, len);
-#else // USE_QT4
return m_painter.boundingRect(x, y, w, h, flags, text, len, intern);
-#endif // USE_QT4
}
TQRect KisTQPaintDeviceCanvasPainter::boundingRect(const TQRect& r, int flags, const TQString& text, int len, TQTextParag **intern)
{
-#ifdef USE_QT4
- printf("[WARNING] KisTQPaintDeviceCanvasPainter::boundingRect partially implemented\n");
- return m_painter.boundingRect(r, flags, text, len);
-#else // USE_QT4
return m_painter.boundingRect(r, flags, text, len, intern);
-#endif // USE_QT4
}
int KisTQPaintDeviceCanvasPainter::tabStops() const