X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fimportmenu.hpp;h=cb33af9808d36733a337b0f12e3e55e62967f141;hp=b56631e0c792589721c8ef0436c540b269120b90;hb=6f925ba9d6faf1077b73c5a5808259576081716a;hpb=56b6fc8877297f233dd0ffaa28d3b1af8099ebec diff --git a/pv/widgets/importmenu.hpp b/pv/widgets/importmenu.hpp index b56631e..cb33af9 100644 --- a/pv/widgets/importmenu.hpp +++ b/pv/widgets/importmenu.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_IMPORTMENU_HPP @@ -26,6 +25,8 @@ #include #include +using std::shared_ptr; + namespace sigrok { class Context; class InputFormat; @@ -39,17 +40,17 @@ class ImportMenu : public QMenu Q_OBJECT; public: - ImportMenu(QWidget *parent, std::shared_ptr context, + ImportMenu(QWidget *parent, shared_ptr context, QAction *open_action = nullptr); 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_; };