X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fglobalsettings.hpp;h=56ca9632e45a3bdcbb757018bd72a177f493791a;hb=0466001be51e779b23aaebec1cc9361305c07be9;hp=6902a097406edb187c53c5effc7c550aa26e4165;hpb=c6b4e925a8c5d855a70ab2815e8bc1c371d5801a;p=pulseview.git diff --git a/pv/globalsettings.hpp b/pv/globalsettings.hpp index 6902a097..56ca9632 100644 --- a/pv/globalsettings.hpp +++ b/pv/globalsettings.hpp @@ -51,6 +51,7 @@ class GlobalSettings : public QSettings Q_OBJECT public: + static const QString Key_General_Language; static const QString Key_General_Theme; static const QString Key_General_Style; static const QString Key_General_SaveWithSetup; @@ -92,6 +93,8 @@ public: static bool current_theme_is_dark(); void apply_theme(); + void apply_language(); + static void add_change_handler(GlobalSettingsInterface *cb); static void remove_change_handler(GlobalSettingsInterface *cb);