X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=3cffb54b47ce85f36a49d5a2c85216714751d0ea;hp=71cad57817a0554ad832b8710e0dc39dbe8fcc91;hb=d0c0573b3ee694827a747727f862c5f91736ca05;hpb=451dc5f33fbc4f559881acdf338c476a976fcbf2 diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 71cad57..3cffb54 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -30,6 +30,7 @@ #include #include +#include "globalsettings.hpp" #include "session.hpp" #include "views/viewbase.hpp" @@ -61,7 +62,7 @@ class DecoderMenu; #endif } -class MainWindow : public QMainWindow +class MainWindow : public QMainWindow, public GlobalSettingsInterface { Q_OBJECT @@ -92,6 +93,8 @@ public: void save_sessions(); void restore_sessions(); + void on_setting_changed(const QString &key, const QVariant &value); + private: void setup_ui();