* 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 <memory>
std::shared_ptr<pv::view::ViewItem> 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);
} // namespace view
} // namespace pv
-#endif // PULSEVIEW_PV_VIEW_RULER_H
+#endif // PULSEVIEW_PV_VIEW_RULER_HPP