Add first commit - Alpha Version
[vlc-remote] / playermainwindow.h
1 #ifndef PLAYERMAINWINDOW_H
2 #define PLAYERMAINWINDOW_H
3
4 #include <QMainWindow>
5 #include <QtNetwork>
6 #include <QtXml>
7 #include <QTimer>
8 #include "playlistmainwindow.h"
9 namespace Ui {
10     class PlayerMainWindow;
11 }
12
13 class PlayerMainWindow : public QMainWindow {
14     Q_OBJECT
15 public:
16     explicit PlayerMainWindow(QWidget *parent = 0);
17     ~PlayerMainWindow();
18
19 public slots:
20     void askStatus();
21     void showConfig();
22     void showAbout();
23     void play();
24     void stop();
25     void pause();
26     void previous();
27     void next();
28     void fullscreen();
29     void volUp();
30     void volDown();
31     void slide(int value);
32
33
34 protected slots:
35     void parseXmlStatus();
36 protected:
37     void changeEvent(QEvent *e);
38
39 private:
40     Ui::PlayerMainWindow *ui;
41     PlayListMainWindow * mPlayListMainWindow;
42     QNetworkAccessManager * mNetManager;
43     QString mIp;
44     QTimer * mTimer;
45
46 };
47
48 #endif // PLAYERMAINWINDOW_H