diff -r 397870c6ed38 -r 9e9c52ca955e src/Widgets.h --- a/src/Widgets.h Sun Mar 09 14:04:06 2014 +0200 +++ b/src/Widgets.h Sun Mar 09 14:59:46 2014 +0200 @@ -16,9 +16,7 @@ * along with this program. If not, see . */ -#ifndef WIDGETS_H -#define WIDGETS_H - +#pragma once #include #include #include @@ -54,7 +52,7 @@ } explicit RadioGroup (const QString& title, QWidget* parent = null); - explicit RadioGroup (const QString& title, initlist entries, int const defaultId, + explicit RadioGroup (const QString& title, QList entries, int const defaultId, const Qt::Orientation orient = Qt::Vertical, QWidget* parent = null); void addButton (const char* entry); @@ -92,5 +90,3 @@ void slot_buttonPressed (int btn); void slot_buttonReleased (int btn); }; - -#endif // WIDGETS_H