summaryrefslogtreecommitdiffstats
path: root/kolourpaint/widgets/kpcolortoolbar.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kolourpaint/widgets/kpcolortoolbar.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/widgets/kpcolortoolbar.h')
-rw-r--r--kolourpaint/widgets/kpcolortoolbar.h26
1 files changed, 16 insertions, 10 deletions
diff --git a/kolourpaint/widgets/kpcolortoolbar.h b/kolourpaint/widgets/kpcolortoolbar.h
index 3b50c825..b1e8faa8 100644
--- a/kolourpaint/widgets/kpcolortoolbar.h
+++ b/kolourpaint/widgets/kpcolortoolbar.h
@@ -56,13 +56,14 @@ class kpMainWindow;
// used by kpTransparentColorCell
// - no obscure "current" colour
//
-class kpDualColorButton : public QFrame
+class kpDualColorButton : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
kpDualColorButton (kpMainWindow *mainWindow,
- TQWidget *parent, const char *name = 0);
+ TQWidget *tqparent, const char *name = 0);
virtual ~kpDualColorButton ();
kpColor color (int which) const;
@@ -90,7 +91,7 @@ public:
kpColor oldBackgroundColor () const;
public:
- virtual TQSize sizeHint () const;
+ virtual TQSize tqsizeHint () const;
protected:
TQRect swapPixmapRect () const;
@@ -118,9 +119,10 @@ protected:
class kpColorCells : public KColorCells
{
Q_OBJECT
+ TQ_OBJECT
public:
- kpColorCells (TQWidget *parent,
+ kpColorCells (TQWidget *tqparent,
Qt::Orientation o = Qt::Horizontal,
const char *name = 0);
virtual ~kpColorCells ();
@@ -152,15 +154,16 @@ protected slots:
};
-class kpTransparentColorCell : public QFrame
+class kpTransparentColorCell : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
- kpTransparentColorCell (TQWidget *parent, const char *name = 0);
+ kpTransparentColorCell (TQWidget *tqparent, const char *name = 0);
virtual ~kpTransparentColorCell ();
- virtual TQSize sizeHint () const;
+ virtual TQSize tqsizeHint () const;
signals:
void transparentColorSelected (int mouseButton);
@@ -179,12 +182,13 @@ protected:
};
-class kpColorPalette : public QWidget
+class kpColorPalette : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- kpColorPalette (TQWidget *parent,
+ kpColorPalette (TQWidget *tqparent,
Qt::Orientation o = Qt::Horizontal,
const char *name = 0);
virtual ~kpColorPalette ();
@@ -208,10 +212,11 @@ protected:
class kpColorSimilarityToolBarItem : public kpColorSimilarityCube
{
Q_OBJECT
+ TQ_OBJECT
public:
kpColorSimilarityToolBarItem (kpMainWindow *mainWindow,
- TQWidget *parent,
+ TQWidget *tqparent,
const char *name = 0);
virtual ~kpColorSimilarityToolBarItem ();
@@ -243,6 +248,7 @@ private:
class kpColorToolBar : public KToolBar
{
Q_OBJECT
+ TQ_OBJECT
public:
kpColorToolBar (const TQString &label, kpMainWindow *mainWindow, const char *name = 0);