X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;ds=sidebyside;f=pv%2Fview%2Fruler.hpp;h=50bbf2cdc0038075d8fbdea98cc0ba2b3af938fa;hb=7a01bd3654ed046216308fa64edfd79be7cd525f;hp=6559f6f09cd770d2c0060a2eb1273ea4112a6d39;hpb=2f7982367e8382e05c862de7afc71075ded5f606;p=pulseview.git diff --git a/pv/view/ruler.hpp b/pv/view/ruler.hpp index 6559f6f..50bbf2c 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,18 +73,6 @@ private: std::shared_ptr get_mouse_over_item( const QPoint &pt); - /** - * Returns true if the selection of time items allows dragging. - * @return Returns true if the drag is acceptable. - */ - bool accept_drag() const; - - /** - * 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); @@ -107,4 +95,4 @@ private Q_SLOTS: } // namespace view } // namespace pv -#endif // PULSEVIEW_PV_VIEW_RULER_H +#endif // PULSEVIEW_PV_VIEW_RULER_HPP