1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-04 09:42:45 +00:00

WIP: Reimplementation of ListModels.

This commit is contained in:
Chris Josten 2021-03-26 21:27:35 +01:00
parent 76a49868b9
commit e421adf733
356 changed files with 1830 additions and 1833 deletions

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QStringList>
#include <optional>
@ -62,11 +61,11 @@ public:
/**
* @brief Gets or sets the items.
*/
QList<QSharedPointer<ActivityLogEntry>> items() const;
QList<ActivityLogEntry> items() const;
/**
* @brief Gets or sets the items.
*/
void setItems(QList<QSharedPointer<ActivityLogEntry>> newItems);
void setItems(QList<ActivityLogEntry> newItems);
bool itemsNull() const;
void setItemsNull();
@ -90,7 +89,7 @@ public:
protected:
QList<QSharedPointer<ActivityLogEntry>> m_items;
QList<ActivityLogEntry> m_items;
qint32 m_totalRecordCount;
qint32 m_startIndex;
};

View file

@ -34,7 +34,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -176,9 +175,9 @@ public:
void setArtistProviderIdsNull();
QList<QSharedPointer<SongInfo>> songInfos() const;
QList<SongInfo> songInfos() const;
void setSongInfos(QList<QSharedPointer<SongInfo>> newSongInfos);
void setSongInfos(QList<SongInfo> newSongInfos);
bool songInfosNull() const;
void setSongInfosNull();
@ -196,7 +195,7 @@ protected:
bool m_isAutomated;
QStringList m_albumArtists;
std::optional<QJsonObject> m_artistProviderIds = std::nullopt;
QList<QSharedPointer<SongInfo>> m_songInfos;
QList<SongInfo> m_songInfos;
};
} // NS DTO

View file

@ -34,7 +34,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -154,9 +153,9 @@ public:
void setIsAutomated(bool newIsAutomated);
QList<QSharedPointer<SongInfo>> songInfos() const;
QList<SongInfo> songInfos() const;
void setSongInfos(QList<QSharedPointer<SongInfo>> newSongInfos);
void setSongInfos(QList<SongInfo> newSongInfos);
bool songInfosNull() const;
void setSongInfosNull();
@ -172,7 +171,7 @@ protected:
std::optional<qint32> m_parentIndexNumber = std::nullopt;
QDateTime m_premiereDate;
bool m_isAutomated;
QList<QSharedPointer<SongInfo>> m_songInfos;
QList<SongInfo> m_songInfos;
};
} // NS DTO

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QStringList>
#include <optional>
@ -62,11 +61,11 @@ public:
/**
* @brief Gets or sets the items.
*/
QList<QSharedPointer<AuthenticationInfo>> items() const;
QList<AuthenticationInfo> items() const;
/**
* @brief Gets or sets the items.
*/
void setItems(QList<QSharedPointer<AuthenticationInfo>> newItems);
void setItems(QList<AuthenticationInfo> newItems);
bool itemsNull() const;
void setItemsNull();
@ -90,7 +89,7 @@ public:
protected:
QList<QSharedPointer<AuthenticationInfo>> m_items;
QList<AuthenticationInfo> m_items;
qint32 m_totalRecordCount;
qint32 m_startIndex;
};

View file

@ -34,7 +34,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -83,11 +82,11 @@ public:
/**
* @brief Gets or sets the remote trailers.
*/
QList<QSharedPointer<MediaUrl>> remoteTrailers() const;
QList<MediaUrl> remoteTrailers() const;
/**
* @brief Gets or sets the remote trailers.
*/
void setRemoteTrailers(QList<QSharedPointer<MediaUrl>> newRemoteTrailers);
void setRemoteTrailers(QList<MediaUrl> newRemoteTrailers);
bool remoteTrailersNull() const;
void setRemoteTrailersNull();
@ -135,7 +134,7 @@ protected:
std::optional<qint64> m_size = std::nullopt;
QString m_container;
QDateTime m_dateLastSaved;
QList<QSharedPointer<MediaUrl>> m_remoteTrailers;
QList<MediaUrl> m_remoteTrailers;
bool m_isHD;
bool m_isShortcut;
QString m_shortcutPath;

View file

