]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/standardbar.hpp
AnalogSignal: Use setting change handler for threshold display
[pulseview.git] / pv / views / trace / standardbar.hpp
index f96d8bfe0ed8535e4f336f7ace7bb622233c7878..09c7907f3da3f4fc5fdb55bfa548267bd0fbce28 100644 (file)
@@ -36,7 +36,7 @@ class Session;
 
 namespace views {
 
-namespace TraceView {
+namespace trace {
 class View;
 }
 
@@ -48,9 +48,9 @@ class StandardBar : public QToolBar
 
 public:
        StandardBar(Session &session, QWidget *parent,
-               TraceView::View *view, bool add_default_widgets=true);
+               trace::View *view, bool add_default_widgets = true);
 
-       Session &session(void) const;
+       Session &session() const;
 
        QAction* action_view_zoom_in() const;
        QAction* action_view_zoom_out() const;
@@ -62,7 +62,7 @@ protected:
        virtual void add_toolbar_widgets();
 
        Session &session_;
-       TraceView::View *view_;
+       trace::View *view_;
 
        QAction *const action_view_zoom_in_;
        QAction *const action_view_zoom_out_;