X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fexportmenu.hpp;h=f3f104ddc2151eff445def182c8bcb0673cd45ba;hp=3416c7b3b5411917613620b63265ddb62cddab09;hb=f6b6c9bf50999dc99f9517318ffd3114cae4960f;hpb=efdec55aec1a137460fa362a381ed1904182bfed diff --git a/pv/widgets/exportmenu.hpp b/pv/widgets/exportmenu.hpp index 3416c7b3..f3f104dd 100644 --- a/pv/widgets/exportmenu.hpp +++ b/pv/widgets/exportmenu.hpp @@ -25,6 +25,9 @@ #include #include +using std::shared_ptr; +using std::vector; + namespace sigrok { class Context; class OutputFormat; @@ -38,21 +41,21 @@ class ExportMenu : public QMenu Q_OBJECT; public: - ExportMenu(QWidget *parent, std::shared_ptr context, - std::vectoropen_actions = std::vector()); + ExportMenu(QWidget *parent, shared_ptr context, + vectoropen_actions = vector()); private Q_SLOTS: void on_action(QObject *action); Q_SIGNALS: - void format_selected(std::shared_ptr format); + void format_selected(shared_ptr format); private: - std::shared_ptr context_; + shared_ptr context_; QSignalMapper mapper_; }; -} // widgets -} // pv +} // namespace widgets +} // namespace pv #endif // PULSEVIEW_PV_WIDGETS_EXPORTMENU_HPP