@ -285,22 +285,22 @@ public:
/**
* @brief Gets or sets the external urls.
*/
QList<QSharedPointer<ExternalUrl>> externalUrls() const;
QList<ExternalUrl> externalUrls() const;
/**
* @brief Gets or sets the external urls.
*/
void setExternalUrls(QList<QSharedPointer<ExternalUrl>> newExternalUrls);
void setExternalUrls(QList<ExternalUrl> newExternalUrls);
bool externalUrlsNull() const;
void setExternalUrlsNull();
/**
* @brief Gets or sets the media versions.
*/
QList<QSharedPointer<MediaSourceInfo>> mediaSources() const;
QList<MediaSourceInfo> mediaSources() const;
/**
* @brief Gets or sets the media versions.
*/
void setMediaSources(QList<QSharedPointer<MediaSourceInfo>> newMediaSources);
void setMediaSources(QList<MediaSourceInfo> newMediaSources);
bool mediaSourcesNull() const;
void setMediaSourcesNull();
@ -538,11 +538,11 @@ public:
/**
* @brief Gets or sets the trailer urls.
*/
QList<QSharedPointer<MediaUrl>> remoteTrailers() const;
QList<MediaUrl> remoteTrailers() const;
/**
* @brief Gets or sets the trailer urls.
*/
void setRemoteTrailers(QList<QSharedPointer<MediaUrl>> newRemoteTrailers);
void setRemoteTrailers(QList<MediaUrl> newRemoteTrailers);
bool remoteTrailersNull() const;
void setRemoteTrailersNull();
@ -604,29 +604,29 @@ public:
/**
* @brief Gets or sets the people.
*/
QList<QSharedPointer<BaseItemPerson>> people() const;
QList<BaseItemPerson> people() const;
/**
* @brief Gets or sets the people.
*/
void setPeople(QList<QSharedPointer<BaseItemPerson>> newPeople);
void setPeople(QList<BaseItemPerson> newPeople);
bool peopleNull() const;
void setPeopleNull();
/**
* @brief Gets or sets the studios.
*/
QList<QSharedPointer<NameGuidPair>> studios() const;
QList<NameGuidPair> studios() const;
/**
* @brief Gets or sets the studios.
*/
void setStudios(QList<QSharedPointer<NameGuidPair>> newStudios);
void setStudios(QList<NameGuidPair> newStudios);
bool studiosNull() const;
void setStudiosNull();
QList<QSharedPointer<NameGuidPair>> genreItems() const;
QList<NameGuidPair> genreItems() const;
void setGenreItems(QList<QSharedPointer<NameGuidPair>> newGenreItems);
void setGenreItems(QList<NameGuidPair> newGenreItems);
bool genreItemsNull() const;
void setGenreItemsNull();
@ -825,11 +825,11 @@ public:
/**
* @brief Gets or sets the artist items.
*/
QList<QSharedPointer<NameGuidPair>> artistItems() const;
QList<NameGuidPair> artistItems() const;
/**
* @brief Gets or sets the artist items.
*/
void setArtistItems(QList<QSharedPointer<NameGuidPair>> newArtistItems);
void setArtistItems(QList<NameGuidPair> newArtistItems);
bool artistItemsNull() const;
void setArtistItemsNull();
@ -913,11 +913,11 @@ public:
/**
* @brief Gets or sets the album artists.
*/
QList<QSharedPointer<NameGuidPair>> albumArtists() const;
QList<NameGuidPair> albumArtists() const;
/**
* @brief Gets or sets the album artists.
*/
void setAlbumArtists(QList<QSharedPointer<NameGuidPair>> newAlbumArtists);
void setAlbumArtists(QList<NameGuidPair> newAlbumArtists);
bool albumArtistsNull() const;
void setAlbumArtistsNull();
@ -935,11 +935,11 @@ public:
/**
* @brief Gets or sets the media streams.
*/
QList<QSharedPointer<MediaStream>> mediaStreams() const;
QList<MediaStream> mediaStreams() const;
/**
* @brief Gets or sets the media streams.
*/
void setMediaStreams(QList<QSharedPointer<MediaStream>> newMediaStreams);
void setMediaStreams(QList<MediaStream> newMediaStreams);
bool mediaStreamsNull() const;
void setMediaStreamsNull();
@ -1114,11 +1114,11 @@ Maps image type to dictionary mapping image tag to blurhash value.
/**
* @brief Gets or sets the chapters.
*/
QList<QSharedPointer<ChapterInfo>> chapters() const;
QList<ChapterInfo> chapters() const;
/**
* @brief Gets or sets the chapters.
*/
void setChapters(QList<QSharedPointer<ChapterInfo>> newChapters);
void setChapters(QList<ChapterInfo> newChapters);
bool chaptersNull() const;
void setChaptersNull();
@ -1569,8 +1569,8 @@ protected:
QString m_forcedSortName;
Video3DFormat m_video3DFormat;
QDateTime m_premiereDate;
QList<QSharedPointer<ExternalUrl>> m_externalUrls;
QList<QSharedPointer<MediaSourceInfo>> m_mediaSources;
QList<ExternalUrl> m_externalUrls;
QList<MediaSourceInfo> m_mediaSources;
std::optional<float> m_criticRating = std::nullopt;
QStringList m_productionLocations;
QString m_path;
@ -1594,15 +1594,15 @@ protected:
std::optional<qint32> m_indexNumber = std::nullopt;
std::optional<qint32> m_indexNumberEnd = std::nullopt;
std::optional<qint32> m_parentIndexNumber = std::nullopt;
QList<QSharedPointer<MediaUrl>> m_remoteTrailers;
QList<MediaUrl> m_remoteTrailers;
std::optional<QJsonObject> m_providerIds = std::nullopt;
std::optional<bool> m_isHD = std::nullopt;
std::optional<bool> m_isFolder = std::nullopt;
QString m_parentId;
QString m_type;
QList<QSharedPointer<BaseItemPerson>> m_people;
QList<QSharedPointer<NameGuidPair>> m_studios;
QList<QSharedPointer<NameGuidPair>> m_genreItems;
QList<BaseItemPerson> m_people;
QList<NameGuidPair> m_studios;
QList<NameGuidPair> m_genreItems;
QString m_parentLogoItemId;
QString m_parentBackdropItemId;
QStringList m_parentBackdropImageTags;
@ -1621,7 +1621,7 @@ protected:
QStringList m_tags;
std::optional<double> m_primaryImageAspectRatio = std::nullopt;
QStringList m_artists;
QList<QSharedPointer<NameGuidPair>> m_artistItems;
QList<NameGuidPair> m_artistItems;
QString m_album;
QString m_collectionType;
QString m_displayOrder;
@ -1629,9 +1629,9 @@ protected:
QString m_albumPrimaryImageTag;
QString m_seriesPrimaryImageTag;
QString m_albumArtist;
QList<QSharedPointer<NameGuidPair>> m_albumArtists;
QList<NameGuidPair> m_albumArtists;
QString m_seasonName;
QList<QSharedPointer<MediaStream>> m_mediaStreams;
QList<MediaStream> m_mediaStreams;
VideoType m_videoType;
std::optional<qint32> m_partCount = std::nullopt;
std::optional<qint32> m_mediaSourceCount = std::nullopt;
@ -1648,7 +1648,7 @@ protected:
QString m_parentThumbImageTag;
QString m_parentPrimaryImageItemId;
QString m_parentPrimaryImageTag;
QList<QSharedPointer<ChapterInfo>> m_chapters;
QList<ChapterInfo> m_chapters;
LocationType m_locationType;
IsoType m_isoType;
QString m_mediaType;

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QStringList>
#include <optional>
@ -62,11 +61,11 @@ public:
/**
* @brief Gets or sets the items.
*/
QList<QSharedPointer<BaseItemDto>> items() const;
QList<BaseItemDto> items() const;
/**
* @brief Gets or sets the items.
*/
void setItems(QList<QSharedPointer<BaseItemDto>> newItems);
void setItems(QList<BaseItemDto> newItems);
bool itemsNull() const;
void setItemsNull();
@ -90,7 +89,7 @@ public:
protected:
QList<QSharedPointer<BaseItemDto>> m_items;
QList<BaseItemDto> m_items;
qint32 m_totalRecordCount;
qint32 m_startIndex;
};

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -65,33 +64,33 @@ public:
/**
* @brief Gets or sets list of tuner channels.
*/
QList<QSharedPointer<TunerChannelMapping>> tunerChannels() const;
QList<TunerChannelMapping> tunerChannels() const;
/**
* @brief Gets or sets list of tuner channels.
*/
void setTunerChannels(QList<QSharedPointer<TunerChannelMapping>> newTunerChannels);
void setTunerChannels(QList<TunerChannelMapping> newTunerChannels);
bool tunerChannelsNull() const;
void setTunerChannelsNull();
/**
* @brief Gets or sets list of provider channels.
*/
QList<QSharedPointer<NameIdPair>> providerChannels() const;
QList<NameIdPair> providerChannels() const;
/**
* @brief Gets or sets list of provider channels.
*/
void setProviderChannels(QList<QSharedPointer<NameIdPair>> newProviderChannels);
void setProviderChannels(QList<NameIdPair> newProviderChannels);
bool providerChannelsNull() const;
void setProviderChannelsNull();
/**
* @brief Gets or sets list of mappings.
*/
QList<QSharedPointer<NameValuePair>> mappings() const;
QList<NameValuePair> mappings() const;
/**
* @brief Gets or sets list of mappings.
*/
void setMappings(QList<QSharedPointer<NameValuePair>> newMappings);
void setMappings(QList<NameValuePair> newMappings);
bool mappingsNull() const;
void setMappingsNull();
@ -108,9 +107,9 @@ public:
protected:
QList<QSharedPointer<TunerChannelMapping>> m_tunerChannels;
QList<QSharedPointer<NameIdPair>> m_providerChannels;
QList<QSharedPointer<NameValuePair>> m_mappings;
QList<TunerChannelMapping> m_tunerChannels;
QList<NameIdPair> m_providerChannels;
QList<NameValuePair> m_mappings;
QString m_providerName;
};

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -67,16 +66,16 @@ public:
void setType(CodecType newType);
QList<QSharedPointer<ProfileCondition>> conditions() const;
QList<ProfileCondition> conditions() const;
void setConditions(QList<QSharedPointer<ProfileCondition>> newConditions);
void setConditions(QList<ProfileCondition> newConditions);
bool conditionsNull() const;
void setConditionsNull();
QList<QSharedPointer<ProfileCondition>> applyConditions() const;
QList<ProfileCondition> applyConditions() const;
void setApplyConditions(QList<QSharedPointer<ProfileCondition>> newApplyConditions);
void setApplyConditions(QList<ProfileCondition> newApplyConditions);
bool applyConditionsNull() const;
void setApplyConditionsNull();
@ -97,8 +96,8 @@ public:
protected:
CodecType m_type;
QList<QSharedPointer<ProfileCondition>> m_conditions;
QList<QSharedPointer<ProfileCondition>> m_applyConditions;
QList<ProfileCondition> m_conditions;
QList<ProfileCondition> m_applyConditions;
QString m_codec;
QString m_container;
};

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -67,9 +66,9 @@ public:
void setType(DlnaProfileType newType);
QList<QSharedPointer<ProfileCondition>> conditions() const;
QList<ProfileCondition> conditions() const;
void setConditions(QList<QSharedPointer<ProfileCondition>> newConditions);
void setConditions(QList<ProfileCondition> newConditions);
bool conditionsNull() const;
void setConditionsNull();
@ -83,7 +82,7 @@ public:
protected:
DlnaProfileType m_type;
QList<QSharedPointer<ProfileCondition>> m_conditions;
QList<ProfileCondition> m_conditions;
QString m_container;
};

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -151,11 +150,11 @@ public:
/**
* @brief Gets or sets the headers.
*/
QList<QSharedPointer<HttpHeaderInfo>> headers() const;
QList<HttpHeaderInfo> headers() const;
/**
* @brief Gets or sets the headers.
*/
void setHeaders(QList<QSharedPointer<HttpHeaderInfo>> newHeaders);
void setHeaders(QList<HttpHeaderInfo> newHeaders);
bool headersNull() const;
void setHeadersNull();
@ -169,7 +168,7 @@ protected:
QString m_modelUrl;
QString m_manufacturer;
QString m_manufacturerUrl;
QList<QSharedPointer<HttpHeaderInfo>> m_headers;
QList<HttpHeaderInfo> m_headers;
};
} // NS DTO

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QStringList>
#include <optional>
@ -62,11 +61,11 @@ public:
/**
* @brief Gets or sets the items.
*/
QList<QSharedPointer<DeviceInfo>> items() const;
QList<DeviceInfo> items() const;
/**
* @brief Gets or sets the items.
*/
void setItems(QList<QSharedPointer<DeviceInfo>> newItems);
void setItems(QList<DeviceInfo> newItems);
bool itemsNull() const;
void setItemsNull();
@ -90,7 +89,7 @@ public:
protected:
QList<QSharedPointer<DeviceInfo>> m_items;
QList<DeviceInfo> m_items;
qint32 m_totalRecordCount;
qint32 m_startIndex;
};

