diff options
Diffstat (limited to 'qmidiplayer-desktop/qmpsettingswindow.hpp')
-rw-r--r-- | qmidiplayer-desktop/qmpsettingswindow.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmpsettingswindow.hpp b/qmidiplayer-desktop/qmpsettingswindow.hpp index 3820279..9f5e6cf 100644 --- a/qmidiplayer-desktop/qmpsettingswindow.hpp +++ b/qmidiplayer-desktop/qmpsettingswindow.hpp @@ -1,7 +1,9 @@ #ifndef QMPSETTINGSWINDOW_H #define QMPSETTINGSWINDOW_H +#include <string> #include <map> +#include <vector> #include <QDialog> #include <QCloseEvent> #include <QSettings> @@ -83,6 +85,9 @@ class qmpSettingsWindow:public QDialog void registerOptionString(std::string tab,std::string desc,std::string key,std::string defaultval); std::string getOptionString(std::string key); void setOptionString(std::string key,std::string val); + void registerOptionEnumInt(std::string tab,std::string desc,std::string key,std::vector<std::string> options,int defaultval); + int getOptionEnumInt(std::string key); + void setOptionEnumInt(std::string key,int val); signals: void dialogClosing(); |