diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-09-23 12:46:51 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2012-09-23 12:46:51 +0000 |
| commit | f3a28b4bd844cae3e1b17f1ffdf96703b0fc2a1f (patch) | |
| tree | 5aca441c5cae158d5e8a945a382cf4c47c0d1eef /src/plugins/Visual/analyzer/colorwidget.h | |
| parent | 991f44aa5ddb95cfd7fe2c1b665be5f2dacfc10c (diff) | |
| download | qmmp-f3a28b4bd844cae3e1b17f1ffdf96703b0fc2a1f.tar.gz qmmp-f3a28b4bd844cae3e1b17f1ffdf96703b0fc2a1f.tar.bz2 qmmp-f3a28b4bd844cae3e1b17f1ffdf96703b0fc2a1f.zip | |
fixed color widget
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2938 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Visual/analyzer/colorwidget.h')
| -rw-r--r-- | src/plugins/Visual/analyzer/colorwidget.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/plugins/Visual/analyzer/colorwidget.h b/src/plugins/Visual/analyzer/colorwidget.h index 693ad5877..f7bff5b92 100644 --- a/src/plugins/Visual/analyzer/colorwidget.h +++ b/src/plugins/Visual/analyzer/colorwidget.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005 by Ilya Kotov * + * Copyright (C) 2005-2012 by Ilya Kotov * * qmmeter_freedevelop@mail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -21,11 +21,10 @@ #define COLORWIDGET_H #include <QFrame> -#include <QColorDialog> #include <QPaintEvent> /** -@author user +@author Ilya Kotov */ class ColorWidget : public QFrame { @@ -35,14 +34,13 @@ public: ~ColorWidget(); - QString colorName(); + const QString colorName() const; public slots: void setColor (QString); - -protected: - virtual void mousePressEvent ( QMouseEvent *); +private: + void mousePressEvent(QMouseEvent *); }; |
