X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/6e7a5760b4d6fc3244fbc0fae2fbce6201603fda..7a682f5e9c22e2af73a31d6228f8c594e228650a:/src/kitemviews/private/kitemlistheaderwidget.h diff --git a/src/kitemviews/private/kitemlistheaderwidget.h b/src/kitemviews/private/kitemlistheaderwidget.h index 05a5924e1..a522fa3a2 100644 --- a/src/kitemviews/private/kitemlistheaderwidget.h +++ b/src/kitemviews/private/kitemlistheaderwidget.h @@ -93,8 +93,8 @@ Q_SIGNALS: */ void sortRoleChanged(const QByteArray ¤t, const QByteArray &previous); - void columnUnHovered(int roleIndex); - void columnHovered(int roleIndex); + void columnUnHovered(int columnIndex); + void columnHovered(int columnIndex); protected: void mousePressEvent(QGraphicsSceneMouseEvent *event) override; @@ -118,7 +118,7 @@ private: void paintRole(QPainter *painter, const QByteArray &role, const QRectF &rect, int orderIndex, QWidget *widget = nullptr) const; void updatePressedRoleIndex(const QPointF &pos); - void updateHoveredRoleIndex(const QPointF &pos); + void updateHoveredIndex(const QPointF &pos); int roleIndexAt(const QPointF &pos) const; bool isAboveRoleGrip(const QPointF &pos, int roleIndex) const; bool isAbovePaddingGrip(const QPointF &pos, PaddingGrip paddingGrip) const; @@ -151,7 +151,7 @@ private: QHash m_columnWidths; QHash m_preferredColumnWidths; - int m_hoveredRoleIndex; + int m_hoveredIndex; int m_pressedRoleIndex; RoleOperation m_roleOperation; QPointF m_pressedMousePos;