]> sigrok.org Git - pulseview.git/blobdiff - pv/views/trace/tracetreeitem.hpp
Merge RowItem() into ViewItem()
[pulseview.git] / pv / views / trace / tracetreeitem.hpp
index 7a4bf4622de5bf11cdd45744acceb198d88eca05..932e2b8c932285b0967993e2b5564569df6c5026 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <QPropertyAnimation>
 
-#include "rowitem.hpp"
+#include "viewitem.hpp"
 
 using std::enable_shared_from_this;
 using std::pair;
@@ -35,7 +35,7 @@ namespace trace {
 
 class TraceTreeItemOwner;
 
-class TraceTreeItem : public RowItem,
+class TraceTreeItem : public ViewItem,
        public enable_shared_from_this<TraceTreeItem>
 {
        Q_OBJECT
@@ -111,7 +111,7 @@ public:
         * Gets the arrow-tip point of the row item marker.
         * @param rect the rectangle of the header area.
         */
-       QPoint point(const QRect &rect) const;
+       QPoint drag_point(const QRect &rect) const;
 
        /**
         * Computes the vertical extents of the contents of this row item.