View file

@ -396,77 +396,77 @@ public:
/**
* @brief Gets or sets the XmlRootAttributes.
*/
QList<QSharedPointer<XmlAttribute>> xmlRootAttributes() const;
QList<XmlAttribute> xmlRootAttributes() const;
/**
* @brief Gets or sets the XmlRootAttributes.
*/
void setXmlRootAttributes(QList<QSharedPointer<XmlAttribute>> newXmlRootAttributes);
void setXmlRootAttributes(QList<XmlAttribute> newXmlRootAttributes);
bool xmlRootAttributesNull() const;
void setXmlRootAttributesNull();
/**
* @brief Gets or sets the direct play profiles.
*/
QList<QSharedPointer<DirectPlayProfile>> directPlayProfiles() const;
QList<DirectPlayProfile> directPlayProfiles() const;
/**
* @brief Gets or sets the direct play profiles.
*/
void setDirectPlayProfiles(QList<QSharedPointer<DirectPlayProfile>> newDirectPlayProfiles);
void setDirectPlayProfiles(QList<DirectPlayProfile> newDirectPlayProfiles);
bool directPlayProfilesNull() const;
void setDirectPlayProfilesNull();
/**
* @brief Gets or sets the transcoding profiles.
*/
QList<QSharedPointer<TranscodingProfile>> transcodingProfiles() const;
QList<TranscodingProfile> transcodingProfiles() const;
/**
* @brief Gets or sets the transcoding profiles.
*/
void setTranscodingProfiles(QList<QSharedPointer<TranscodingProfile>> newTranscodingProfiles);
void setTranscodingProfiles(QList<TranscodingProfile> newTranscodingProfiles);
bool transcodingProfilesNull() const;
void setTranscodingProfilesNull();
/**
* @brief Gets or sets the ContainerProfiles.
*/
QList<QSharedPointer<ContainerProfile>> containerProfiles() const;
QList<ContainerProfile> containerProfiles() const;
/**
* @brief Gets or sets the ContainerProfiles.
*/
void setContainerProfiles(QList<QSharedPointer<ContainerProfile>> newContainerProfiles);
void setContainerProfiles(QList<ContainerProfile> newContainerProfiles);
bool containerProfilesNull() const;
void setContainerProfilesNull();
/**
* @brief Gets or sets the CodecProfiles.
*/
QList<QSharedPointer<CodecProfile>> codecProfiles() const;
QList<CodecProfile> codecProfiles() const;
/**
* @brief Gets or sets the CodecProfiles.
*/
void setCodecProfiles(QList<QSharedPointer<CodecProfile>> newCodecProfiles);
void setCodecProfiles(QList<CodecProfile> newCodecProfiles);
bool codecProfilesNull() const;
void setCodecProfilesNull();
/**
* @brief Gets or sets the ResponseProfiles.
*/
QList<QSharedPointer<ResponseProfile>> responseProfiles() const;
QList<ResponseProfile> responseProfiles() const;
/**
* @brief Gets or sets the ResponseProfiles.
*/
void setResponseProfiles(QList<QSharedPointer<ResponseProfile>> newResponseProfiles);
void setResponseProfiles(QList<ResponseProfile> newResponseProfiles);
bool responseProfilesNull() const;
void setResponseProfilesNull();
/**
* @brief Gets or sets the SubtitleProfiles.
*/
QList<QSharedPointer<SubtitleProfile>> subtitleProfiles() const;
QList<SubtitleProfile> subtitleProfiles() const;
/**
* @brief Gets or sets the SubtitleProfiles.
*/
void setSubtitleProfiles(QList<QSharedPointer<SubtitleProfile>> newSubtitleProfiles);
void setSubtitleProfiles(QList<SubtitleProfile> newSubtitleProfiles);
bool subtitleProfilesNull() const;
void setSubtitleProfilesNull();
@ -504,13 +504,13 @@ protected:
bool m_requiresPlainFolders;
bool m_enableMSMediaReceiverRegistrar;
bool m_ignoreTranscodeByteRangeRequests;
QList<QSharedPointer<XmlAttribute>> m_xmlRootAttributes;
QList<QSharedPointer<DirectPlayProfile>> m_directPlayProfiles;
QList<QSharedPointer<TranscodingProfile>> m_transcodingProfiles;
QList<QSharedPointer<ContainerProfile>> m_containerProfiles;
QList<QSharedPointer<CodecProfile>> m_codecProfiles;
QList<QSharedPointer<ResponseProfile>> m_responseProfiles;
QList<QSharedPointer<SubtitleProfile>> m_subtitleProfiles;
QList<XmlAttribute> m_xmlRootAttributes;
QList<DirectPlayProfile> m_directPlayProfiles;
QList<TranscodingProfile> m_transcodingProfiles;
QList<ContainerProfile> m_containerProfiles;
QList<CodecProfile> m_codecProfiles;
QList<ResponseProfile> m_responseProfiles;
QList<SubtitleProfile> m_subtitleProfiles;
};
} // NS DTO

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -82,9 +81,9 @@ public:
void setExtractChapterImagesDuringLibraryScan(bool newExtractChapterImagesDuringLibraryScan);
QList<QSharedPointer<MediaPathInfo>> pathInfos() const;
QList<MediaPathInfo> pathInfos() const;
void setPathInfos(QList<QSharedPointer<MediaPathInfo>> newPathInfos);
void setPathInfos(QList<MediaPathInfo> newPathInfos);
bool pathInfosNull() const;
void setPathInfosNull();
@ -210,9 +209,9 @@ public:
void setSaveSubtitlesWithMedia(bool newSaveSubtitlesWithMedia);
QList<QSharedPointer<TypeOptions>> typeOptions() const;
QList<TypeOptions> typeOptions() const;
void setTypeOptions(QList<QSharedPointer<TypeOptions>> newTypeOptions);
void setTypeOptions(QList<TypeOptions> newTypeOptions);
bool typeOptionsNull() const;
void setTypeOptionsNull();
@ -222,7 +221,7 @@ protected:
bool m_enableRealtimeMonitor;
bool m_enableChapterImageExtraction;
bool m_extractChapterImagesDuringLibraryScan;
QList<QSharedPointer<MediaPathInfo>> m_pathInfos;
QList<MediaPathInfo> m_pathInfos;
bool m_saveLocalMetadata;
bool m_enableInternetProviders;
bool m_enableAutomaticSeriesGrouping;
@ -242,7 +241,7 @@ protected:
QStringList m_subtitleDownloadLanguages;
bool m_requirePerfectSubtitleMatch;
bool m_saveSubtitlesWithMedia;
QList<QSharedPointer<TypeOptions>> m_typeOptions;
QList<TypeOptions> m_typeOptions;
};
} // NS DTO

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QStringList>
#include <optional>
@ -63,53 +62,53 @@ public:
/**
* @brief Gets or sets the metadata savers.
*/
QList<QSharedPointer<LibraryOptionInfoDto>> metadataSavers() const;
QList<LibraryOptionInfoDto> metadataSavers() const;
/**
* @brief Gets or sets the metadata savers.
*/
void setMetadataSavers(QList<QSharedPointer<LibraryOptionInfoDto>> newMetadataSavers);
void setMetadataSavers(QList<LibraryOptionInfoDto> newMetadataSavers);
bool metadataSaversNull() const;
void setMetadataSaversNull();
/**
* @brief Gets or sets the metadata readers.
*/
QList<QSharedPointer<LibraryOptionInfoDto>> metadataReaders() const;
QList<LibraryOptionInfoDto> metadataReaders() const;
/**
* @brief Gets or sets the metadata readers.
*/
void setMetadataReaders(QList<QSharedPointer<LibraryOptionInfoDto>> newMetadataReaders);
void setMetadataReaders(QList<LibraryOptionInfoDto> newMetadataReaders);
bool metadataReadersNull() const;
void setMetadataReadersNull();
/**
* @brief Gets or sets the subtitle fetchers.
*/
QList<QSharedPointer<LibraryOptionInfoDto>> subtitleFetchers() const;
QList<LibraryOptionInfoDto> subtitleFetchers() const;
/**
* @brief Gets or sets the subtitle fetchers.
*/
void setSubtitleFetchers(QList<QSharedPointer<LibraryOptionInfoDto>> newSubtitleFetchers);
void setSubtitleFetchers(QList<LibraryOptionInfoDto> newSubtitleFetchers);
bool subtitleFetchersNull() const;
void setSubtitleFetchersNull();
/**
* @brief Gets or sets the type options.
*/
QList<QSharedPointer<LibraryTypeOptionsDto>> typeOptions() const;
QList<LibraryTypeOptionsDto> typeOptions() const;
/**
* @brief Gets or sets the type options.
*/
void setTypeOptions(QList<QSharedPointer<LibraryTypeOptionsDto>> newTypeOptions);
void setTypeOptions(QList<LibraryTypeOptionsDto> newTypeOptions);
bool typeOptionsNull() const;
void setTypeOptionsNull();
protected:
QList<QSharedPointer<LibraryOptionInfoDto>> m_metadataSavers;
QList<QSharedPointer<LibraryOptionInfoDto>> m_metadataReaders;
QList<QSharedPointer<LibraryOptionInfoDto>> m_subtitleFetchers;
QList<QSharedPointer<LibraryTypeOptionsDto>> m_typeOptions;
QList<LibraryOptionInfoDto> m_metadataSavers;
QList<LibraryOptionInfoDto> m_metadataReaders;
QList<LibraryOptionInfoDto> m_subtitleFetchers;
QList<LibraryTypeOptionsDto> m_typeOptions;
};
} // NS DTO

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -76,22 +75,22 @@ public:
/**
* @brief Gets or sets the metadata fetchers.
*/
QList<QSharedPointer<LibraryOptionInfoDto>> metadataFetchers() const;
QList<LibraryOptionInfoDto> metadataFetchers() const;
/**
* @brief Gets or sets the metadata fetchers.
*/
void setMetadataFetchers(QList<QSharedPointer<LibraryOptionInfoDto>> newMetadataFetchers);
void setMetadataFetchers(QList<LibraryOptionInfoDto> newMetadataFetchers);
bool metadataFetchersNull() const;
void setMetadataFetchersNull();
/**
* @brief Gets or sets the image fetchers.
*/
QList<QSharedPointer<LibraryOptionInfoDto>> imageFetchers() const;
QList<LibraryOptionInfoDto> imageFetchers() const;
/**
* @brief Gets or sets the image fetchers.
*/
void setImageFetchers(QList<QSharedPointer<LibraryOptionInfoDto>> newImageFetchers);
void setImageFetchers(QList<LibraryOptionInfoDto> newImageFetchers);
bool imageFetchersNull() const;
void setImageFetchersNull();
@ -109,21 +108,21 @@ public:
/**
* @brief Gets or sets the default image options.
*/
QList<QSharedPointer<ImageOption>> defaultImageOptions() const;
QList<ImageOption> defaultImageOptions() const;
/**
* @brief Gets or sets the default image options.
*/
void setDefaultImageOptions(QList<QSharedPointer<ImageOption>> newDefaultImageOptions);
void setDefaultImageOptions(QList<ImageOption> newDefaultImageOptions);
bool defaultImageOptionsNull() const;
void setDefaultImageOptionsNull();
protected:
QString m_type;
QList<QSharedPointer<LibraryOptionInfoDto>> m_metadataFetchers;
QList<QSharedPointer<LibraryOptionInfoDto>> m_imageFetchers;
QList<LibraryOptionInfoDto> m_metadataFetchers;
QList<LibraryOptionInfoDto> m_imageFetchers;
QList<ImageType> m_supportedImageTypes;
QList<QSharedPointer<ImageOption>> m_defaultImageOptions;
QList<ImageOption> m_defaultImageOptions;
};
} // NS DTO

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -157,9 +156,9 @@ public:
void setMovieCategoriesNull();
QList<QSharedPointer<NameValuePair>> channelMappings() const;
QList<NameValuePair> channelMappings() const;
void setChannelMappings(QList<QSharedPointer<NameValuePair>> newChannelMappings);
void setChannelMappings(QList<NameValuePair> newChannelMappings);
bool channelMappingsNull() const;
void setChannelMappingsNull();
@ -200,7 +199,7 @@ protected:
QStringList m_sportsCategories;
QStringList m_kidsCategories;
QStringList m_movieCategories;
QList<QSharedPointer<NameValuePair>> m_channelMappings;
QList<NameValuePair> m_channelMappings;
QString m_moviePrefix;
QString m_preferredLanguage;
QString m_userAgent;

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QStringList>
#include <optional>
@ -62,11 +61,11 @@ public:
/**
* @brief Gets or sets the services.
*/
QList<QSharedPointer<LiveTvServiceInfo>> services() const;
QList<LiveTvServiceInfo> services() const;
/**
* @brief Gets or sets the services.
*/
void setServices(QList<QSharedPointer<LiveTvServiceInfo>> newServices);
void setServices(QList<LiveTvServiceInfo> newServices);
bool servicesNull() const;
void setServicesNull();
@ -92,7 +91,7 @@ public:
protected:
QList<QSharedPointer<LiveTvServiceInfo>> m_services;
QList<LiveTvServiceInfo> m_services;
bool m_isEnabled;
QStringList m_enabledUsers;
};

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -244,16 +243,16 @@ public:
void setVideo3DFormat(Video3DFormat newVideo3DFormat);
QList<QSharedPointer<MediaStream>> mediaStreams() const;
QList<MediaStream> mediaStreams() const;
void setMediaStreams(QList<QSharedPointer<MediaStream>> newMediaStreams);
void setMediaStreams(QList<MediaStream> newMediaStreams);
bool mediaStreamsNull() const;
void setMediaStreamsNull();
QList<QSharedPointer<MediaAttachment>> mediaAttachments() const;
QList<MediaAttachment> mediaAttachments() const;
void setMediaAttachments(QList<QSharedPointer<MediaAttachment>> newMediaAttachments);
void setMediaAttachments(QList<MediaAttachment> newMediaAttachments);
bool mediaAttachmentsNull() const;
void setMediaAttachmentsNull();
@ -357,8 +356,8 @@ protected:
VideoType m_videoType;
IsoType m_isoType;
Video3DFormat m_video3DFormat;
QList<QSharedPointer<MediaStream>> m_mediaStreams;
QList<QSharedPointer<MediaAttachment>> m_mediaAttachments;
QList<MediaStream> m_mediaStreams;
QList<MediaAttachment> m_mediaAttachments;
QStringList m_formats;
std::optional<qint32> m_bitrate = std::nullopt;
TransportStreamTimestamp m_timestamp;

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -65,30 +64,30 @@ public:
// Properties
QList<QSharedPointer<ParentalRating>> parentalRatingOptions() const;
QList<ParentalRating> parentalRatingOptions() const;
void setParentalRatingOptions(QList<QSharedPointer<ParentalRating>> newParentalRatingOptions);
void setParentalRatingOptions(QList<ParentalRating> newParentalRatingOptions);
bool parentalRatingOptionsNull() const;
void setParentalRatingOptionsNull();
QList<QSharedPointer<CountryInfo>> countries() const;
QList<CountryInfo> countries() const;
void setCountries(QList<QSharedPointer<CountryInfo>> newCountries);
void setCountries(QList<CountryInfo> newCountries);
bool countriesNull() const;
void setCountriesNull();
QList<QSharedPointer<CultureDto>> cultures() const;
QList<CultureDto> cultures() const;
void setCultures(QList<QSharedPointer<CultureDto>> newCultures);
void setCultures(QList<CultureDto> newCultures);
bool culturesNull() const;
void setCulturesNull();
QList<QSharedPointer<ExternalIdInfo>> externalIdInfos() const;
QList<ExternalIdInfo> externalIdInfos() const;
void setExternalIdInfos(QList<QSharedPointer<ExternalIdInfo>> newExternalIdInfos);
void setExternalIdInfos(QList<ExternalIdInfo> newExternalIdInfos);
bool externalIdInfosNull() const;
void setExternalIdInfosNull();
@ -100,20 +99,20 @@ public:
void setContentTypeNull();
QList<QSharedPointer<NameValuePair>> contentTypeOptions() const;
QList<NameValuePair> contentTypeOptions() const;
void setContentTypeOptions(QList<QSharedPointer<NameValuePair>> newContentTypeOptions);
void setContentTypeOptions(QList<NameValuePair> newContentTypeOptions);
bool contentTypeOptionsNull() const;
void setContentTypeOptionsNull();
protected:
QList<QSharedPointer<ParentalRating>> m_parentalRatingOptions;
QList<QSharedPointer<CountryInfo>> m_countries;
QList<QSharedPointer<CultureDto>> m_cultures;
QList<QSharedPointer<ExternalIdInfo>> m_externalIdInfos;
QList<ParentalRating> m_parentalRatingOptions;
QList<CountryInfo> m_countries;
QList<CultureDto> m_cultures;
QList<ExternalIdInfo> m_externalIdInfos;
QString m_contentType;
QList<QSharedPointer<NameValuePair>> m_contentTypeOptions;
QList<NameValuePair> m_contentTypeOptions;
};
} // NS DTO

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QStringList>
#include <optional>
@ -62,11 +61,11 @@ public:
/**
* @brief Gets or sets the current page of notifications.
*/
QList<QSharedPointer<NotificationDto>> notifications() const;
QList<NotificationDto> notifications() const;
/**
* @brief Gets or sets the current page of notifications.
*/
void setNotifications(QList<QSharedPointer<NotificationDto>> newNotifications);
void setNotifications(QList<NotificationDto> newNotifications);
bool notificationsNull() const;
void setNotificationsNull();
@ -81,7 +80,7 @@ public:
protected:
QList<QSharedPointer<NotificationDto>> m_notifications;
QList<NotificationDto> m_notifications;
qint32 m_totalRecordCount;
};

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -131,11 +130,11 @@ This is used to identify the proper item for automatic updates.
/**
* @brief Gets or sets the versions.
*/
QList<QSharedPointer<VersionInfo>> versions() const;
QList<VersionInfo> versions() const;
/**
* @brief Gets or sets the versions.
*/
void setVersions(QList<QSharedPointer<VersionInfo>> newVersions);
void setVersions(QList<VersionInfo> newVersions);
bool versionsNull() const;
void setVersionsNull();
@ -158,7 +157,7 @@ protected:
QString m_owner;
QString m_category;
QString m_guid;
QList<QSharedPointer<VersionInfo>> m_versions;
QList<VersionInfo> m_versions;
QString m_imageUrl;
};

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -64,11 +63,11 @@ public:
/**
* @brief Gets or sets the media sources.
*/
QList<QSharedPointer<MediaSourceInfo>> mediaSources() const;
QList<MediaSourceInfo> mediaSources() const;
/**
* @brief Gets or sets the media sources.
*/
void setMediaSources(QList<QSharedPointer<MediaSourceInfo>> newMediaSources);
void setMediaSources(QList<MediaSourceInfo> newMediaSources);
bool mediaSourcesNull() const;
void setMediaSourcesNull();
@ -90,7 +89,7 @@ public:
protected:
QList<QSharedPointer<MediaSourceInfo>> m_mediaSources;
QList<MediaSourceInfo> m_mediaSources;
QString m_playSessionId;
PlaybackErrorCode m_errorCode;
};

