|
a/GUI/playerwidget/plyr.cpp |
|
b/GUI/playerwidget/plyr.cpp |
|
... |
|
... |
24 |
|
24 |
|
25 |
#include <QApplication>
|
25 |
#include <QApplication>
|
26 |
#include <QObject>
|
26 |
#include <QObject>
|
27 |
#include <QTimer>
|
27 |
#include <QTimer>
|
28 |
|
28 |
|
29 |
#include "playerwidget.h"
|
29 |
#include "playerhwidget.h"
|
30 |
#include "../../HelperStructs/Helper.h"
|
30 |
#include "../../HelperStructs/Helper.h"
|
31 |
#include "../../HelperStructs/MetaData.h"
|
31 |
#include "../../HelperStructs/MetaData.h"
|
32 |
|
32 |
|
33 |
static const char *thisprog;
|
33 |
static const char *thisprog;
|
34 |
|
34 |
|
|
... |
|
... |
79 |
MetaData md;
|
79 |
MetaData md;
|
80 |
md.album = "The album title";
|
80 |
md.album = "The album title";
|
81 |
md.title = "The Track Title";
|
81 |
md.title = "The Track Title";
|
82 |
md.artist = " The Great artist";
|
82 |
md.artist = " The Great artist";
|
83 |
|
83 |
|
84 |
PlayerWidget w;
|
84 |
PlayerHWidget w;
|
85 |
w.mdata()->setData(md);
|
85 |
w.mdata()->setData(md);
|
86 |
w.show();
|
86 |
w.show();
|
87 |
|
87 |
|
88 |
return app.exec();
|
88 |
return app.exec();
|
89 |
}
|
89 |
}
|