Esempio n. 1
0
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;
}
Esempio n. 2
0
DeckList::DeckList(const QString &nativeString)
{
	root = new InnerDecklistNode;
	loadFromString_Native(nativeString);
}