View file

@ -224,9 +224,9 @@ public:
void setRepeatMode(RepeatMode newRepeatMode);
QList<QSharedPointer<QueueItem>> nowPlayingQueue() const;
QList<QueueItem> nowPlayingQueue() const;
void setNowPlayingQueue(QList<QSharedPointer<QueueItem>> newNowPlayingQueue);
void setNowPlayingQueue(QList<QueueItem> newNowPlayingQueue);
bool nowPlayingQueueNull() const;
void setNowPlayingQueueNull();
@ -257,7 +257,7 @@ protected:
QString m_liveStreamId;
QString m_playSessionId;
RepeatMode m_repeatMode;
QList<QSharedPointer<QueueItem>> m_nowPlayingQueue;
QList<QueueItem> m_nowPlayingQueue;
QString m_playlistItemId;
};

View file

@ -224,9 +224,9 @@ public:
void setRepeatMode(RepeatMode newRepeatMode);
QList<QSharedPointer<QueueItem>> nowPlayingQueue() const;
QList<QueueItem> nowPlayingQueue() const;
void setNowPlayingQueue(QList<QSharedPointer<QueueItem>> newNowPlayingQueue);
void setNowPlayingQueue(QList<QueueItem> newNowPlayingQueue);
bool nowPlayingQueueNull() const;
void setNowPlayingQueueNull();
@ -257,7 +257,7 @@ protected:
QString m_liveStreamId;
QString m_playSessionId;
RepeatMode m_repeatMode;
QList<QSharedPointer<QueueItem>> m_nowPlayingQueue;
QList<QueueItem> m_nowPlayingQueue;
QString m_playlistItemId;
};

