|
a/GUI/playerwidget/playervwidget.h |
|
b/GUI/playerwidget/playervwidget.h |
|
... |
|
... |
13 |
* along with this program; if not, write to the
|
13 |
* along with this program; if not, write to the
|
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
|
17 |
|
18 |
#ifndef _PLAYERWIDGET_H_INCLUDED_
|
18 |
#ifndef _PLAYERVWIDGET_H_INCLUDED_
|
19 |
#define _PLAYERWIDGET_H_INCLUDED_
|
19 |
#define _PLAYERVWIDGET_H_INCLUDED_
|
20 |
#include <QWidget>
|
20 |
#include <QWidget>
|
21 |
|
21 |
|
22 |
#include "ui_playerwidget.h"
|
22 |
#include "ui_playervwidget.h"
|
23 |
|
23 |
|
24 |
class VolumeWidgetIF;
|
24 |
class VolumeWidgetIF;
|
25 |
class ProgressWidgetIF;
|
25 |
class ProgressWidgetIF;
|
26 |
class MDataWidgetIF;
|
26 |
class MDataWidgetIF;
|
27 |
class PlayCtlWidgetIF;
|
27 |
class PlayCtlWidgetIF;
|
28 |
|
28 |
|
29 |
class PlayerWidget : public QWidget, public Ui::PlayerWidget {
|
29 |
class PlayerVWidget : public QWidget, public Ui::PlayerVWidget {
|
30 |
Q_OBJECT;
|
30 |
Q_OBJECT;
|
31 |
public:
|
31 |
public:
|
32 |
PlayerWidget(QWidget *parent = 0);
|
32 |
PlayerVWidget(QWidget *parent = 0);
|
33 |
|
33 |
|
34 |
VolumeWidgetIF* volume() {
|
34 |
VolumeWidgetIF* volume() {
|
35 |
return volumectl_w;
|
35 |
return volumectl_w;
|
36 |
}
|
36 |
}
|
37 |
PlayCtlWidgetIF* playctl() {
|
37 |
PlayCtlWidgetIF* playctl() {
|
|
... |
|
... |
41 |
return progress_w;
|
41 |
return progress_w;
|
42 |
}
|
42 |
}
|
43 |
MDataWidget* mdata() {
|
43 |
MDataWidget* mdata() {
|
44 |
return mdata_w;
|
44 |
return mdata_w;
|
45 |
}
|
45 |
}
|
|
|
46 |
virtual QLayoutItem *takeCoverWidget() {
|
|
|
47 |
return horizontalLayout->takeAt(0);
|
|
|
48 |
}
|
46 |
};
|
49 |
};
|
47 |
|
50 |
|
48 |
#endif /* _PLAYERWIDGET_H_INCLUDED_ */
|
51 |
#endif /* _PLAYERWIDGET_H_INCLUDED_ */
|