![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <intent_open_shared_deck.h>
Public Member Functions | |
| IntentOpenSharedDeck (TabSupervisor *_tabSupervisor, RemoteClient *_remoteClient, const CardDatabaseQuerier *_querier, std::unique_ptr< ContextOpenDeck > _context) | |
| Public Member Functions inherited from Intent | |
| Intent (QObject *parent=nullptr) | |
| ~Intent () override | |
| void | execute () |
Protected Member Functions | |
| bool | checkPrecondition () const override |
| void | onPreconditionSatisfied () override |
| void | onPreconditionNotSatisfied () override |
| Protected Member Functions inherited from Intent | |
| void | runDependency (Intent *dependency) |
| void | emitFinished () |
| void | emitFailed (const QString &reason) |
| void | emitCancelled () |
Private Slots | |
| void | listShareFinished (const Response &response, const CommandContainer &commandContainer) |
| void | downloadShareFinished (const Response &response, const CommandContainer &commandContainer) |
| void | onDownloadTimeout () |
Private Member Functions | |
| void | startDownloads (const QList< int > &itemIds) |
| void | downloadNextItem () |
| void | onItemFailure (const QString &reason) |
| void | finishAll () |
Private Attributes | |
| TabSupervisor * | tabSupervisor |
| RemoteClient * | remoteClient |
| const CardDatabaseQuerier * | querier |
| QScopedPointer< ContextOpenDeck > | context |
| DlgSharedDecksPreview * | previewDialog = nullptr |
| QTimer * | downloadTimer |
| QMap< int, QString > | itemNames |
| QList< int > | pendingItemIds |
| QList< LoadedDeck > | loadedDecks |
| bool | listPhase = true |
| int | currentItemId = 0 |
| int | totalItems = 0 |
| int | completedItems = 0 |
Additional Inherited Members | |
| Signals inherited from Intent | |
| void | finished () |
| void | failed (QString reason) |
| void | cancelled () |
| IntentOpenSharedDeck::IntentOpenSharedDeck | ( | TabSupervisor * | _tabSupervisor, |
| RemoteClient * | _remoteClient, | ||
| const CardDatabaseQuerier * | _querier, | ||
| std::unique_ptr< ContextOpenDeck > | _context ) |
|
overrideprotectedvirtual |
|
private |
|
privateslot |
|
private |
|
privateslot |
|
privateslot |
|
private |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |