diff -r d32b5fde9ea6 -r 4218782d8ca0 QTfrontend/ui/page/AbstractPage.h --- a/QTfrontend/ui/page/AbstractPage.h Tue Jan 17 23:36:15 2012 +0100 +++ b/QTfrontend/ui/page/AbstractPage.h Tue Jan 17 23:42:30 2012 +0100 @@ -25,13 +25,13 @@ #define ABSTRACTPAGE_H #include -#include +#include #include #include #include #include -class QPushButton; +class QPushButtonWithSound; class QGroupBox; class QComboBox; class QLabel; @@ -134,7 +134,7 @@ * * @return the button. */ - QPushButton * formattedButton(const QString & name, bool hasIcon = false); + QPushButtonWithSound * formattedButton(const QString & name, bool hasIcon = false); /** * @brief Creates a default formatted button and adds it to a @@ -150,7 +150,7 @@ * * @return the button. */ - QPushButton * addButton(const QString & name, QGridLayout * grid, int row, int column, int rowSpan = 1, int columnSpan = 1, bool hasIcon = false); + QPushButtonWithSound * addButton(const QString & name, QGridLayout * grid, int row, int column, int rowSpan = 1, int columnSpan = 1, bool hasIcon = false); /** * @brief Creates a default formatted button and adds it to a @@ -163,7 +163,7 @@ * * @return the button. */ - QPushButton * addButton(const QString & name, QBoxLayout * box, int where, bool hasIcon = false); + QPushButtonWithSound * addButton(const QString & name, QBoxLayout * box, int where, bool hasIcon = false); /** * @brief Changes visibility of the back-button. @@ -177,9 +177,7 @@ QLabel * descLabel; ///< text description QString * defautDesc; - private: - - QPushButton * btnBack; ///< back button + QPushButtonWithSound * btnBack; ///< back button }; #endif