X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fimportmenu.hpp;h=c70962a4a781c4fef7fed32857bfce4a6787a749;hp=ad2a6e7966ee0224300512d7cd519959c0e42353;hb=323715c41a09a1aba08f4b716e9d93da58f0f3a8;hpb=efdec55aec1a137460fa362a381ed1904182bfed diff --git a/pv/widgets/importmenu.hpp b/pv/widgets/importmenu.hpp index ad2a6e7..c70962a 100644 --- a/pv/widgets/importmenu.hpp +++ b/pv/widgets/importmenu.hpp @@ -25,6 +25,9 @@ #include #include +using std::shared_ptr; +using std::vector; + namespace sigrok { class Context; class InputFormat; @@ -38,21 +41,21 @@ class ImportMenu : public QMenu Q_OBJECT; public: - ImportMenu(QWidget *parent, std::shared_ptr context, - QAction *open_action = nullptr); + ImportMenu(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_IMPORTMENU_HPP