]> sigrok.org Git - pulseview.git/blobdiff - pv/view/ruler.hpp
Modified header guards to match file names
[pulseview.git] / pv / view / ruler.hpp
index 6559f6f09cd770d2c0060a2eb1273ea4112a6d39..50bbf2cdc0038075d8fbdea98cc0ba2b3af938fa 100644 (file)
@@ -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 <memory>
 
@@ -73,18 +73,6 @@ private:
        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);
 
@@ -107,4 +95,4 @@ private Q_SLOTS:
 } // namespace view
 } // namespace pv
 
-#endif // PULSEVIEW_PV_VIEW_RULER_H
+#endif // PULSEVIEW_PV_VIEW_RULER_HPP