View file

@ -154,9 +154,9 @@ public:
void setPlaylistItemIdNull();
QList<QSharedPointer<QueueItem>> nowPlayingQueue() const;
QList<QueueItem> nowPlayingQueue() const;
void setNowPlayingQueue(QList<QSharedPointer<QueueItem>> newNowPlayingQueue);
void setNowPlayingQueue(QList<QueueItem> newNowPlayingQueue);
bool nowPlayingQueueNull() const;
void setNowPlayingQueueNull();
@ -172,7 +172,7 @@ protected:
bool m_failed;
QString m_nextMediaType;
QString m_playlistItemId;
QList<QSharedPointer<QueueItem>> m_nowPlayingQueue;
QList<QueueItem> m_nowPlayingQueue;
};
} // NS DTO

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QStringList>
#include <optional>
@ -60,9 +59,9 @@ public:
// Properties
QList<QSharedPointer<NameGuidPair>> genres() const;
QList<NameGuidPair> genres() const;
void setGenres(QList<QSharedPointer<NameGuidPair>> newGenres);
void setGenres(QList<NameGuidPair> newGenres);
bool genresNull() const;
void setGenresNull();
@ -75,7 +74,7 @@ public:
protected:
QList<QSharedPointer<NameGuidPair>> m_genres;
QList<NameGuidPair> m_genres;
QStringList m_tags;
};

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -62,9 +61,9 @@ public:
// Properties
QList<QSharedPointer<BaseItemDto>> items() const;
QList<BaseItemDto> items() const;
void setItems(QList<QSharedPointer<BaseItemDto>> newItems);
void setItems(QList<BaseItemDto> newItems);
bool itemsNull() const;
void setItemsNull();
@ -87,7 +86,7 @@ public:
protected:
QList<QSharedPointer<BaseItemDto>> m_items;
QList<BaseItemDto> m_items;
RecommendationType m_recommendationType;
QString m_baselineItemName;
QString m_categoryId;

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QStringList>
#include <optional>
@ -62,11 +61,11 @@ public:
/**
* @brief Gets or sets the images.
*/
QList<QSharedPointer<RemoteImageInfo>> images() const;
QList<RemoteImageInfo> images() const;
/**
* @brief Gets or sets the images.
*/
void setImages(QList<QSharedPointer<RemoteImageInfo>> newImages);
void setImages(QList<RemoteImageInfo> newImages);
bool imagesNull() const;
void setImagesNull();
@ -92,7 +91,7 @@ public:
protected:
QList<QSharedPointer<RemoteImageInfo>> m_images;
QList<RemoteImageInfo> m_images;
qint32 m_totalRecordCount;
QStringList m_providers;
};

View file

@ -148,9 +148,9 @@ public:
void setAlbumArtist(QSharedPointer<RemoteSearchResult> newAlbumArtist);
QList<QSharedPointer<RemoteSearchResult>> artists() const;
QList<RemoteSearchResult> artists() const;
void setArtists(QList<QSharedPointer<RemoteSearchResult>> newArtists);
void setArtists(QList<RemoteSearchResult> newArtists);
bool artistsNull() const;
void setArtistsNull();
@ -167,7 +167,7 @@ protected:
QString m_searchProviderName;
QString m_overview;
QSharedPointer<RemoteSearchResult> m_albumArtist = nullptr;
QList<QSharedPointer<RemoteSearchResult>> m_artists;
QList<RemoteSearchResult> m_artists;
};
} // NS DTO

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -102,9 +101,9 @@ public:
void setMimeTypeNull();
QList<QSharedPointer<ProfileCondition>> conditions() const;
QList<ProfileCondition> conditions() const;
void setConditions(QList<QSharedPointer<ProfileCondition>> newConditions);
void setConditions(QList<ProfileCondition> newConditions);
bool conditionsNull() const;
void setConditionsNull();
@ -116,7 +115,7 @@ protected:
DlnaProfileType m_type;
QString m_orgPn;
QString m_mimeType;
QList<QSharedPointer<ProfileCondition>> m_conditions;
QList<ProfileCondition> m_conditions;
};
} // NS DTO

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QStringList>
#include <optional>
@ -62,11 +61,11 @@ public:
/**
* @brief Gets or sets the search hints.
*/
QList<QSharedPointer<SearchHint>> searchHints() const;
QList<SearchHint> searchHints() const;
/**
* @brief Gets or sets the search hints.
*/
void setSearchHints(QList<QSharedPointer<SearchHint>> newSearchHints);
void setSearchHints(QList<SearchHint> newSearchHints);
bool searchHintsNull() const;
void setSearchHintsNull();
@ -81,7 +80,7 @@ public:
protected:
QList<QSharedPointer<SearchHint>> m_searchHints;
QList<SearchHint> m_searchHints;
qint32 m_totalRecordCount;
};

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QStringList>
#include <optional>
@ -62,11 +61,11 @@ public:
/**
* @brief Gets or sets the items.
*/
QList<QSharedPointer<SeriesTimerInfoDto>> items() const;
QList<SeriesTimerInfoDto> items() const;
/**
* @brief Gets or sets the items.
*/
void setItems(QList<QSharedPointer<SeriesTimerInfoDto>> newItems);
void setItems(QList<SeriesTimerInfoDto> newItems);
bool itemsNull() const;
void setItemsNull();
@ -90,7 +89,7 @@ public:
protected:
QList<QSharedPointer<SeriesTimerInfoDto>> m_items;
QList<SeriesTimerInfoDto> m_items;
qint32 m_totalRecordCount;
qint32 m_startIndex;
};

View file

@ -560,9 +560,9 @@ Allows potential contributors without visual studio to modify production dashboa
void setImageSavingConvention(ImageSavingConvention newImageSavingConvention);
QList<QSharedPointer<MetadataOptions>> metadataOptions() const;
QList<MetadataOptions> metadataOptions() const;
void setMetadataOptions(QList<QSharedPointer<MetadataOptions>> newMetadataOptions);
void setMetadataOptions(QList<MetadataOptions> newMetadataOptions);
bool metadataOptionsNull() const;
void setMetadataOptionsNull();
@ -598,9 +598,9 @@ Allows potential contributors without visual studio to modify production dashboa
void setSaveMetadataHidden(bool newSaveMetadataHidden);
QList<QSharedPointer<NameValuePair>> contentTypes() const;
QList<NameValuePair> contentTypes() const;
void setContentTypes(QList<QSharedPointer<NameValuePair>> newContentTypes);
void setContentTypes(QList<NameValuePair> newContentTypes);
bool contentTypesNull() const;
void setContentTypesNull();
@ -654,9 +654,9 @@ Allows potential contributors without visual studio to modify production dashboa
void setCodecsUsedNull();
QList<QSharedPointer<RepositoryInfo>> pluginRepositories() const;
QList<RepositoryInfo> pluginRepositories() const;
void setPluginRepositories(QList<QSharedPointer<RepositoryInfo>> newPluginRepositories);
void setPluginRepositories(QList<RepositoryInfo> newPluginRepositories);
bool pluginRepositoriesNull() const;
void setPluginRepositoriesNull();
@ -705,9 +705,9 @@ Allows potential contributors without visual studio to modify production dashboa
void setImageExtractionTimeoutMs(qint32 newImageExtractionTimeoutMs);
QList<QSharedPointer<PathSubstitution>> pathSubstitutions() const;
QList<PathSubstitution> pathSubstitutions() const;
void setPathSubstitutions(QList<QSharedPointer<PathSubstitution>> newPathSubstitutions);
void setPathSubstitutions(QList<PathSubstitution> newPathSubstitutions);
bool pathSubstitutionsNull() const;
void setPathSubstitutionsNull();
@ -864,13 +864,13 @@ protected:
qint32 m_libraryMonitorDelay;
bool m_enableDashboardResponseCaching;
ImageSavingConvention m_imageSavingConvention;
QList<QSharedPointer<MetadataOptions>> m_metadataOptions;
QList<MetadataOptions> m_metadataOptions;
bool m_skipDeserializationForBasicTypes;
QString m_serverName;
QString m_baseUrl;
QString m_uICulture;
bool m_saveMetadataHidden;
QList<QSharedPointer<NameValuePair>> m_contentTypes;
QList<NameValuePair> m_contentTypes;
qint32 m_remoteClientBitrateLimit;
bool m_enableFolderView;
bool m_enableGroupingIntoCollections;
@ -878,14 +878,14 @@ protected:
QStringList m_localNetworkSubnets;
QStringList m_localNetworkAddresses;
QStringList m_codecsUsed;
QList<QSharedPointer<RepositoryInfo>> m_pluginRepositories;
QList<RepositoryInfo> m_pluginRepositories;
bool m_enableExternalContentInSuggestions;
bool m_requireHttps;
bool m_enableNewOmdbSupport;
QStringList m_remoteIPFilter;
bool m_isRemoteIPFilterBlacklist;
qint32 m_imageExtractionTimeoutMs;
QList<QSharedPointer<PathSubstitution>> m_pathSubstitutions;
QList<PathSubstitution> m_pathSubstitutions;
bool m_enableSimpleArtistDetection;
QStringList m_uninstalledPlugins;
bool m_enableSlowResponseWarning;

View file

