diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /karbon/tools/vpolylinetool.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-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 'karbon/tools/vpolylinetool.h')
-rw-r--r-- | karbon/tools/vpolylinetool.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/karbon/tools/vpolylinetool.h b/karbon/tools/vpolylinetool.h index 83e4a562..2d39250c 100644 --- a/karbon/tools/vpolylinetool.h +++ b/karbon/tools/vpolylinetool.h @@ -22,18 +22,18 @@ #define __VPOLYLINETOOL_H__ -#include <qptrlist.h> -#include <qstring.h> +#include <tqptrlist.h> +#include <tqstring.h> #include "KoPoint.h" #include "vtool.h" -class QLabel; -class QWidget; +class TQLabel; +class TQWidget; class VPath; -class QCursor; +class TQCursor; /** * The polyline tool. @@ -49,6 +49,7 @@ class QCursor; class VPolylineTool : public VTool { Q_OBJECT + TQ_OBJECT public: VPolylineTool( KarbonView *view ); @@ -58,8 +59,8 @@ class VPolylineTool : public VTool virtual void activate(); virtual void deactivate(); - virtual QString uiname() { return i18n( "Polyline Tool" ); } - virtual QString contextHelp(); + virtual TQString uiname() { return i18n( "Polyline Tool" ); } + virtual TQString contextHelp(); virtual enumToolType toolType() { return TOOL_FREEHAND; } protected: @@ -102,7 +103,7 @@ class VPolylineTool : public VTool /** * The list of this polyline points. */ - QPtrList<KoPoint> m_bezierPoints; + TQPtrList<KoPoint> m_bezierPoints; /** * The start of the last drawn vector. @@ -122,7 +123,7 @@ class VPolylineTool : public VTool void commandExecuted(); private: - QCursor* m_crossCursor; + TQCursor* m_crossCursor; }; #endif |