X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fheader.hpp;fp=pv%2Fview%2Fheader.hpp;h=c6f81ae5e5b96a4fd32bcc56a4835bd20e2bc2ff;hp=f8462c288bb9cee53eecff4cbb3c9902105ba907;hb=6f925ba9d6faf1077b73c5a5808259576081716a;hpb=00f6bae935837b38b0d03a5928ba8175d460413f diff --git a/pv/view/header.hpp b/pv/view/header.hpp index f8462c28..c6f81ae5 100644 --- a/pv/view/header.hpp +++ b/pv/view/header.hpp @@ -26,6 +26,9 @@ #include "marginwidget.hpp" +using std::shared_ptr; +using std::vector; + namespace pv { namespace views { namespace TraceView { @@ -63,7 +66,7 @@ private: /** * Gets the row items. */ - std::vector< std::shared_ptr > items(); + vector< shared_ptr > items(); /** * Gets the first view item which has a label that contains @c pt . @@ -71,7 +74,7 @@ private: * @return the view item that has been found, or and empty * @c shared_ptr if no item was found. */ - std::shared_ptr get_mouse_over_item(const QPoint &pt); + shared_ptr get_mouse_over_item(const QPoint &pt); private: void paintEvent(QPaintEvent *event);