Diffstat (limited to 'noncore/net/wellenreiter/gui/graphwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/graphwindow.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/graphwindow.h b/noncore/net/wellenreiter/gui/graphwindow.h index 392d85b..8b027ed 100644 --- a/noncore/net/wellenreiter/gui/graphwindow.h +++ b/noncore/net/wellenreiter/gui/graphwindow.h @@ -27,49 +27,49 @@ class MFrequencySpectrum : public QWidget void setValue( int channel, int value ) { if ( value > _values[channel] ) { _values[channel] = value; _dirty[channel] = true; } }; void decrease( int channel, int amount ) { if ( _values[channel] >= amount ) { _values[channel] -= amount; _dirty[channel] = true; } }; protected: virtual void paintEvent( QPaintEvent* ); virtual void mousePressEvent( QMouseEvent* ); void drawLine( QPainter* p, int x, int y, int width, const QColor& c ); void drawTopLine( QPainter* p, int x, int y, int width, const QColor& c ); void drawBottomLine( QPainter* p, int x, int y, int width, const QColor& c ); - void MFrequencySpectrum::drawBar( QPainter* p, int x, int y, int width, int height, int maxheight ); + void drawBar( QPainter* p, int x, int y, int width, int height, int maxheight ); private: int _channels; int* _values; bool* _dirty; }; class Legende : public QFrame { public: Legende( int channels, QWidget* parent = 0, const char* name = "Legende", WFlags f = 0 ); protected: virtual void drawContents( QPainter* ); private: int _channels; }; class MGraphWindow : public QVBox { Q_OBJECT |