diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-09-30 16:38:10 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2015-09-30 16:38:10 +0000 |
| commit | 97adebbb8689671e6045d09f84456f28566aa3ed (patch) | |
| tree | e4202f9e64512ceb82f7be8bac42076b1af22bbe /src/plugins/Ui/skinned/titlebar.h | |
| parent | e3da4a8739f801d83ee4386a559e9cd010398101 (diff) | |
| download | qmmp-97adebbb8689671e6045d09f84456f28566aa3ed.tar.gz qmmp-97adebbb8689671e6045d09f84456f28566aa3ed.tar.bz2 qmmp-97adebbb8689671e6045d09f84456f28566aa3ed.zip | |
skinned: improved time indicator in shaded mode (Thomas Perl) (#811)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5621 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/titlebar.h')
| -rw-r--r-- | src/plugins/Ui/skinned/titlebar.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/Ui/skinned/titlebar.h b/src/plugins/Ui/skinned/titlebar.h index d624ea69e..241ccc6bf 100644 --- a/src/plugins/Ui/skinned/titlebar.h +++ b/src/plugins/Ui/skinned/titlebar.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2012 by Ilya Kotov * + * Copyright (C) 2007-2015 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -33,6 +33,7 @@ class Button; class SymbolDisplay; class TitleBarControl; class ShadedVisual; +class TimeIndicatorModel; /** @author Ilya Kotov <forkotov02@hotmail.ru> @@ -41,16 +42,14 @@ class TitleBar : public PixmapWidget { Q_OBJECT public: - TitleBar(QWidget *parent = 0); + TitleBar(TimeIndicatorModel *model, QWidget *parent = 0); ~TitleBar(); void setActive(bool); -public slots: - void setTime(qint64 time); - private slots: + void onModelChanged(); void updateSkin(); void showMainMenu(); void shade(); @@ -70,6 +69,7 @@ private: bool m_align; TitleBarControl *m_control; ShadedVisual *m_visual; + TimeIndicatorModel *m_model; void updatePositions(); protected: |
