diff options
Diffstat (limited to 'karbon/tools/vpenciltool.h')
-rw-r--r-- | karbon/tools/vpenciltool.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/karbon/tools/vpenciltool.h b/karbon/tools/vpenciltool.h index d8eeb77a..d2bca744 100644 --- a/karbon/tools/vpenciltool.h +++ b/karbon/tools/vpenciltool.h @@ -22,8 +22,8 @@ #define __VPENCILTOOL_H__ -#include <qptrlist.h> -#include <qstring.h> +#include <tqptrlist.h> +#include <tqstring.h> #include <klocale.h> #include <kdialogbase.h> @@ -32,21 +32,22 @@ #include "vtool.h" -class QLabel; -class QWidget; +class TQLabel; +class TQWidget; class VPath; class KarbonView; -class QCheckBox; -class QWidgetStack; -class QComboBox; +class TQCheckBox; +class TQWidgetStack; +class TQComboBox; class KDoubleNumInput; -class QCursor; +class TQCursor; class VPencilOptionsWidget : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - VPencilOptionsWidget( KarbonView*view, QWidget* parent = 0L, const char* name = 0L ); + VPencilOptionsWidget( KarbonView*view, TQWidget* tqparent = 0L, const char* name = 0L ); int currentMode(); bool optimize(); @@ -58,12 +59,12 @@ class VPencilOptionsWidget : public KDialogBase private: KarbonView *m_view; - QCheckBox *m_optimizeRaw; - QCheckBox *m_optimizeCurve; + TQCheckBox *m_optimizeRaw; + TQCheckBox *m_optimizeCurve; KDoubleNumInput *m_combineAngle; KDoubleNumInput *m_fittingError; - QWidgetStack *m_widgetStack; - QComboBox *m_combo; + TQWidgetStack *m_widgetStack; + TQComboBox *m_combo; int m_mode; }; @@ -88,8 +89,8 @@ class VPencilTool : public VTool virtual void deactivate(); virtual void setup(KActionCollection *collection); - virtual QString uiname() { return i18n( "Pencil Tool" ); } - virtual QString contextHelp(); + virtual TQString uiname() { return i18n( "Pencil Tool" ); } + virtual TQString contextHelp(); virtual enumToolType toolType() { return TOOL_FREEHAND; } virtual bool showDialog() const; @@ -124,7 +125,7 @@ class VPencilTool : public VTool /** * The list of this polyline points. */ - QPtrList<KoPoint> m_Points; + TQPtrList<KoPoint> m_Points; /** * The start of the last drawn vector. @@ -154,7 +155,7 @@ class VPencilTool : public VTool VPencilOptionsWidget *m_optionWidget; private: - QCursor* m_cursor; + TQCursor* m_cursor; }; #endif |