mirror of
https://github.com/QuasarApp/SoundBand.git
synced 2025-05-09 05:29:34 +00:00
first commit of models
This commit is contained in:
parent
f02e1a0e8e
commit
8f6e61e8ed
@ -27,7 +27,10 @@ SOURCES += main.cpp \
|
||||
../sync/song.cpp \
|
||||
../sync/sync.cpp \
|
||||
../sync/Log.cpp\
|
||||
../sync/exaptions.cpp
|
||||
../sync/exaptions.cpp \
|
||||
playlistmodel.cpp \
|
||||
serverlistmodel.cpp \
|
||||
playlistsmodel.cpp
|
||||
|
||||
|
||||
RESOURCES += qml.qrc
|
||||
@ -57,5 +60,8 @@ HEADERS += \
|
||||
../sync/player.h \
|
||||
../sync/song.h \
|
||||
../sync/sync.h \
|
||||
../sync/Log.h
|
||||
../sync/Log.h \
|
||||
playlistmodel.h \
|
||||
serverlistmodel.h \
|
||||
playlistsmodel.h
|
||||
|
||||
|
6
SoundBand/playlistmodel.cpp
Normal file
6
SoundBand/playlistmodel.cpp
Normal file
@ -0,0 +1,6 @@
|
||||
#include "playlistmodel.h"
|
||||
|
||||
PlayListModel::PlayListModel(QObject *parent) : QObject(parent)
|
||||
{
|
||||
|
||||
}
|
17
SoundBand/playlistmodel.h
Normal file
17
SoundBand/playlistmodel.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef PLAYLISTMODEL_H
|
||||
#define PLAYLISTMODEL_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class PlayListModel : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit PlayListModel(QObject *parent = nullptr);
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
};
|
||||
|
||||
#endif // PLAYLISTMODEL_H
|
6
SoundBand/playlistsmodel.cpp
Normal file
6
SoundBand/playlistsmodel.cpp
Normal file
@ -0,0 +1,6 @@
|
||||
#include "playlistsmodel.h"
|
||||
|
||||
PlayListsModel::PlayListsModel(QObject *parent) : QObject(parent)
|
||||
{
|
||||
|
||||
}
|
17
SoundBand/playlistsmodel.h
Normal file
17
SoundBand/playlistsmodel.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef PLAYLISTSMODEL_H
|
||||
#define PLAYLISTSMODEL_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class PlayListsModel : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit PlayListsModel(QObject *parent = nullptr);
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
};
|
||||
|
||||
#endif // PLAYLISTSMODEL_H
|
6
SoundBand/serverlistmodel.cpp
Normal file
6
SoundBand/serverlistmodel.cpp
Normal file
@ -0,0 +1,6 @@
|
||||
#include "serverlistmodel.h"
|
||||
|
||||
ServerListModel::ServerListModel(QObject *parent) : QObject(parent)
|
||||
{
|
||||
|
||||
}
|
17
SoundBand/serverlistmodel.h
Normal file
17
SoundBand/serverlistmodel.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef SERVERLISTMODEL_H
|
||||
#define SERVERLISTMODEL_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class ServerListModel : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit ServerListModel(QObject *parent = nullptr);
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
};
|
||||
|
||||
#endif // SERVERLISTMODEL_H
|
Loading…
x
Reference in New Issue
Block a user