X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fsettingspage.h;h=7a5bcc6ac641b2c607207bd07ca7de4671f92655;hb=731ec69d4608ba95e3ae4f154b8ca1852e1db2e5;hp=2c5ffb4e39f178d3696874515cf1f3258be7fb9d;hpb=4ec0f5fc03c28c7bc810d88ecfdf6b07efc9afcd;p=quassel.git diff --git a/src/uisupport/settingspage.h b/src/uisupport/settingspage.h index 2c5ffb4e..7a5bcc6a 100644 --- a/src/uisupport/settingspage.h +++ b/src/uisupport/settingspage.h @@ -24,6 +24,8 @@ #include class QCheckBox; +class QComboBox; +class QSpinBox; //! A SettingsPage is a page in the settings dialog. /** The SettingsDlg provides suitable standard buttons, such as Ok, Apply, Cancel, Restore Defaults and Reset. @@ -63,6 +65,10 @@ public: //! sets checked state depending on \checked and stores the value for later comparision static void load(QCheckBox *box, bool checked); static bool hasChanged(QCheckBox *box); + static void load(QComboBox *box, int index); + static bool hasChanged(QComboBox *box); + static void load(QSpinBox *box, int value); + static bool hasChanged(QSpinBox *box); public slots: //! Save settings to permanent storage.