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

#include <intent_disconnect_from_server.h>

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

Public Member Functions

 IntentDisconnectFromServer (RemoteClient *_remoteClient)
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 Slots

void onStatusChanged (ClientStatus status)

Private Attributes

RemoteClientremoteClient

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ IntentDisconnectFromServer()

IntentDisconnectFromServer::IntentDisconnectFromServer ( RemoteClient * _remoteClient)
Here is the call graph for this function:

Member Function Documentation

◆ checkPrecondition()

bool IntentDisconnectFromServer::checkPrecondition ( ) const
overrideprotectedvirtual

Implements Intent.

◆ onPreconditionNotSatisfied()

void IntentDisconnectFromServer::onPreconditionNotSatisfied ( )
overrideprotectedvirtual

Implements Intent.

Here is the call graph for this function:

◆ onPreconditionSatisfied()

void IntentDisconnectFromServer::onPreconditionSatisfied ( )
overrideprotectedvirtual

Implements Intent.

Here is the call graph for this function:

◆ onStatusChanged

void IntentDisconnectFromServer::onStatusChanged ( ClientStatus status)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ remoteClient

RemoteClient* IntentDisconnectFromServer::remoteClient
private

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