From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: 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 --- lib/kofficeui/KoPen.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/kofficeui/KoPen.h') diff --git a/lib/kofficeui/KoPen.h b/lib/kofficeui/KoPen.h index 87124cef9..84a7ea668 100644 --- a/lib/kofficeui/KoPen.h +++ b/lib/kofficeui/KoPen.h @@ -20,19 +20,19 @@ #ifndef KOPEN_H #define KOPEN_H -#include +#include class KoZoomHandler; /** * Pen that handles line widths in points */ -class KoPen : public QPen +class KoPen : public TQPen { public: KoPen(); - KoPen(const QColor& _color, double _pointWidth, Qt::PenStyle _style); - KoPen(const QColor& _color); + KoPen(const TQColor& _color, double _pointWidth, Qt::PenStyle _style); + KoPen(const TQColor& _color); ~KoPen(); /** @@ -58,8 +58,8 @@ class KoPen : public QPen /// KoPen width in points double pointWidth() const { return m_pointWidth; } - /// Returns a zoomed QPen - QPen zoomedPen(KoZoomHandler* zoomHandler); + /// Returns a zoomed TQPen + TQPen zoomedPen(KoZoomHandler* zoomHandler); private: double m_pointWidth; -- cgit v1.2.3