summaryrefslogtreecommitdiffstats
path: root/kolf/newgame.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/newgame.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/newgame.h')
-rw-r--r--kolf/newgame.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/kolf/newgame.h b/kolf/newgame.h
index c4e228a4..ce5b8060 100644
--- a/kolf/newgame.h
+++ b/kolf/newgame.h
@@ -24,12 +24,13 @@ class TQPainter;
class KListBox;
class TQEvent;
-class PlayerEditor : public QWidget
+class PlayerEditor : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- PlayerEditor(TQString name = TQString::null, TQColor = red, TQWidget *parent = 0, const char *_name = 0);
+ PlayerEditor(TQString name = TQString(), TQColor = red, TQWidget *tqparent = 0, const char *_name = 0);
TQColor color() { return colorButton->color(); }
TQString name() { return editor->text(); }
void setColor(TQColor col) { colorButton->setColor(col); }
@@ -50,9 +51,10 @@ private:
class NewGameDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- NewGameDialog(bool enableCourses, TQWidget *parent, const char *_name = 0);
+ NewGameDialog(bool enableCourses, TQWidget *tqparent, const char *_name = 0);
TQPtrList<PlayerEditor> *players() { return &editors; }
bool competition() { return mode->isChecked(); }
TQString course() { return currentCourse; }
@@ -72,7 +74,7 @@ private slots:
void showHighscores();
private:
- TQVBox *layout;
+ TQVBox *tqlayout;
KPushButton *addButton;
TQFrame *playerPage;
TQScrollView *scroller;