make compile with -pedantic and use foreach in some places

This commit is contained in:
Mathias Panzenböck
2014-02-15 05:13:12 +01:00
parent 5ca0712af2
commit 80351f5504
8 changed files with 46 additions and 153 deletions

View File

@ -18,6 +18,7 @@
#include <QPushButton>
#include <QPalette>
#include <QBoxLayout>
#include <QStringList>
//A QPushButton that can flash a color
@ -50,7 +51,7 @@ class FlashRadioArray : public QWidget
{
Q_OBJECT
public:
FlashRadioArray( int count, QString names[], bool horizontal, QWidget* parent);
FlashRadioArray( const QStringList &names, bool horizontal, QWidget* parent);
//returns an integer returning the currently selected button.
//First button is 0.
int getState();