diff options
Diffstat (limited to 'kbattleship/kbattleship/kstatdialog.h')
-rw-r--r-- | kbattleship/kbattleship/kstatdialog.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/kbattleship/kbattleship/kstatdialog.h b/kbattleship/kbattleship/kstatdialog.h new file mode 100644 index 00000000..fd9b3dd7 --- /dev/null +++ b/kbattleship/kbattleship/kstatdialog.h @@ -0,0 +1,48 @@ +/*************************************************************************** + kstatdialog.h + ----------------- + Developers: (c) 2000-2001 Nikolas Zimmermann <wildfox@kde.org> + (c) 2000-2001 Daniel Molkentin <molkentin@kde.org> + + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef KSTATDIALOG_H +#define KSTATDIALOG_H + +#include "dialogs/statDlg.h" + +class KStatDialog : public statDlg +{ + Q_OBJECT +public: + KStatDialog(QWidget *parent = 0, const char *name = 0); + + void setShot(); + void setShot(int shot); + void setHit(); + void setHit(int hit); + void setWater(); + void setWater(int water); + + void clear(); + void clearWon(); + + int shot(); + int hit(); + int water(); + +public slots: + void slotAddOwnWon(); + void slotAddEnemyWon(); +}; + +#endif |