Refactoring and documentation
This commit is contained in:
parent
87a208d305
commit
3fb5be5a74
10 changed files with 149 additions and 75 deletions
|
|
@ -4,6 +4,12 @@
|
|||
#include <QObject>
|
||||
#include <QUrl>
|
||||
|
||||
/**
|
||||
* @brief Handles state of UI by providing the qml source.
|
||||
*
|
||||
* Provides the possibility to switch between different
|
||||
* ui states such as music player or navigation.
|
||||
*/
|
||||
class UiStateModel : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
@ -14,7 +20,7 @@ signals:
|
|||
void sourceChanged();
|
||||
|
||||
public:
|
||||
UiStateModel(QObject *parent = Q_NULLPTR);
|
||||
explicit UiStateModel(QObject *parent = nullptr);
|
||||
|
||||
QUrl getSource() const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue