Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
IntentOpenLocalDeck Class Reference

#include <intent_open_local_deck.h>

Inheritance diagram for IntentOpenLocalDeck:
[legend]
Collaboration diagram for IntentOpenLocalDeck:
[legend]

Public Member Functions

 IntentOpenLocalDeck (TabSupervisor *_tabSupervisor, const QString &_file)
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)

Private Attributes

TabSupervisortabSupervisor
QString file

Additional Inherited Members

Signals inherited from Intent
void finished ()
void failed (QString reason)

Constructor & Destructor Documentation

◆ IntentOpenLocalDeck()

IntentOpenLocalDeck::IntentOpenLocalDeck ( TabSupervisor * _tabSupervisor,
const QString & _file )
Here is the call graph for this function:

Member Function Documentation

◆ checkPrecondition()

bool IntentOpenLocalDeck::checkPrecondition ( ) const
overrideprotectedvirtual

Implements Intent.

Here is the call graph for this function:

◆ onPreconditionNotSatisfied()

void IntentOpenLocalDeck::onPreconditionNotSatisfied ( )
overrideprotectedvirtual

Implements Intent.

Here is the call graph for this function:

◆ onPreconditionSatisfied()

void IntentOpenLocalDeck::onPreconditionSatisfied ( )
overrideprotectedvirtual

Implements Intent.

Here is the call graph for this function:

Member Data Documentation

◆ file

QString IntentOpenLocalDeck::file
private

◆ tabSupervisor

TabSupervisor* IntentOpenLocalDeck::tabSupervisor
private

The documentation for this class was generated from the following files: