diff options
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 *); }; |
