From ffc70008a51db72f4cfcfbf1e82753f96cb23d95 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 2 Oct 2022 19:46:19 -0400 Subject: Implement toolbar customization. --- qdeduper/settings.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qdeduper/settings.hpp') diff --git a/qdeduper/settings.hpp b/qdeduper/settings.hpp index fb1daa4..1ba75ee 100644 --- a/qdeduper/settings.hpp +++ b/qdeduper/settings.hpp @@ -47,6 +47,12 @@ public: void register_keyseq_option(int tab, std::string key, QString desc, QKeySequence defaultval); QKeySequence get_option_keyseq(std::string key); void set_option_keyseq(std::string key, QKeySequence ks); + void register_str_option(int tab, std::string key, QString desc, QString defaultval); + QString get_option_str(std::string key); + void set_option_str(std::string key, QString str); + void register_strlist_option(int tab, std::string key, QString desc, QStringList defaultval); + QStringList get_option_strlist(std::string key); + void set_option_strlist(std::string key, QStringList str); private: QSettings *s; QStringList tabs; -- cgit v1.2.3