X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fviews%2Ftrace%2Fviewport.hpp;h=a49084b43ebe901f6e9cd7bb6ab2ad199e41e580;hp=ab67f69f3ee2d618895b6d5595a7251f97ef538c;hb=d9b55cc8ab01e83b392762ed1fa400fdafafb60b;hpb=68e0a53ee49c6a58fe1fadd8b9dc12572cc0dbd0 diff --git a/pv/views/trace/viewport.hpp b/pv/views/trace/viewport.hpp index ab67f69..a49084b 100644 --- a/pv/views/trace/viewport.hpp +++ b/pv/views/trace/viewport.hpp @@ -48,14 +48,6 @@ class Viewport : public ViewWidget public: explicit Viewport(View &parent); -private: - /** - * Indicates when a view item is being hovered over. - * @param item The item that is being hovered over, or @c nullptr - * if no view item is being hovered over. - */ - void item_hover(const shared_ptr &item); - /** * Gets the first view item which has a hit-box that contains @c pt . * @param pt the point to search with. @@ -64,6 +56,14 @@ private: */ shared_ptr get_mouse_over_item(const QPoint &pt); +private: + /** + * Indicates when a view item is being hovered over. + * @param item The item that is being hovered over, or @c nullptr + * if no view item is being hovered over. + */ + void item_hover(const shared_ptr &item); + /** * Sets this item into the dragged state. */