X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fheader.hpp;h=deb984d0dee90585c8661d2118ce3e652ccdc29a;hp=9bca88cee73bf83c35510b8afd4c30bad2ebfca5;hb=75d0779e498595f3a957de79eedd97c0647a2b28;hpb=f15bb3bc4f964eaafdd4c46f29f69ef74572baee diff --git a/pv/view/header.hpp b/pv/view/header.hpp index 9bca88ce..deb984d0 100644 --- a/pv/view/header.hpp +++ b/pv/view/header.hpp @@ -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 #include @@ -30,7 +30,7 @@ namespace pv { namespace view { -class RowItem; +class TraceTreeItem; class View; class ViewItem; @@ -74,19 +74,13 @@ private: std::shared_ptr 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_group(); @@ -97,4 +91,4 @@ private Q_SLOTS: } // namespace view } // namespace pv -#endif // PULSEVIEW_PV_VIEW_HEADER_H +#endif // PULSEVIEW_PV_VIEW_HEADER_HPP