blob: 6c0c3761b919bcf17e66d46e8dda515616eee492 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// (C) 2005 Max Howell (max.howell@methylblue.com)
// See COPYING file for licensing information
#ifndef CODEINE_VOLUME_ACTION_H
#define CODEINE_VOLUME_ACTION_H
#include <kactionclasses.h>
class VolumeAction : public KToggleAction
{
Q_OBJECT
QWidget *m_anchor;
class VolumeSlider *m_widget;
virtual bool eventFilter( QObject *o, QEvent *e );
virtual int plug( QWidget*, int );
private slots:
void toggled( bool );
void sliderMoved( int );
void sliderReleased() { setChecked( false ); toggled( false ); }
public:
VolumeAction( KToolBar *anchor, KActionCollection *ac );
};
#endif
|