From 86bb01ba9eac879d3685c439ac9da0028bc4bc80 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Tue, 17 May 2022 11:37:19 +0200 Subject: Convert everything to CRLF. --- src/viewmarkingscrollbar.h | 52 +++++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'src/viewmarkingscrollbar.h') diff --git a/src/viewmarkingscrollbar.h b/src/viewmarkingscrollbar.h index 01b5a8c0..3ffd4e97 100644 --- a/src/viewmarkingscrollbar.h +++ b/src/viewmarkingscrollbar.h @@ -1,26 +1,26 @@ -#ifndef VIEWMARKINGSCROLLBAR_H -#define VIEWMARKINGSCROLLBAR_H - -#include -#include - - -class ViewMarkingScrollBar : public QScrollBar -{ -public: - ViewMarkingScrollBar(QTreeView* view, int role); - -protected: - void paintEvent(QPaintEvent *event) override; - - // retrieve the color of the marker for the given index - // - virtual QColor color(const QModelIndex& index) const; - -private: - QTreeView* m_view; - int m_role; -}; - - -#endif // VIEWMARKINGSCROLLBAR_H +#ifndef VIEWMARKINGSCROLLBAR_H +#define VIEWMARKINGSCROLLBAR_H + +#include +#include + + +class ViewMarkingScrollBar : public QScrollBar +{ +public: + ViewMarkingScrollBar(QTreeView* view, int role); + +protected: + void paintEvent(QPaintEvent *event) override; + + // retrieve the color of the marker for the given index + // + virtual QColor color(const QModelIndex& index) const; + +private: + QTreeView* m_view; + int m_role; +}; + + +#endif // VIEWMARKINGSCROLLBAR_H -- cgit v1.3.1