diff options
author | Marcus Müller <mmueller@gnuradio.org> | 2020-10-30 18:22:33 +0100 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2020-11-03 14:07:23 -0500 |
commit | 0ddc7dbc95ca6fb4c4a62a3c027104d6dd71fc3b (patch) | |
tree | b454053fdc123711f3011b8a703de38e1d783ba3 /gr-qtgui/lib/histogram_sink_f_impl.h | |
parent | 1cfd6287635e339b313e1826fdfda23f474c91c8 (diff) |
modernization: `override` instead of virtual in all compilation units
Diffstat (limited to 'gr-qtgui/lib/histogram_sink_f_impl.h')
-rw-r--r-- | gr-qtgui/lib/histogram_sink_f_impl.h | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/gr-qtgui/lib/histogram_sink_f_impl.h b/gr-qtgui/lib/histogram_sink_f_impl.h index 754c262a71..f181654108 100644 --- a/gr-qtgui/lib/histogram_sink_f_impl.h +++ b/gr-qtgui/lib/histogram_sink_f_impl.h @@ -54,54 +54,54 @@ public: const std::string& name, int nconnections, QWidget* parent = NULL); - ~histogram_sink_f_impl(); + ~histogram_sink_f_impl() override; bool check_topology(int ninputs, int noutputs) override; - void exec_(); - QWidget* qwidget(); + void exec_() override; + QWidget* qwidget() override; #ifdef ENABLE_PYTHON - PyObject* pyqwidget(); + PyObject* pyqwidget() override; #else void* pyqwidget(); #endif - void set_y_axis(double min, double max); - void set_x_axis(double min, double max); - void set_update_time(double t); - void set_title(const std::string& title); - void set_line_label(unsigned int which, const std::string& label); - void set_line_color(unsigned int which, const std::string& color); - void set_line_width(unsigned int which, int width); - void set_line_style(unsigned int which, int style); - void set_line_marker(unsigned int which, int marker); - void set_line_alpha(unsigned int which, double alpha); - void set_nsamps(const int newsize); - void set_bins(const int bins); - void enable_axis_labels(bool en); - - std::string title(); - std::string line_label(unsigned int which); - std::string line_color(unsigned int which); - int line_width(unsigned int which); - int line_style(unsigned int which); - int line_marker(unsigned int which); - double line_alpha(unsigned int which); - - void set_size(int width, int height); - - void enable_menu(bool en); - void enable_grid(bool en); - void enable_autoscale(bool en); - void enable_semilogx(bool en); - void enable_semilogy(bool en); - void enable_accumulate(bool en); - void disable_legend(); - void autoscalex(); - int nsamps() const; - int bins() const; - void reset(); + void set_y_axis(double min, double max) override; + void set_x_axis(double min, double max) override; + void set_update_time(double t) override; + void set_title(const std::string& title) override; + void set_line_label(unsigned int which, const std::string& label) override; + void set_line_color(unsigned int which, const std::string& color) override; + void set_line_width(unsigned int which, int width) override; + void set_line_style(unsigned int which, int style) override; + void set_line_marker(unsigned int which, int marker) override; + void set_line_alpha(unsigned int which, double alpha) override; + void set_nsamps(const int newsize) override; + void set_bins(const int bins) override; + void enable_axis_labels(bool en) override; + + std::string title() override; + std::string line_label(unsigned int which) override; + std::string line_color(unsigned int which) override; + int line_width(unsigned int which) override; + int line_style(unsigned int which) override; + int line_marker(unsigned int which) override; + double line_alpha(unsigned int which) override; + + void set_size(int width, int height) override; + + void enable_menu(bool en) override; + void enable_grid(bool en) override; + void enable_autoscale(bool en) override; + void enable_semilogx(bool en) override; + void enable_semilogy(bool en) override; + void enable_accumulate(bool en) override; + void disable_legend() override; + void autoscalex() override; + int nsamps() const override; + int bins() const override; + void reset() override; int work(int noutput_items, gr_vector_const_void_star& input_items, |