PlayerFlat
 Tudo Classes Funções
controls.h
1 #ifndef CONTROLS_H
2 #define CONTROLS_H
3 #include "abstractcontrol.h"
4 
5 #include <QTime>
6 
7 namespace Ui {
8 class Controls;
9 }
10 
11 class Controls : public AbstractControl{
12  Q_OBJECT
13 
14 public:
15  explicit Controls(QWidget *parent = 0);
16  ~Controls();
17 
18 private:
19  Ui::Controls *ui;
20  qint64 duration;
21  int sliderPressed;
22 public slots:
23  void onPlayPauseClicked(void);
24  void onPrevClicked(void);
25  void onNextClicked(void);
26  void onVolumeChanged(int value);
27  void onElapsedChanged(qint64 value);
28  void onDurationChanged(qint64 value);
29 protected slots:
30  void onSliderReleased();
31 signals:
32  void playPause();
33  void next();
34  void prev();
35  void stop();
36  void volumeSelected(int);
37  void elapsedSelected(qint64);
38 };
39 
40 #endif // CONTROLS_H
Definition: abstractcontrol.h:7
Definition: controls.h:11