diff options
Diffstat (limited to 'lib/kofficeui/KoPen.cpp')
-rw-r--r-- | lib/kofficeui/KoPen.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kofficeui/KoPen.cpp b/lib/kofficeui/KoPen.cpp index 4fa77af1..c1aad91e 100644 --- a/lib/kofficeui/KoPen.cpp +++ b/lib/kofficeui/KoPen.cpp @@ -22,21 +22,21 @@ #include <../kotext/KoTextZoomHandler.h> KoPen::KoPen() - : QPen() + : TQPen() { m_pointWidth = 1.0; } -KoPen::KoPen(const QColor& _color, double _pointWidth, Qt::PenStyle _style) - : QPen() +KoPen::KoPen(const TQColor& _color, double _pointWidth, Qt::PenStyle _style) + : TQPen() { setColor(_color); setPointWidth(_pointWidth); setStyle(_style); } -KoPen::KoPen(const QColor& _color) - : QPen(_color) +KoPen::KoPen(const TQColor& _color) + : TQPen(_color) { m_pointWidth = 1.0; } @@ -60,9 +60,9 @@ void KoPen::setPointWidth(double w) m_pointWidth = w; } -QPen KoPen::zoomedPen(KoZoomHandler* zoomHandler) +TQPen KoPen::zoomedPen(KoZoomHandler* zoomHandler) { - QPen pen = *this; + TQPen pen = *this; pen.setWidth(zoomHandler->zoomItY(m_pointWidth)); return pen; |