mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-10 03:53:26 -08:00
Standardize Doxygen documentation (#6885)
This commit is contained in:
parent
03d54265fe
commit
33e0f8699b
306 changed files with 539 additions and 487 deletions
|
|
@ -21,16 +21,16 @@ void ArchidektApiResponseCard::fromJson(const QJsonObject &json)
|
|||
edition.fromJson(json.value("edition").toObject());
|
||||
|
||||
flavor = json.value("flavor").toString();
|
||||
//! \todo but not really important
|
||||
//! \todo games = {""};
|
||||
//! \todo options = {""};
|
||||
//! \todo Parse games and options fields (not really important).
|
||||
// games = {""};
|
||||
// options = {""};
|
||||
scryfallImageHash = json.value("scryfallImageHash").toString();
|
||||
oracleCard = json.value("oracleCard").toObject();
|
||||
owned = json.value("owned").toInt();
|
||||
pinnedStatus = json.value("pinnedStatus").toInt();
|
||||
rarity = json.value("rarity").toString();
|
||||
//! \todo but not really important
|
||||
//! \todo globalCategories = {""};
|
||||
//! \todo Parse globalCategories field (not really important).
|
||||
// globalCategories = {""};
|
||||
}
|
||||
|
||||
void ArchidektApiResponseCard::debugPrint() const
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ void ArchidektApiResponseDeck::fromJson(const QJsonObject &json)
|
|||
cards.append(entry);
|
||||
}
|
||||
|
||||
// TODO but not really important
|
||||
//! \todo Parse customCards field (not really important).
|
||||
// customCards = {""};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ void ArchidektApiResponseDeckListingContainer::fromJson(const QJsonObject &json)
|
|||
theoryCrafted = json.value("theoryCrafted").toBool();
|
||||
game = json.value("game").toString();
|
||||
hasDescription = json.value("hasDescription").toBool();
|
||||
// TODO
|
||||
//! \todo Parse tags field.
|
||||
// tags = {""};
|
||||
parentFolderId = json.value("parentFolderId").toInt();
|
||||
owner.fromJson(json.value("owner").toObject());
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ void ArchidektApiResponseDeckOwner::fromJson(const QJsonObject &json)
|
|||
avatar = QUrl(json.value("avatar").toString());
|
||||
moderator = json.value("moderator").toBool();
|
||||
pledgeLevel = json.value("pledgeLevel").toInt();
|
||||
// TODO but not really important
|
||||
//! \todo Parse roles field (not really important).
|
||||
// roles = {""};
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -82,16 +82,16 @@ public:
|
|||
void resizeEvent(QResizeEvent *event) override;
|
||||
|
||||
private:
|
||||
/// Slider controlling the scale of card thumbnails in all deck entry widgets.
|
||||
/** @brief Slider controlling the scale of card thumbnails in all deck entry widgets. */
|
||||
CardSizeWidget *cardSizeSlider;
|
||||
|
||||
/// Main horizontal layout containing the FlowWidget.
|
||||
/** @brief Main horizontal layout containing the FlowWidget. */
|
||||
QHBoxLayout *layout;
|
||||
|
||||
/// Container providing scrollable multi-row flow layout of deck entries.
|
||||
/** @brief Container providing scrollable multi-row flow layout of deck entries. */
|
||||
FlowWidget *flowWidget;
|
||||
|
||||
/// Shared network manager used to download card images for all child entry widgets.
|
||||
/** @brief Shared network manager used to download card images for all child entry widgets. */
|
||||
QNetworkAccessManager *imageNetworkManager;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue