projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
inputfile: Use a vector instead of an array on the stack.
[pulseview.git]
/
pv
/
widgets
/
importmenu.hpp
diff --git
a/pv/widgets/importmenu.hpp
b/pv/widgets/importmenu.hpp
index ad2a6e7966ee0224300512d7cd519959c0e42353..d1d5231afd33d5832c58179f1becb80cca38a4e8 100644
(file)
--- a/
pv/widgets/importmenu.hpp
+++ b/
pv/widgets/importmenu.hpp
@@
-25,6
+25,8
@@
#include <QMenu>
#include <QSignalMapper>
#include <QMenu>
#include <QSignalMapper>
+using std::shared_ptr;
+
namespace sigrok {
class Context;
class InputFormat;
namespace sigrok {
class Context;
class InputFormat;
@@
-38,21
+40,21
@@
class ImportMenu : public QMenu
Q_OBJECT;
public:
Q_OBJECT;
public:
- ImportMenu(QWidget *parent, s
td::s
hared_ptr<sigrok::Context> context,
+ ImportMenu(QWidget *parent, shared_ptr<sigrok::Context> context,
QAction *open_action = nullptr);
private Q_SLOTS:
void on_action(QObject *action);
Q_SIGNALS:
QAction *open_action = nullptr);
private Q_SLOTS:
void on_action(QObject *action);
Q_SIGNALS:
- void format_selected(s
td::s
hared_ptr<sigrok::InputFormat> format);
+ void format_selected(shared_ptr<sigrok::InputFormat> format);
private:
private:
- s
td::s
hared_ptr<sigrok::Context> context_;
+ shared_ptr<sigrok::Context> context_;
QSignalMapper mapper_;
};
QSignalMapper mapper_;
};
-}
//
widgets
-}
//
pv
+}
// namespace
widgets
+}
// namespace
pv
#endif // PULSEVIEW_PV_WIDGETS_IMPORTMENU_HPP
#endif // PULSEVIEW_PV_WIDGETS_IMPORTMENU_HPP