summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kptool.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/kptool.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/kptool.h')
-rw-r--r--kolourpaint/kptool.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/kolourpaint/kptool.h b/kolourpaint/kptool.h
index a0309463..1094b8d1 100644
--- a/kolourpaint/kptool.h
+++ b/kolourpaint/kptool.h
@@ -55,9 +55,10 @@ class kpToolToolBar;
// Base class for all tools
-class kpTool : public QObject
+class kpTool : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
kpTool (const TQString &text, const TQString &description,
@@ -328,7 +329,7 @@ protected:
virtual void leaveEvent (TQEvent *e);
// 0 = left, 1 = right, -1 = other (none, left+right, mid)
- static int mouseButton (const Qt::ButtonState &buttonState);
+ static int mouseButton (const TQt::ButtonState &buttonState);
TQString m_text, m_description;
const char *m_name;
@@ -340,7 +341,7 @@ protected:
/*
- * User Notifications (Status Bar)
+ * User Notifications (tqStatus Bar)
*/
public:
@@ -350,7 +351,7 @@ public:
TQString cancelUserMessage () const;
TQString userMessage () const;
- void setUserMessage (const TQString &userMessage = TQString::null);
+ void setUserMessage (const TQString &userMessage = TQString());
TQPoint userShapeStartPoint () const;
TQPoint userShapeEndPoint () const;
@@ -409,7 +410,7 @@ public:
const TQString &text,
const TQString &caption,
const TQString &continueButtonText,
- TQWidget *parent);
+ TQWidget *tqparent);
protected: