Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
RecentsSettings Class Reference

#include <recents_settings.h>

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

Signals

void recentlyOpenedDeckPathsChanged ()

Public Member Functions

QStringList getRecentlyOpenedDeckPaths ()
void clearRecentlyOpenedDeckPaths ()
void updateRecentlyOpenedDeckPaths (const QString &deckPath)
QString getLatestDeckDirPath ()
void setLatestDeckDirPath (const QString &dirPath)
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)
QVariant getValue (const QString &name, const QString &group, const QString &subGroup=QString())
void sync ()

Private Member Functions

 RecentsSettings (const QString &settingPath, QObject *parent=nullptr)
 RecentsSettings (const RecentsSettings &)

Friends

class SettingsCache

Additional Inherited Members

Protected Member Functions inherited from SettingsManager
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
QSettings settings
QString defaultGroup
QString defaultSubGroup

Constructor & Destructor Documentation

◆ RecentsSettings() [1/2]

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

◆ RecentsSettings() [2/2]

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

Member Function Documentation

◆ clearRecentlyOpenedDeckPaths()

void RecentsSettings::clearRecentlyOpenedDeckPaths ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLatestDeckDirPath()

QString RecentsSettings::getLatestDeckDirPath ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRecentlyOpenedDeckPaths()

QStringList RecentsSettings::getRecentlyOpenedDeckPaths ( )
Here is the call graph for this function:

◆ recentlyOpenedDeckPathsChanged

void RecentsSettings::recentlyOpenedDeckPathsChanged ( )
signal
Here is the caller graph for this function:

◆ setLatestDeckDirPath()

void RecentsSettings::setLatestDeckDirPath ( const QString & dirPath)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateRecentlyOpenedDeckPaths()

void RecentsSettings::updateRecentlyOpenedDeckPaths ( const QString & deckPath)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SettingsCache

friend class SettingsCache
friend

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