- void updateOnTimer();
- void play();
- void stop();
- void prev();
- void next();
- void playlist();
- void updateVolume( int sliderVolume );
-};
-
-
-class VolumeClickHandler : public QObject
-{
-public:
- VolumeClickHandler( MainInterface *_m ) :QObject(_m) {m = _m; }
- virtual ~VolumeClickHandler() {};
- bool eventFilter( QObject *obj, QEvent *e )
- {
- if (e->type() == QEvent::MouseButtonPress )
- {
- if( obj->objectName() == "volLowLabel" )
- {
- m->ui.volumeSlider->setValue( 0 );
- }
- else
- m->ui.volumeSlider->setValue( 100 );
- return true;
- }
- return false;
- }
-private:
- MainInterface *m;
+#if 0
+ void visual();
+#endif
+ void handleSystrayClick( QSystemTrayIcon::ActivationReason );
+ void updateSystrayMenu( int );
+ void updateSystrayTooltipName( QString );
+ void updateSystrayTooltipStatus( int );
+ void showSpeedMenu( QPoint );
+ void showTimeMenu( QPoint );