diff options
| author | Méven Car <[email protected]> | 2023-09-02 11:30:25 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2023-09-02 14:42:54 +0200 |
| commit | fae5fec96454fbc848f5402b1d1d758bd7ff2d8d (patch) | |
| tree | 7ea84a5ae4e8e8d2b8dd7455bf17174c848aa420 /src/kitemviews/kstandarditemlistwidget.h | |
| parent | 012f8a224ab83ba4337bdb99bf7c8566e365c14e (diff) | |
Add focusOut and focusIn event support for KFileItemListView and update selected widget on focus change
Diffstat (limited to 'src/kitemviews/kstandarditemlistwidget.h')
| -rw-r--r-- | src/kitemviews/kstandarditemlistwidget.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/kitemviews/kstandarditemlistwidget.h b/src/kitemviews/kstandarditemlistwidget.h index d146a02fb..c4f80af1d 100644 --- a/src/kitemviews/kstandarditemlistwidget.h +++ b/src/kitemviews/kstandarditemlistwidget.h @@ -139,7 +139,7 @@ protected: virtual QPalette::ColorRole normalTextColorRole() const; void setTextColor(const QColor &color); - QColor textColor(QWidget *widget) const; + QColor textColor(const QWidget &widget) const; void setOverlay(const QPixmap &overlay); QPixmap overlay() const; @@ -181,6 +181,7 @@ protected: QPointF pos; QStaticText staticText; }; + void updateAdditionalInfoTextColor(); public Q_SLOTS: void finishRoleEditing(); @@ -200,8 +201,6 @@ private: void updateCompactLayoutTextCache(); void updateDetailsLayoutTextCache(); - void updateAdditionalInfoTextColor(); - void drawPixmap(QPainter *painter, const QPixmap &pixmap); void drawSiblingsInformation(QPainter *painter); |
