summaryrefslogtreecommitdiffstats
path: root/kolf/newgame.h
diff options
context:
space:
mode:
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;