KScoreDialog Class Reference
A simple high score dialog. More...
#include <kscoredialog.h>
Public Types | |
typedef QMap< int, QString > | FieldInfo |
enum | Fields { Name = 1 << 0, Level = 1 << 1, Custom1 = 1 << 10, Custom2 = 1 << 11, Custom3 = 1 << 12, Time = 1 << 28, Score = 1 << 29 } |
Public Methods | |
KScoreDialog (int fields, QWidget *parent=0, const char *name=0) | |
~KScoreDialog () | |
void | setConfigGroup (const QString &group) |
void | setComment (const QString &comment) |
void | addField (int field, const QString &header, const QString &key) |
int | addScore (int newScore, const FieldInfo &newInfo, bool askName, bool lessIsMore) |
int | addScore (int newScore, const FieldInfo &newInfo, bool askName=true) |
int | highScore () |
virtual void | show () |
Detailed Description
A simple high score dialog.
Definition at line 40 of file kscoredialog.h.
Constructor & Destructor Documentation
|
Definition at line 67 of file kscoredialog.cpp. |
Member Function Documentation
|
Definition at line 98 of file kscoredialog.cpp. |
|
Definition at line 104 of file kscoredialog.cpp. |
|
Define an extra FieldInfo entry.
Definition at line 109 of file kscoredialog.cpp. |
|
Adds a new score to the list.
Definition at line 323 of file kscoredialog.cpp. |
|
Returns the current best score.
Definition at line 389 of file kscoredialog.cpp. |
The documentation for this class was generated from the following files: