Cockatrice 2026-01-14-Development-2.11.0-beta.46
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
deck_loader.cpp File Reference
#include "deck_loader.h"
#include <QApplication>
#include <QClipboard>
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QFutureWatcher>
#include <QPrinter>
#include <QRegularExpression>
#include <QStringList>
#include <QTextCursor>
#include <QTextDocument>
#include <QTextStream>
#include <QTextTable>
#include <QtConcurrentRun>
#include <libcockatrice/card/database/card_database.h>
#include <libcockatrice/card/database/card_database_manager.h>
#include <libcockatrice/deck_list/deck_list.h>
#include <libcockatrice/deck_list/tree/deck_list_card_node.h>
Include dependency graph for deck_loader.cpp:

Functions

static QString getDomainForWebsite (DeckLoader::DecklistWebsite website)
static QString toDecklistExportString (const DecklistCardNode *card)
static QString toDecklistExportString (const QList< const DecklistCardNode * > &cardNodes)

Function Documentation

◆ getDomainForWebsite()

QString getDomainForWebsite ( DeckLoader::DecklistWebsite website)
static
Here is the caller graph for this function:

◆ toDecklistExportString() [1/2]

QString toDecklistExportString ( const DecklistCardNode * card)
static

Converts the card to the String that represents it in the decklist export

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toDecklistExportString() [2/2]

QString toDecklistExportString ( const QList< const DecklistCardNode * > & cardNodes)
static

Converts all cards in the list to their decklist export string and joins them into one string

Here is the call graph for this function: