summaryrefslogtreecommitdiffstats
path: root/karbon/tools/vpatterntool.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 /karbon/tools/vpatterntool.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 '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.