#include <QPropertyAnimation>
-#include "rowitem.hpp"
+#include "viewitem.hpp"
using std::enable_shared_from_this;
using std::pair;
class TraceTreeItemOwner;
-class TraceTreeItem : public RowItem,
+class TraceTreeItem : public ViewItem,
public enable_shared_from_this<TraceTreeItem>
{
Q_OBJECT
* Sets the owner this trace in the view trace hierachy.
* @param The new owner of the trace.
*/
- void set_owner(TraceTreeItemOwner *owner);
+ virtual void set_owner(TraceTreeItemOwner *owner);
/**
* Gets the visual y-offset of the axis.
* 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.