summaryrefslogtreecommitdiffstats
path: root/parts/doxygen/input.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /parts/doxygen/input.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/doxygen/input.h')
-rw-r--r--parts/doxygen/input.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/parts/doxygen/input.h b/parts/doxygen/input.h
index b046f39c..ac73ce20 100644
--- a/parts/doxygen/input.h
+++ b/parts/doxygen/input.h
@@ -36,14 +36,15 @@ class IInput
class InputBool : public TQWidget, public IInput
{
Q_OBJECT
+ TQ_OBJECT
public:
- InputBool(const TQCString &key, const TQString &text, TQWidget *parent, bool &flag);
+ InputBool(const TQCString &key, const TQString &text, TQWidget *tqparent, bool &flag);
~InputBool();
void init();
virtual void setEnabled(bool b);
- virtual TQObject *qobject() { return this; }
+ virtual TQObject *qobject() { return TQT_TQOBJECT(this); }
virtual bool getState() const { return state; }
signals:
@@ -63,15 +64,16 @@ private:
class InputInt : public TQWidget, public IInput
{
Q_OBJECT
+ TQ_OBJECT
public:
- InputInt(const TQString &text, TQWidget *parent,
+ InputInt(const TQString &text, TQWidget *tqparent,
int &val, int minVal, int maxVal);
~InputInt();
void init();
virtual void setEnabled(bool);
- TQObject *qobject() { return this; }
+ TQObject *qobject() { return TQT_TQOBJECT(this); }
signals:
void changed();
@@ -91,6 +93,7 @@ private:
class InputString : public TQWidget, public IInput
{
Q_OBJECT
+ TQ_OBJECT
public:
enum StringMode { StringFree=0,
@@ -99,14 +102,14 @@ public:
StringFixed=3
};
- InputString(const TQString &text, TQWidget *parent,
+ InputString(const TQString &text, TQWidget *tqparent,
TQCString &s, StringMode m=StringFree);
~InputString();
void init();
void addValue(const char *s);
void setEnabled(bool);
- TQObject *qobject() { return this; }
+ TQObject *qobject() { return TQT_TQOBJECT(this); }
signals:
void changed();
@@ -131,6 +134,7 @@ private:
class InputStrList : public TQWidget, public IInput
{
Q_OBJECT
+ TQ_OBJECT
public:
enum ListMode { ListString=0,
@@ -139,13 +143,13 @@ public:
ListFileDir=ListFile|ListDir
};
- InputStrList(const TQString &text, TQWidget *parent,
+ InputStrList(const TQString &text, TQWidget *tqparent,
TQStrList &sl, ListMode v=ListString);
~InputStrList();
void init();
void setEnabled(bool);
- TQObject *qobject() { return this; }
+ TQObject *qobject() { return TQT_TQOBJECT(this); }
signals:
void changed();