diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-08-13 10:46:51 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-08-13 10:46:51 +0000 |
| commit | 6cf6bc2f667ea229d3864a8767982bdecab7b146 (patch) | |
| tree | afd9602f80bad18e6c69d74feb9d85c561cf65ff /src/plugins/Ui/skinned/togglebutton.h | |
| parent | 90dedc4493d21f3057d86ce4289eee6471a243b5 (diff) | |
| download | qmmp-6cf6bc2f667ea229d3864a8767982bdecab7b146.tar.gz qmmp-6cf6bc2f667ea229d3864a8767982bdecab7b146.tar.bz2 qmmp-6cf6bc2f667ea229d3864a8767982bdecab7b146.zip | |
coding style fixes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9472 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/togglebutton.h')
| -rw-r--r-- | src/plugins/Ui/skinned/togglebutton.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/Ui/skinned/togglebutton.h b/src/plugins/Ui/skinned/togglebutton.h index b46fd4fbc..0ddca9308 100644 --- a/src/plugins/Ui/skinned/togglebutton.h +++ b/src/plugins/Ui/skinned/togglebutton.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006 by Ilya Kotov * + * Copyright (C) 2006-2020 by Ilya Kotov * * forkotov02@ya.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -31,10 +31,10 @@ class ToggleButton : public PixmapWidget { Q_OBJECT public: - ToggleButton( QWidget *parent, uint on_n, uint on_p, uint off_n, uint off_p ); + ToggleButton(QWidget *parent, uint on_n, uint on_p, uint off_n, uint off_p); ~ToggleButton(); - bool isChecked(); + bool isChecked() const; public slots: void setChecked(bool); @@ -47,10 +47,10 @@ private slots: void updateSkin(); private: - Skin *skin; + Skin *m_skin; bool m_cursorin, m_old_on; uint m_on_n, m_on_p, m_off_n, m_off_p; - bool m_on; + bool m_on = false; protected: void mousePressEvent(QMouseEvent*) override; |
