X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fsettingspage.h;h=730418e7e2d2c8485deded47b5fc68c8e6c0c307;hb=f9cd845a9119e0abf450a91d8802f5c1822dd638;hp=667c908767635b8d3ada0e836c34fbf2ef241485;hpb=09e964ea3cd4995374dd7adb33256f3cefd47032;p=quassel.git diff --git a/src/uisupport/settingspage.h b/src/uisupport/settingspage.h index 667c9087..730418e7 100644 --- a/src/uisupport/settingspage.h +++ b/src/uisupport/settingspage.h @@ -18,8 +18,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef _SETTINGSPAGE_H_ -#define _SETTINGSPAGE_H_ +#pragma once + +#include "uisupport-export.h" #include @@ -55,13 +56,12 @@ class FontSelector; * - 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; } @@ -167,6 +167,3 @@ private: bool _changed, _autoWidgetsChanged; QObjectList _autoWidgets; }; - - -#endif