1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2024-05-17 03:22:42 +00:00
harbour-sailfin/core/src/viewmodel
Chris Josten 90db983c30 Replace not-fully-initializing DTO constructors
There were some constructors in the DTOs which allowed construction of
DTO which weren't fully initialized. These constructors have been made
private, as they are still used in the 'fromJson' methods. Additionally,
a constructor with all required parameters to fully initialize the
class has been added.

Additionally, the Loader class has been modified, since it no longer can
assume it is able to default construct the parameter type. The parameter
is now stored as an optional.

Closes #15
2021-09-25 17:07:12 +02:00
..
item.cpp Replace not-fully-initializing DTO constructors 2021-09-25 17:07:12 +02:00
itemmodel.cpp Update UserData based when notified over websocket 2021-09-10 05:17:28 +02:00
loader.cpp WIP: Refractor C++-side. Loader should be working again 2021-03-25 17:45:53 +01:00
mediastream.cpp Add track selection back 2021-08-23 01:48:19 +02:00
modelstatus.cpp WIP: Code cleanup, trying to debug Q_ENUM not visible from QML 2021-03-29 14:27:37 +02:00
platformmediacontrol_freedesktop.cpp Add MPRIS support 2021-08-31 01:29:51 +02:00
platformmediacontrol_stub.cpp Add MPRIS support 2021-08-31 01:29:51 +02:00
playbackmanager.cpp Replace not-fully-initializing DTO constructors 2021-09-25 17:07:12 +02:00
playlist.cpp Implement playlist model and UI 2021-08-21 22:01:13 +02:00
settings.cpp Add user-configurable playback settings 2021-09-08 21:44:42 +02:00
user.cpp Replace not-fully-initializing DTO constructors 2021-09-25 17:07:12 +02:00
userdata.cpp Replace not-fully-initializing DTO constructors 2021-09-25 17:07:12 +02:00
usermodel.cpp Add UserLoader back + misc regression fixes 2021-08-18 00:04:27 +02:00