mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
Replace QtScript with QJson*
QtScript is deprecated and this was needed to start supporting Qt6
This commit is contained in:
@ -18,7 +18,6 @@ class SearchVolume;
|
||||
class SelectComic;
|
||||
class SelectVolume;
|
||||
class SortVolumeComics;
|
||||
class QScriptValue;
|
||||
|
||||
//TODO this should use a QStateMachine
|
||||
//----------------------------------------
|
||||
@ -64,9 +63,9 @@ protected slots:
|
||||
void goToNextComic();
|
||||
|
||||
private:
|
||||
QString getCharacters(const QScriptValue &json_characters);
|
||||
QMap<QString, QString> getAuthors(const QScriptValue &json_authors);
|
||||
QPair<QString, QString> getFirstStoryArcIdAndName(const QScriptValue &json_story_arcs);
|
||||
QString getCharacters(const QVariant &json_characters);
|
||||
QMap<QString, QString> getAuthors(const QVariant &json_authors);
|
||||
QPair<QString, QString> getFirstStoryArcIdAndName(const QVariant &json_story_arcs);
|
||||
QPair<QString, QString> getArcNumberAndArcCount(const QString &storyArcId, const QString &comicId);
|
||||
|
||||
void toggleSkipButton();
|
||||
|
Reference in New Issue
Block a user