X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fglobalsettings.hpp;h=05ff126dd092e9070264a8ee55afeb24bc8c2970;hp=eb964fa2c677b802fe077e2da34de722328d6328;hb=d3feec232211b3acec6a323ca3b8008ed8b2faa0;hpb=88870fffb650365d2ece97e41981ad78fec06600 diff --git a/pv/globalsettings.hpp b/pv/globalsettings.hpp index eb964fa2..05ff126d 100644 --- a/pv/globalsettings.hpp +++ b/pv/globalsettings.hpp @@ -23,6 +23,8 @@ #include #include +#include + #include #include #include @@ -74,6 +76,10 @@ public: */ void undo_tracked_changes(); + static void store_gvariant(QSettings &settings, GVariant *v); + + static GVariant* restore_gvariant(QSettings &settings); + private: static multimap< QString, function > callbacks_;