X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fglobalsettings.hpp;h=201c5e20a9fc23f95b72f0d2f0cf2b546f9cee0c;hb=932bc2461d7b84b084d3a77ccfeb3bdb1a2d0d6c;hp=eb964fa2c677b802fe077e2da34de722328d6328;hpb=e91fb166608133382baa1a90cc022bfa47d649de;p=pulseview.git diff --git a/pv/globalsettings.hpp b/pv/globalsettings.hpp index eb964fa..201c5e2 100644 --- a/pv/globalsettings.hpp +++ b/pv/globalsettings.hpp @@ -23,6 +23,8 @@ #include #include +#include + #include #include #include @@ -44,6 +46,9 @@ public: static const QString Key_View_StickyScrolling; static const QString Key_View_ShowSamplingPoints; static const QString Key_View_ShowAnalogMinorGrid; + static const QString Key_View_ShowConversionThresholds; + static const QString Key_View_DefaultDivHeight; + static const QString Key_View_DefaultLogicHeight; static const QString Key_Dec_InitialStateConfigurable; public: @@ -74,6 +79,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_;