summaryrefslogtreecommitdiffstats
path: root/kolf/slope.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /kolf/slope.h
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz
tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolf/slope.h')
-rw-r--r--kolf/slope.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/kolf/slope.h b/kolf/slope.h
index 1bca5e5e..c829ad36 100644
--- a/kolf/slope.h
+++ b/kolf/slope.h
@@ -9,9 +9,10 @@ class Slope;
class SlopeConfig : public Config
{
Q_OBJECT
+ TQ_OBJECT
public:
- SlopeConfig(Slope *slope, TQWidget *parent);
+ SlopeConfig(Slope *slope, TQWidget *tqparent);
private slots:
void setGradient(const TQString &text);
@@ -35,7 +36,7 @@ public:
virtual void editModeChanged(bool changed);
virtual bool canBeMovedByOthers() const { return !stuckOnGround; }
virtual TQPtrList<TQCanvasItem> moveableItems() const;
- virtual Config *config(TQWidget *parent) { return new SlopeConfig(this, parent); }
+ virtual Config *config(TQWidget *tqparent) { return new SlopeConfig(this, tqparent); }
void setSize(int, int);
virtual void newSize(int width, int height);