]> sigrok.org Git - pulseview.git/blobdiff - pv/view/header.hpp
Standardize on 'event' as name for all Qt events.
[pulseview.git] / pv / view / header.hpp
index 6756681624a4f6aaf2abf423c529098b44ba7423..deb984d0dee90585c8661d2118ce3e652ccdc29a 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,32 +74,21 @@ 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);
 
 private:
        void contextMenuEvent(QContextMenuEvent *event);
 
-       void keyPressEvent(QKeyEvent *e);
+       void keyPressEvent(QKeyEvent *event);
 
 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