31#include <kdialogbase.h>
45 enum Fields { Name = 1 << 0,
56 typedef TQMap<int, TQString> FieldInfo;
63 KScoreDialog(
int fields, TQWidget *parent=0,
const char *name=0);
71 void setConfigGroup(
const TQString &group);
77 void setComment(
const TQString &comment);
85 void addField(
int field,
const TQString &header,
const TQString &key);
98 int addScore(
int newScore,
const FieldInfo &newInfo,
bool askName,
bool lessIsMore);
99 int addScore(
int newScore,
const FieldInfo &newInfo,
bool askName=
true);
109 void slotGotReturn();
119 void keyPressEvent( TQKeyEvent *ev);
122 class KScoreDialogPrivate;
123 KScoreDialogPrivate *d;
A simple high score dialog.