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/dockers/vcolordocker.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/dockers/vcolordocker.h')
-rw-r--r-- | karbon/dockers/vcolordocker.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/karbon/dockers/vcolordocker.h b/karbon/dockers/vcolordocker.h index e5e791d7..ea8e4c9d 100644 --- a/karbon/dockers/vcolordocker.h +++ b/karbon/dockers/vcolordocker.h @@ -21,9 +21,9 @@ #ifndef __VCOLORDOCKER_H__ #define __VCOLORDOCKER_H__ -class QTabWidget; -class QWidget; -class QColor; +class TQTabWidget; +class TQWidget; +class TQColor; class KarbonView; class VColor; class VColorSlider; @@ -31,12 +31,13 @@ class KoHSVWidget; class KoCMYKWidget; class KoRGBWidget; -class VColorDocker : public QWidget +class VColorDocker : public TQWidget { Q_OBJECT + TQ_OBJECT public: - VColorDocker( KarbonPart* part, KarbonView* parent = 0L, const char* name = 0L ); + VColorDocker( KarbonPart* part, KarbonView* tqparent = 0L, const char* name = 0L ); virtual ~VColorDocker(); virtual bool isStrokeDocker() { return m_isStrokeDocker; }; @@ -48,26 +49,26 @@ public slots: virtual void update(); private: - virtual void mouseReleaseEvent( QMouseEvent *e ); + virtual void mouseReleaseEvent( TQMouseEvent *e ); - QTabWidget *mTabWidget; + TQTabWidget *mTabWidget; KoHSVWidget *mHSVWidget; //KoCMYKWidget *mCMYKWidget; KoRGBWidget *mRGBWidget; VColorSlider *mOpacity; signals: - void fgColorChanged( const QColor &c ); - void bgColorChanged( const QColor &c ); + void fgColorChanged( const TQColor &c ); + void bgColorChanged( const TQColor &c ); void modeChanged( KDualColorButton::DualColor s); private slots: - void updateFgColor(const QColor &c); - void updateBgColor(const QColor &c); + void updateFgColor(const TQColor &c); + void updateBgColor(const TQColor &c); void updateOpacity(); void updateMode( KDualColorButton::DualColor s ); protected: bool m_isStrokeDocker; //Are we setting stroke color ( true ) or fill color ( false ) - QColor m_color; + TQColor m_color; float m_opacity; private: KarbonPart *m_part; |