* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef _SETTINGSPAGE_H_
-#define _SETTINGSPAGE_H_
+#pragma once
+
+#include "uisupport-export.h"
#include <QWidget>
* - QComboBox (currentIndex())
* - QSpinBox (value())
*/
-class SettingsPage : public QWidget
+class UISUPPORT_EXPORT SettingsPage : public QWidget
{
Q_OBJECT
public:
- SettingsPage(const QString &category, const QString &name, QWidget *parent = 0);
- virtual ~SettingsPage() {};
+ SettingsPage(QString category, QString name, QWidget *parent = nullptr);
//! The category of this settings page.
inline virtual QString category() const { return _category; }
bool _changed, _autoWidgetsChanged;
QObjectList _autoWidgets;
};
-
-
-#endif