diff options
| author | Błażej Szczygieł <spaz16@wp.pl> | 2017-01-11 21:45:27 +0100 |
|---|---|---|
| committer | Błażej Szczygieł <spaz16@wp.pl> | 2017-03-11 09:23:02 +0000 |
| commit | 335dbece103e2cbf6c7cf819ab6672c2956b17b3 (patch) | |
| tree | f6ecc6a247235c3dae0d607694356496dcf5d767 /src/plugins/styles/motif/qmotifstyle.h | |
| parent | 5ef7b26b9792b5aae4d289413a3a0691766b072e (diff) | |
Move plastique and cleanlooks timer event to "event()" method, because
"timerEvent()" doesn't work on class derivated from "QProxyStyle".
Also unify plastique, cleanlooks and motif animation timer methods.
This allows to kill timer for plastique and motif styles when it will
be no longer necessary (as in cleanlooks style).
Change-Id: I1365e57d56bf35bf07c3efc604482a5405608930
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/plugins/styles/motif/qmotifstyle.h')
| -rw-r--r-- | src/plugins/styles/motif/qmotifstyle.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/styles/motif/qmotifstyle.h b/src/plugins/styles/motif/qmotifstyle.h index 4efabe0..96de559 100644 --- a/src/plugins/styles/motif/qmotifstyle.h +++ b/src/plugins/styles/motif/qmotifstyle.h @@ -106,6 +106,8 @@ protected: QPointer<QFocusFrame> focus; void timerEvent(QTimerEvent *event) Q_DECL_OVERRIDE; bool eventFilter(QObject *o, QEvent *e) Q_DECL_OVERRIDE; + void startProgressAnimation(QProgressBar *bar); + void stopProgressAnimation(QProgressBar *bar); private: bool highlightCols; |
