#include <QSignalMapper>
using std::shared_ptr;
+using std::vector;
namespace sigrok {
class Context;
public:
ImportMenu(QWidget *parent, shared_ptr<sigrok::Context> context,
- QAction *open_action = nullptr);
+ vector<QAction *>open_actions = vector<QAction *>());
private Q_SLOTS:
void on_action(QObject *action);
QSignalMapper mapper_;
};
-} // widgets
-} // pv
+} // namespace widgets
+} // namespace pv
#endif // PULSEVIEW_PV_WIDGETS_IMPORTMENU_HPP