// (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 class VolumeAction : public TDEToggleAction { Q_OBJECT TQWidget *m_anchor; class VolumeSlider *m_widget; virtual bool eventFilter( TQObject *o, TQEvent *e ); virtual int plug( TQWidget*, int ); private slots: void toggled( bool ); void sliderMoved( int ); void sliderReleased() { setChecked( false ); toggled( false ); } public: VolumeAction( TDEToolBar *anchor, TDEActionCollection *ac ); }; #endif