Header cleanup
[amarok.git] / src / volumewidget.h
blob83de03dc8b385db1f6e7319b08395a5273110b82
1 /***************************************************************************
2 * copyright : (C) 2004 Mark Kretschmann <markey@web.de> *
3 (C) 2007 Dan Meltzer <hydrogen@notyetimplemented.com> *
4 **************************************************************************/
6 /***************************************************************************
7 * *
8 * This program is free software; you can redistribute it and/or modify *
9 * it under the terms of the GNU General Public License as published by *
10 * the Free Software Foundation; either version 2 of the License, or *
11 * (at your option) any later version. *
12 * *
13 ***************************************************************************/
15 #ifndef VOLUMEWIDGET_H
16 #define VOLUMEWIDGET_H
18 #include "sliderwidget.h"
19 #include "engineobserver.h"
21 #include <QPointer>
22 #include <QWidget>
25 * A custom widget that serves as our volume slider within Amarok.
27 class VolumeWidget : public QWidget, public EngineObserver
29 Q_OBJECT
30 public:
31 VolumeWidget( QWidget * );
33 private:
34 void engineVolumeChanged( int value );
35 QPointer<Amarok::Slider> m_slider;
39 #endif