]> sigrok.org Git - pulseview.git/blobdiff - pv/view/header.hpp
TraceTreeItem: Separated from RowItem
[pulseview.git] / pv / view / header.hpp
index 6756681624a4f6aaf2abf423c529098b44ba7423..ade6d330affb57b3db9a616541fb97407b6f3a83 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
  */
 
-#ifndef PULSEVIEW_PV_VIEW_HEADER_H
-#define PULSEVIEW_PV_VIEW_HEADER_H
+#ifndef PULSEVIEW_PV_VIEW_HEADER_HPP
+#define PULSEVIEW_PV_VIEW_HEADER_HPP
 
 #include <list>
 #include <memory>
@@ -30,7 +30,7 @@
 namespace pv {
 namespace view {
 
-class RowItem;
+class TraceTreeItem;
 class View;
 class ViewItem;
 
@@ -74,12 +74,6 @@ private:
        std::shared_ptr<pv::view::ViewItem> get_mouse_over_item(
                const QPoint &pt);
 
-       /**
-        * 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);
 
@@ -89,17 +83,12 @@ private:
        void keyPressEvent(QKeyEvent *e);
 
 private Q_SLOTS:
-       void on_signals_moved();
-
        void on_group();
 
        void on_ungroup();
-
-Q_SIGNALS:
-       void signals_moved();
 };
 
 } // namespace view
 } // namespace pv
 
-#endif // PULSEVIEW_PV_VIEW_HEADER_H
+#endif // PULSEVIEW_PV_VIEW_HEADER_HPP