28 lines
434 B
C++
28 lines
434 B
C++
#ifndef UISTATEMODEL_H
|
|
#define UISTATEMODEL_H
|
|
|
|
#include <QObject>
|
|
#include <QUrl>
|
|
|
|
class UiStateModel : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
Q_PROPERTY(QUrl pSource READ getSource NOTIFY sourceChanged)
|
|
|
|
signals:
|
|
void sourceChanged();
|
|
|
|
public:
|
|
UiStateModel(QObject *parent = Q_NULLPTR);
|
|
|
|
QUrl getSource() const;
|
|
|
|
void showMusicPlayer();
|
|
void showNavigation();
|
|
|
|
private:
|
|
QUrl mSource;
|
|
};
|
|
|
|
#endif // UISTATEMODEL_H
|