mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-12-13 18:43:55 +00:00
[3/3] update openapi spec: update code interacting with generated code
Adjusted C++ code to handle with new and renamed objects, as well as properties with different types. As a result of changing types, the QML side had to be updated as well. I hope I found everything by manually testing. Additionally, the Qt Quick application has been updated to test the remote sessions more easily and to make it launch again.
This commit is contained in:
parent
9e1a20cd3a
commit
0c72906f88
39 changed files with 366 additions and 317 deletions
|
|
@ -41,7 +41,7 @@ public:
|
|||
Q_PROPERTY(QString comment READ comment NOTIFY commentChanged);
|
||||
Q_PROPERTY(QString timeBase READ timeBase NOTIFY timeBaseChanged);
|
||||
Q_PROPERTY(QString title READ title NOTIFY titleChanged);
|
||||
Q_PROPERTY(QString videoRange READ videoRange NOTIFY videoRangeChanged);
|
||||
Q_PROPERTY(Jellyfin::DTO::VideoRangeClass::Value videoRange READ videoRange NOTIFY videoRangeChanged);
|
||||
Q_PROPERTY(QString localizedUndefined READ localizedUndefined NOTIFY localizedUndefinedChanged);
|
||||
Q_PROPERTY(QString localizedDefault READ localizedDefault NOTIFY localizedDefaultChanged);
|
||||
Q_PROPERTY(QString localizedForced READ localizedForced NOTIFY localizedForcedChanged);
|
||||
|
|
@ -78,7 +78,7 @@ public:
|
|||
QString comment() const { return m_data->comment(); }
|
||||
QString timeBase() const { return m_data->timeBase(); }
|
||||
QString title() const { return m_data->title(); }
|
||||
QString videoRange() const { return m_data->videoRange(); }
|
||||
DTO::VideoRange videoRange() const { return m_data->videoRange(); }
|
||||
QString localizedUndefined() const { return m_data->localizedUndefined(); }
|
||||
QString localizedDefault() const { return m_data->localizedDefault(); }
|
||||
QString localizedForced() const { return m_data->localizedForced(); }
|
||||
|
|
@ -116,7 +116,7 @@ signals:
|
|||
void commentChanged(const QString &newComment);
|
||||
void timeBaseChanged(const QString &newTimeBase);
|
||||
void titleChanged(const QString &newTitle);
|
||||
void videoRangeChanged(const QString &newVideoRanged);
|
||||
void videoRangeChanged(const DTO::VideoRange &newVideoRanged);
|
||||
void localizedUndefinedChanged(const QString &newLocalizedUndefined);
|
||||
void localizedDefaultChanged(const QString &newLocalizedDefault);
|
||||
void localizedForcedChanged(const QString &newLocalizedForced);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue