diff options
author | Michele Calgaro <[email protected]> | 2023-08-25 11:21:54 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-29 12:16:41 +0900 |
commit | 73836b4ca5f241d070dd34ac1d9bb828e05f9544 (patch) | |
tree | 001b3935b9362f17083be2a8225e6ff42afc2019 /chalk | |
parent | 1607518b8c749b4195c5ab11b405f77001526a6a (diff) | |
download | koffice-73836b4ca5f241d070dd34ac1d9bb828e05f9544.tar.gz koffice-73836b4ca5f241d070dd34ac1d9bb828e05f9544.zip |
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit e0df02598b8e19d8b6ddf07fdbca661489ab2e99)
Diffstat (limited to 'chalk')
-rw-r--r-- | chalk/ui/kis_qpaintdevice_canvas_painter.cpp | 20 |
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 |