summaryrefslogtreecommitdiff
path: root/src/viewmarkingscrollbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/viewmarkingscrollbar.h')
-rw-r--r--src/viewmarkingscrollbar.h52
1 files changed, 26 insertions, 26 deletions
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 <QTreeView>
-#include <QScrollBar>
-
-
-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 <QTreeView>
+#include <QScrollBar>
+
+
+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