-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainwindow.h
37 lines (34 loc) · 862 Bytes
/
mainwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "ui_mainwindow.h"
#include "player.h"
#include "library.h"
#include "remote.h"
#include "minilecteur.h"
#include <QtGui>
class MainWindow : public QMainWindow, private Ui::MainWindow
{
Q_OBJECT
private:
Player player;
Library library;
QMetaObject::Connection nextConnection;
QMetaObject::Connection previousConnection;
MiniLecteur mLecteur;
QRect firstGeometry;
public:
explicit MainWindow(QWidget *parent = 0);
void mkconnections();
void open(const QString & filename);
void createRemote();
public slots:
void openFile();
void addFiles();
void addFolder();
void mkPlaylist(const Song &song);
void changePlayerConnections(bool connected);
void showWind(bool max);
protected:
void resizeEvent(QResizeEvent *e);
};
#endif // MAINWINDOW_H