X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fcursor.hpp;h=e64beaa9f626d68e6de7ebcd090231a6f73892da;hp=b23bd642b47130446a21b8fcf7b67c812acb7dc5;hb=ed2cec68674ac98de6bde7a399d12a0bb9c8dd05;hpb=096fb584db59a7b95ea57a6accf6c282a43497f6 diff --git a/pv/view/cursor.hpp b/pv/view/cursor.hpp index b23bd642..e64beaa9 100644 --- a/pv/view/cursor.hpp +++ b/pv/view/cursor.hpp @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PULSEVIEW_PV_VIEW_CURSOR_H -#define PULSEVIEW_PV_VIEW_CURSOR_H +#ifndef PULSEVIEW_PV_VIEW_CURSOR_HPP +#define PULSEVIEW_PV_VIEW_CURSOR_HPP #include "timemarker.hpp" @@ -63,7 +63,7 @@ public: * @param rect The rectangle of the ruler client area. * @return Returns the label rectangle. */ - QRectF get_label_rect(const QRect &rect) const; + QRectF label_rect(const QRectF &rect) const; private: std::shared_ptr get_other_cursor() const; @@ -72,4 +72,4 @@ private: } // namespace view } // namespace pv -#endif // PULSEVIEW_PV_VIEW_CURSOR_H +#endif // PULSEVIEW_PV_VIEW_CURSOR_HPP