diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | c90c389a8a8d9d8661e9772ec4144c5cf2039f23 (patch) | |
tree | 6d8391395bce9eaea4ad78958617edb20c6a7573 /kolf/scoreboard.h | |
download | tdegames-c90c389a8a8d9d8661e9772ec4144c5cf2039f23.tar.gz tdegames-c90c389a8a8d9d8661e9772ec4144c5cf2039f23.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolf/scoreboard.h')
-rw-r--r-- | kolf/scoreboard.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/kolf/scoreboard.h b/kolf/scoreboard.h new file mode 100644 index 00000000..b9dc78f4 --- /dev/null +++ b/kolf/scoreboard.h @@ -0,0 +1,29 @@ +#ifndef SCOREBOARD_H +#define SCOREBOARD_H + +#include <qtable.h> + +class QWidget; +class QHeader; + +class ScoreBoard : public QTable +{ + Q_OBJECT + +public: + ScoreBoard(QWidget *parent = 0, const char *name = 0); + int total(int id, QString &name); + +public slots: + void newHole(int); + void newPlayer(const QString &name); + void setScore(int id, int hole, int score); + void parChanged(int hole, int par); + +private: + QTable *table; + QHeader *vh; + QHeader *hh; +}; + +#endif |