From cfca7157b98c9dc8e0852fe6484bc3f75008af7d Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 18 Sep 2021 00:22:33 +0200 Subject: Change indentation to 4 spaces --- src/ui/LoadingIndicator.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/ui/LoadingIndicator.h') diff --git a/src/ui/LoadingIndicator.h b/src/ui/LoadingIndicator.h index ba56b449..458ecd40 100644 --- a/src/ui/LoadingIndicator.h +++ b/src/ui/LoadingIndicator.h @@ -12,30 +12,30 @@ class QTimer; class QPaintEvent; class LoadingIndicator : public QWidget { - Q_OBJECT - Q_PROPERTY(QColor color READ color WRITE setColor) + Q_OBJECT + Q_PROPERTY(QColor color READ color WRITE setColor) public: - LoadingIndicator(QWidget *parent = nullptr); + LoadingIndicator(QWidget *parent = nullptr); - void paintEvent(QPaintEvent *e) override; + void paintEvent(QPaintEvent *e) override; - void start(); - void stop(); + void start(); + void stop(); - QColor color() { return color_; } - void setColor(QColor color) { color_ = color; } + QColor color() { return color_; } + void setColor(QColor color) { color_ = color; } - int interval() { return interval_; } - void setInterval(int interval) { interval_ = interval; } + int interval() { return interval_; } + void setInterval(int interval) { interval_ = interval; } private slots: - void onTimeout(); + void onTimeout(); private: - int interval_; - int angle_; + int interval_; + int angle_; - QColor color_; - QTimer *timer_; + QColor color_; + QTimer *timer_; }; -- cgit 1.5.1