summaryrefslogtreecommitdiffstats
path: root/karbon/tools/vpatterntool.h
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/tools/vpatterntool.h')
-rw-r--r--karbon/tools/vpatterntool.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/karbon/tools/vpatterntool.h b/karbon/tools/vpatterntool.h
index 0a89a4d4..8812ce4f 100644
--- a/karbon/tools/vpatterntool.h
+++ b/karbon/tools/vpatterntool.h
@@ -26,16 +26,17 @@
#include "vpattern.h"
#include "KoRect.h"
-class QHButtonGroup;
-class QToolButton;
+class TQHButtonGroup;
+class TQToolButton;
class KoIconChooser;
class VPatternWidget : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- VPatternWidget( QPtrList<KoIconItem>* patterns, VTool* tool, QWidget* parent = 0L );
+ VPatternWidget( TQPtrList<KoIconItem>* patterns, VTool* tool, TQWidget* tqparent = 0L );
~VPatternWidget();
VPattern* selectedPattern();
@@ -49,9 +50,9 @@ public slots:
private:
KoIconChooser* m_patternChooser;
- QHButtonGroup* m_buttonGroup;
- QToolButton* m_importPatternButton;
- QToolButton* m_deletePatternButton;
+ TQHButtonGroup* m_buttonGroup;
+ TQToolButton* m_importPatternButton;
+ TQToolButton* m_deletePatternButton;
VTool* m_tool;
VPattern* m_pattern;
}; // VPatternWidget
@@ -60,6 +61,7 @@ private:
class VPatternTool : public VTool
{
Q_OBJECT
+ TQ_OBJECT
public:
VPatternTool( KarbonView *view );
@@ -69,8 +71,8 @@ public:
virtual void deactivate();
virtual void setup(KActionCollection *collection);
- virtual QString uiname() { return i18n( "Pattern Tool" ); }
- virtual QString contextHelp();
+ virtual TQString uiname() { return i18n( "Pattern Tool" ); }
+ virtual TQString contextHelp();
virtual bool showDialog() const;
virtual void draw( VPainter* painter );
@@ -86,7 +88,7 @@ protected:
virtual void mouseDragShiftReleased(); */
virtual void cancel();
virtual void setCursor() const;
- virtual bool keyReleased( Qt::Key key );
+ virtual bool keyReleased( TQt::Key key );
/**
* Determines the actual pattern to be edited.