bool DeckLoader::loadFromRemote(const QString &nativeString, int remoteDeckId) { bool result = loadFromString_Native(nativeString); if (result) { lastFileName = QString(); lastFileFormat = CockatriceFormat; lastRemoteDeckId = remoteDeckId; emit deckLoaded(); } return result; }
DeckList::DeckList(const QString &nativeString) { root = new InnerDecklistNode; loadFromString_Native(nativeString); }