diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-02-25 00:19:27 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-02-25 00:19:27 +0100 |
commit | 9d20e99fffeebe67fd8ff27cb4f9e353892f5190 (patch) | |
tree | 23462fac2e862a2f408a26f94ab024c4174c3458 /src/notificationbar.h | |
parent | rekonq 0.6.82 (diff) | |
download | rekonq-9d20e99fffeebe67fd8ff27cb4f9e353892f5190.tar.xz |
Coding style
Diffstat (limited to 'src/notificationbar.h')
-rw-r--r-- | src/notificationbar.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/notificationbar.h b/src/notificationbar.h index 2d0e2c3f..4b098584 100644 --- a/src/notificationbar.h +++ b/src/notificationbar.h @@ -44,12 +44,15 @@ class BlinkEffect : public QGraphicsEffect public: BlinkEffect(QObject *parent = 0) - : QGraphicsEffect(parent) - , m_opacity(0) - , m_backgroundColor(QApplication::palette().highlight().color().lighter()) + : QGraphicsEffect(parent) + , m_opacity(0) + , m_backgroundColor(QApplication::palette().highlight().color().lighter()) {} - qreal opacity() const { return m_opacity; } + qreal opacity() const + { + return m_opacity; + } void setOpacity(qreal opacity) { m_opacity = opacity; @@ -59,7 +62,7 @@ public: protected: void draw(QPainter *painter) { - painter->drawPixmap(QPoint(0,0), sourcePixmap()); + painter->drawPixmap(QPoint(0, 0), sourcePixmap()); painter->setOpacity(m_opacity); painter->fillRect(boundingRect(), m_backgroundColor); } |