projects
/
someplayer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Minor fixes in database storage
[someplayer]
/
src
/
mainwindow.h
diff --git
a/src/mainwindow.h
b/src/mainwindow.h
index
c9fd6a9
..
033630d
100644
(file)
--- a/
src/mainwindow.h
+++ b/
src/mainwindow.h
@@
-2,21
+2,38
@@
#define MAINWINDOW_H
#include <QMainWindow>
#define MAINWINDOW_H
#include <QMainWindow>
+#include <QMessageBox>
+#include "playerform.h"
+#include "libraryform.h"
+#include "library.h"
namespace Ui {
namespace Ui {
- class MainWindow;
+ class MainWindow;
}
}
+using SomePlayer::DataObjects::Library;
+
class MainWindow : public QMainWindow
{
class MainWindow : public QMainWindow
{
- Q_OBJECT
+ Q_OBJECT
public:
public:
- explicit MainWindow(QWidget *parent = 0);
- ~MainWindow();
+ explicit MainWindow(QWidget *parent = 0);
+ ~MainWindow();
+
+private:
+ Ui::MainWindow *ui;
+public slots:
+ void openMedia();
+ void aboutQt();
+ void about();
+ void player();
+ void library();
private:
private:
- Ui::MainWindow *ui;
+ PlayerForm *_playerForm;
+ LibraryForm *_libraryForm;
+ Library *_library;
};
#endif // MAINWINDOW_H
};
#endif // MAINWINDOW_H