X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fwidgets%2Fimportmenu.hpp;h=d1d5231afd33d5832c58179f1becb80cca38a4e8;hb=de2fc10b2b067705e623b9781a332ad8fa3f4f88;hp=b56631e0c792589721c8ef0436c540b269120b90;hpb=56b6fc8877297f233dd0ffaa28d3b1af8099ebec;p=pulseview.git
diff --git a/pv/widgets/importmenu.hpp b/pv/widgets/importmenu.hpp
index b56631e..d1d5231 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,21 +40,21 @@ 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_;
};
-} // widgets
-} // pv
+} // namespace widgets
+} // namespace pv
#endif // PULSEVIEW_PV_WIDGETS_IMPORTMENU_HPP