summaryrefslogtreecommitdiffstats
path: root/kturtle/src/dialogs.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kturtle/src/dialogs.h
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kturtle/src/dialogs.h')
-rw-r--r--kturtle/src/dialogs.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/kturtle/src/dialogs.h b/kturtle/src/dialogs.h
index 0a421d49..f1b99a98 100644
--- a/kturtle/src/dialogs.h
+++ b/kturtle/src/dialogs.h
@@ -53,9 +53,10 @@ struct errorData
class ErrorMessage : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- ErrorMessage(TQWidget *parent);
+ ErrorMessage(TQWidget *tqparent);
~ErrorMessage() {}
bool containsErrors();
@@ -97,9 +98,10 @@ class ErrorMessage : public KDialogBase
class ColorPicker : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- ColorPicker(TQWidget *parent);
+ ColorPicker(TQWidget *tqparent);
virtual ~ColorPicker() {}
@@ -117,9 +119,9 @@ class ColorPicker : public KDialogBase
TQWidget *BaseWidget;
KHSSelector *hsSelector;
KValueSelector *valuePal;
- TQVBoxLayout *vlayout;
- TQHBoxLayout *h1layout;
- TQHBoxLayout *h2layout;
+ TQVBoxLayout *vtqlayout;
+ TQHBoxLayout *h1tqlayout;
+ TQHBoxLayout *h2tqlayout;
KColorPatch *patch;
TQLabel *copyable;
TQLineEdit *colorcode;
@@ -149,9 +151,10 @@ class ColorPicker : public KDialogBase
class RestartOrBack : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- RestartOrBack (TQWidget *parent);
+ RestartOrBack (TQWidget *tqparent);
~RestartOrBack() {}
protected: