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

#include <network_settings.h>

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

Public Member Functions

QString getClientID () const
void setClientID (const QString &_clientID)
QString getClientVersion () const
void setClientVersion (const QString &_clientVersion)
int getKeepAlive () const
void setKeepAlive (int _keepAlive)
int getTimeOut () const
void setTimeOut (int _timeOut)
QString getKnownMissingFeatures () const
void setKnownMissingFeatures (const QString &_knownMissingFeatures)
 NetworkSettings (const QString &settingPath, QObject *parent=nullptr)
Public Member Functions inherited from SettingsManager
 SettingsManager (const QString &settingPath, const QString &defaultGroup=QString(), const QString &defaultSubGroup=QString(), QObject *parent=nullptr)
QVariant getValue (const QString &name) const
QVariant getValue (const QString &name, const QString &group, const QString &subGroup=QString()) const
QVariant getValue (const QString &name, const QString &group, const QString &subGroup, const QVariant &defaultValue) const
void batchWrite (std::function< void(QSettings &)> batchWriteFunction)
void sync ()

Private Member Functions

 NetworkSettings (const NetworkSettings &)

Friends

class SettingsCache

Additional Inherited Members

Protected Member Functions inherited from SettingsManager
QSettings getSettings () const
void setValue (const QVariant &value, const QString &name)
void setValue (const QVariant &value, const QString &name, const QString &group, const QString &subGroup=QString())
void deleteValue (const QString &name)
void deleteValue (const QString &name, const QString &group, const QString &subGroup=QString())
Protected Attributes inherited from SettingsManager
QString settingPath
QString defaultGroup
QString defaultSubGroup

Detailed Description

Todo
Document this file.

Constructor & Destructor Documentation

◆ NetworkSettings() [1/2]

NetworkSettings::NetworkSettings ( const QString & settingPath,
QObject * parent = nullptr )
explicit
Here is the call graph for this function:
Here is the caller graph for this function:

◆ NetworkSettings() [2/2]

NetworkSettings::NetworkSettings ( const NetworkSettings & )
private
Here is the call graph for this function:

Member Function Documentation

◆ getClientID()

QString NetworkSettings::getClientID ( ) const
nodiscard
Here is the call graph for this function:

◆ getClientVersion()

QString NetworkSettings::getClientVersion ( ) const
nodiscard
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getKeepAlive()

int NetworkSettings::getKeepAlive ( ) const
nodiscard
Here is the call graph for this function:

◆ getKnownMissingFeatures()

QString NetworkSettings::getKnownMissingFeatures ( ) const
nodiscard
Here is the call graph for this function:

◆ getTimeOut()

int NetworkSettings::getTimeOut ( ) const
nodiscard
Here is the call graph for this function:

◆ setClientID()

void NetworkSettings::setClientID ( const QString & _clientID)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setClientVersion()

void NetworkSettings::setClientVersion ( const QString & _clientVersion)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setKeepAlive()

void NetworkSettings::setKeepAlive ( int _keepAlive)
Here is the call graph for this function:

◆ setKnownMissingFeatures()

void NetworkSettings::setKnownMissingFeatures ( const QString & _knownMissingFeatures)
Here is the call graph for this function:

◆ setTimeOut()

void NetworkSettings::setTimeOut ( int _timeOut)
Here is the call graph for this function:

◆ SettingsCache

friend class SettingsCache
friend

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