X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fexportmenu.hpp;h=0980ffd54757c0eeb1f1694372c4c47a4e31ec4d;hp=1a29128db6c7adc0412747f50f00d80b7ae4a0d7;hb=6f925ba9d6faf1077b73c5a5808259576081716a;hpb=7a01bd3654ed046216308fa64edfd79be7cd525f diff --git a/pv/widgets/exportmenu.hpp b/pv/widgets/exportmenu.hpp index 1a29128..0980ffd 100644 --- a/pv/widgets/exportmenu.hpp +++ b/pv/widgets/exportmenu.hpp @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #ifndef PULSEVIEW_PV_WIDGETS_EXPORTMENU_HPP @@ -26,6 +25,9 @@ #include #include +using std::shared_ptr; +using std::vector; + namespace sigrok { class Context; class OutputFormat; @@ -39,17 +41,17 @@ class ExportMenu : public QMenu Q_OBJECT; public: - ExportMenu(QWidget *parent, std::shared_ptr context, - QAction *open_action = nullptr); + 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_; };