X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fruler.hpp;h=50bbf2cdc0038075d8fbdea98cc0ba2b3af938fa;hp=c93586e169a799d9606ee3ca9666a0cf37ea6c9c;hb=7a01bd3654ed046216308fa64edfd79be7cd525f;hpb=b434cbaf3208c2037fd5f86001b367b46ba926ba diff --git a/pv/view/ruler.hpp b/pv/view/ruler.hpp index c93586e1..50bbf2cd 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_H -#define PULSEVIEW_PV_VIEW_RULER_H +#ifndef PULSEVIEW_PV_VIEW_RULER_HPP +#define PULSEVIEW_PV_VIEW_RULER_HPP #include @@ -73,12 +73,6 @@ private: std::shared_ptr get_mouse_over_item( const QPoint &pt); - /** - * Drag the dragging items by the delta offset. - * @param delta the drag offset in pixels. - */ - void drag_items(const QPoint &delta); - private: void paintEvent(QPaintEvent *event); @@ -101,4 +95,4 @@ private Q_SLOTS: } // namespace view } // namespace pv -#endif // PULSEVIEW_PV_VIEW_RULER_H +#endif // PULSEVIEW_PV_VIEW_RULER_HPP