summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoPen.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /lib/kofficeui/KoPen.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
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
Diffstat (limited to 'lib/kofficeui/KoPen.h')
-rw-r--r--lib/kofficeui/KoPen.h12
1 files changed, 6 insertions, 6 deletions
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 <qpen.h>
+#include <tqpen.h>
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;