X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fruler.hpp;h=f6ce99dc833985b2175a13a55078128e6d2f96ff;hp=923cceb5fc3d37abb998d239ae8e490ab9e5d027;hb=f4e57597347e47a4ea58fbdc7b0a22e07f1c0ede;hpb=90d77e35b43fb7fdffc800945761bf95ba9faf02 diff --git a/pv/view/ruler.hpp b/pv/view/ruler.hpp index 923cceb..f6ce99d 100644 --- a/pv/view/ruler.hpp +++ b/pv/view/ruler.hpp @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PULSEVIEW_PV_VIEW_RULER_HPP -#define PULSEVIEW_PV_VIEW_RULER_HPP +#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_RULER_HPP +#define PULSEVIEW_PV_VIEWS_TRACEVIEW_RULER_HPP #include #include @@ -36,7 +36,8 @@ struct tick_position_test_2; } namespace pv { -namespace view { +namespace views { +namespace TraceView { class TimeItem; class ViewItem; @@ -109,7 +110,7 @@ private: /** * Gets the time items. */ - std::vector< std::shared_ptr > items() override; + std::vector< std::shared_ptr > items() override; /** * Gets the first view item which has a label that contains @c pt . @@ -117,7 +118,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( + std::shared_ptr get_mouse_over_item( const QPoint &pt) override; void paintEvent(QPaintEvent *event) override; @@ -174,7 +175,8 @@ private Q_SLOTS: void invalidate_tick_position_cache(); }; -} // namespace view +} // namespace TraceView +} // namespace views } // namespace pv -#endif // PULSEVIEW_PV_VIEW_RULER_HPP +#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_RULER_HPP