* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef PULSEVIEW_PV_VIEWS_TRACEVIEW_TRACETREEITEM_HPP
-#define PULSEVIEW_PV_VIEWS_TRACEVIEW_TRACETREEITEM_HPP
+#ifndef PULSEVIEW_PV_VIEWS_TRACE_TRACETREEITEM_HPP
+#define PULSEVIEW_PV_VIEWS_TRACE_TRACETREEITEM_HPP
#include <memory>
#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.
} // namespace views
} // namespace pv
-#endif // PULSEVIEW_PV_VIEWS_TRACEVIEW_TRACETREEITEM_HPP
+#endif // PULSEVIEW_PV_VIEWS_TRACE_TRACETREEITEM_HPP