[DeckLoader] Extract cardNode functions to own file (#6408)

* [DeckLoader] Extract cardNode functions to own file

* update usages
This commit is contained in:
RickyRister 2025-12-08 00:47:24 -08:00 committed by GitHub
parent c8b419888a
commit 2b690f8c87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 94 additions and 112 deletions

View file

@ -65,8 +65,6 @@ public:
return lastLoadInfo.isEmpty();
}
static void clearSetNamesAndNumbers(const DeckList *deckList);
bool loadFromFile(const QString &fileName, DeckFileFormat::Format fmt, bool userRequest = false);
bool loadFromFileAsync(const QString &fileName, DeckFileFormat::Format fmt, bool userRequest);
bool loadFromRemote(const QString &nativeString, int remoteDeckId);
@ -75,9 +73,6 @@ public:
static QString exportDeckToDecklist(const DeckList *deckList, DecklistWebsite website);
static void setProviderIdToPreferredPrinting(const DeckList *deckList);
static void resolveSetNameAndNumberToProviderID(const DeckList *deckList);
static void saveToClipboard(const DeckList *deckList, bool addComments = true, bool addSetNameAndNumber = true);
static bool saveToStream_Plain(QTextStream &out,
const DeckList *deckList,