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

#include <intent_connect_to_server.h>

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

Public Member Functions

 IntentConnectToServer (RemoteClient *_remoteClient, ContextConnectToServer *_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)

Private Slots

void onStatusChanged (ClientStatus status)
void onSocketError (const QString &errorString)

Private Attributes

RemoteClientremoteClient
ContextConnectToServercontext

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ IntentConnectToServer()

IntentConnectToServer::IntentConnectToServer ( RemoteClient * _remoteClient,
ContextConnectToServer * _context )
Here is the call graph for this function:

Member Function Documentation

◆ checkPrecondition()

bool IntentConnectToServer::checkPrecondition ( ) const
overrideprotectedvirtual

Implements Intent.

◆ onPreconditionNotSatisfied()

void IntentConnectToServer::onPreconditionNotSatisfied ( )
overrideprotectedvirtual

Implements Intent.

Here is the call graph for this function:

◆ onPreconditionSatisfied()

void IntentConnectToServer::onPreconditionSatisfied ( )
overrideprotectedvirtual

Implements Intent.

Here is the call graph for this function:

◆ onSocketError

void IntentConnectToServer::onSocketError ( const QString & errorString)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onStatusChanged

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

Member Data Documentation

◆ context

ContextConnectToServer* IntentConnectToServer::context
private

◆ remoteClient

RemoteClient* IntentConnectToServer::remoteClient
private

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