diff -r 80cd75daf80f -r 7764cbe4ddd7 QTfrontend/ui/widget/FreqSpinBox.h --- a/QTfrontend/ui/widget/FreqSpinBox.h Tue Oct 25 13:30:02 2011 +0400 +++ b/QTfrontend/ui/widget/FreqSpinBox.h Tue Oct 25 19:46:59 2011 +0200 @@ -16,15 +16,19 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ -#ifndef FREQSPINBOX_H -#define FREQSPINBOX_H +/** + * @file + * @brief FreqSpinBox class definition + */ +#ifndef HEDGEWARS_FREQSPINBOX_H +#define HEDGEWARS_FREQSPINBOX_H #include #include /** - * A SpinBox that returns it's value as localized turn frequency. + * SpinBox that returns its value as localized turn frequency. * 'Never', 'Every Turn', 'Every 2 Turns', etc. * @author unc0rr * @since 0.9.12 @@ -34,9 +38,19 @@ Q_OBJECT public: - FreqSpinBox(QWidget* parent) : QSpinBox(parent) {}; + /** + * @brief Class constructor. + * @param parent parent widget. + */ + FreqSpinBox(QWidget * parent); protected: + /** + * Returns it's value as localized frequency. + * 'Never', 'Every Turn', 'Every 2 Turns', etc. + * @param value integer value to be representing as string. + * @return the turn frequence-like string representation. + */ QString textFromValue(int value) const; };