@ -74,9 +74,9 @@ public:
void setPlayState(QSharedPointer<PlayerStateInfo> newPlayState);
QList<QSharedPointer<SessionUserInfo>> additionalUsers() const;
QList<SessionUserInfo> additionalUsers() const;
void setAdditionalUsers(QList<QSharedPointer<SessionUserInfo>> newAdditionalUsers);
void setAdditionalUsers(QList<SessionUserInfo> newAdditionalUsers);
bool additionalUsersNull() const;
void setAdditionalUsersNull();
@ -251,9 +251,9 @@ public:
void setSupportsRemoteControl(bool newSupportsRemoteControl);
QList<QSharedPointer<QueueItem>> nowPlayingQueue() const;
QList<QueueItem> nowPlayingQueue() const;
void setNowPlayingQueue(QList<QSharedPointer<QueueItem>> newNowPlayingQueue);
void setNowPlayingQueue(QList<QueueItem> newNowPlayingQueue);
bool nowPlayingQueueNull() const;
void setNowPlayingQueueNull();
@ -297,7 +297,7 @@ public:
protected:
QSharedPointer<PlayerStateInfo> m_playState = nullptr;
QList<QSharedPointer<SessionUserInfo>> m_additionalUsers;
QList<SessionUserInfo> m_additionalUsers;
QSharedPointer<ClientCapabilities> m_capabilities = nullptr;
QString m_remoteEndPoint;
QStringList m_playableMediaTypes;
@ -318,7 +318,7 @@ protected:
bool m_isActive;
bool m_supportsMediaControl;
bool m_supportsRemoteControl;
QList<QSharedPointer<QueueItem>> m_nowPlayingQueue;
QList<QueueItem> m_nowPlayingQueue;
bool m_hasCustomDeviceName;
QString m_playlistItemId;
QString m_serverId;

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -196,11 +195,11 @@ public:
/**
* @brief Gets or sets the completed installations.
*/
QList<QSharedPointer<InstallationInfo>> completedInstallations() const;
QList<InstallationInfo> completedInstallations() const;
/**
* @brief Gets or sets the completed installations.
*/
void setCompletedInstallations(QList<QSharedPointer<InstallationInfo>> newCompletedInstallations);
void setCompletedInstallations(QList<InstallationInfo> newCompletedInstallations);
bool completedInstallationsNull() const;
void setCompletedInstallationsNull();
@ -329,7 +328,7 @@ protected:
bool m_isShuttingDown;
bool m_supportsLibraryMonitor;
qint32 m_webSocketPortNumber;
QList<QSharedPointer<InstallationInfo>> m_completedInstallations;
QList<InstallationInfo> m_completedInstallations;
bool m_canSelfRestart;
bool m_canLaunchWebBrowser;
QString m_programDataPath;

View file

@ -108,11 +108,11 @@ public:
/**
* @brief Gets or sets the triggers.
*/
QList<QSharedPointer<TaskTriggerInfo>> triggers() const;
QList<TaskTriggerInfo> triggers() const;
/**
* @brief Gets or sets the triggers.
*/
void setTriggers(QList<QSharedPointer<TaskTriggerInfo>> newTriggers);
void setTriggers(QList<TaskTriggerInfo> newTriggers);
bool triggersNull() const;
void setTriggersNull();
@ -165,7 +165,7 @@ protected:
std::optional<double> m_currentProgressPercentage = std::nullopt;
QString m_jellyfinId;
QSharedPointer<TaskResult> m_lastExecutionResult = nullptr;
QList<QSharedPointer<TaskTriggerInfo>> m_triggers;
QList<TaskTriggerInfo> m_triggers;
QString m_description;
QString m_category;
bool m_isHidden;

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -63,11 +62,11 @@ public:
/**
* @brief Gets or sets the items.
*/
QList<QSharedPointer<BaseItemDto>> items() const;
QList<BaseItemDto> items() const;
/**
* @brief Gets or sets the items.
*/
void setItems(QList<QSharedPointer<BaseItemDto>> newItems);
void setItems(QList<BaseItemDto> newItems);
bool itemsNull() const;
void setItemsNull();
@ -100,7 +99,7 @@ public:
protected:
QList<QSharedPointer<BaseItemDto>> m_items;
QList<BaseItemDto> m_items;
qint32 m_totalRecordCount;
qint32 m_startIndex;
QString m_ownerId;

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QStringList>
#include <optional>
@ -62,11 +61,11 @@ public:
/**
* @brief Gets or sets the items.
*/
QList<QSharedPointer<TimerInfoDto>> items() const;
QList<TimerInfoDto> items() const;
/**
* @brief Gets or sets the items.
*/
void setItems(QList<QSharedPointer<TimerInfoDto>> newItems);
void setItems(QList<TimerInfoDto> newItems);
bool itemsNull() const;
void setItemsNull();
@ -90,7 +89,7 @@ public:
protected:
QList<QSharedPointer<TimerInfoDto>> m_items;
QList<TimerInfoDto> m_items;
qint32 m_totalRecordCount;
qint32 m_startIndex;
};

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -96,9 +95,9 @@ public:
void setImageFetcherOrderNull();
QList<QSharedPointer<ImageOption>> imageOptions() const;
QList<ImageOption> imageOptions() const;
void setImageOptions(QList<QSharedPointer<ImageOption>> newImageOptions);
void setImageOptions(QList<ImageOption> newImageOptions);
bool imageOptionsNull() const;
void setImageOptionsNull();
@ -109,7 +108,7 @@ protected:
QStringList m_metadataFetcherOrder;
QStringList m_imageFetchers;
QStringList m_imageFetcherOrder;
QList<QSharedPointer<ImageOption>> m_imageOptions;
QList<ImageOption> m_imageOptions;
};
} // NS DTO

View file

@ -33,7 +33,6 @@
#include <QJsonObject>
#include <QJsonValue>
#include <QList>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <optional>
@ -113,9 +112,9 @@ public:
void setEnableUserPreferenceAccess(bool newEnableUserPreferenceAccess);
QList<QSharedPointer<AccessSchedule>> accessSchedules() const;
QList<AccessSchedule> accessSchedules() const;
void setAccessSchedules(QList<QSharedPointer<AccessSchedule>> newAccessSchedules);
void setAccessSchedules(QList<AccessSchedule> newAccessSchedules);
bool accessSchedulesNull() const;
void setAccessSchedulesNull();
@ -309,7 +308,7 @@ protected:
std::optional<qint32> m_maxParentalRating = std::nullopt;
QStringList m_blockedTags;
bool m_enableUserPreferenceAccess;
QList<QSharedPointer<AccessSchedule>> m_accessSchedules;
QList<AccessSchedule> m_accessSchedules;
QList<UnratedItem> m_blockUnratedItems;
bool m_enableRemoteControlOfOtherUsers;
bool m_enableSharedDeviceControl;