mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-14 19:18:55 -07:00
fix 1032 merge conflicts
This commit is contained in:
parent
e318b70329
commit
475c54bfe1
4 changed files with 145 additions and 1 deletions
|
|
@ -88,6 +88,15 @@ private:
|
|||
int masterVolume;
|
||||
int cardInfoViewMode;
|
||||
QString highlightWords;
|
||||
QString gameDescription;
|
||||
int maxPlayers;
|
||||
QString gameTypes;
|
||||
bool onlyBuddies;
|
||||
bool onlyRegistered;
|
||||
bool spectatorsAllowed;
|
||||
bool spectatorsNeedPassword;
|
||||
bool spectatorsCanTalk;
|
||||
bool spectatorsCanSeeEverything;
|
||||
public:
|
||||
SettingsCache();
|
||||
const QByteArray &getMainWindowGeometry() const { return mainWindowGeometry; }
|
||||
|
|
@ -149,6 +158,15 @@ public:
|
|||
int getCardInfoViewMode() const { return cardInfoViewMode; }
|
||||
QStringList getCountries() const;
|
||||
QString getHighlightWords() const { return highlightWords; }
|
||||
QString getGameDescription() const { return gameDescription; }
|
||||
int getMaxPlayers() const { return maxPlayers; }
|
||||
QString getGameTypes() const { return gameTypes; }
|
||||
bool getOnlyBuddies() const { return onlyBuddies; }
|
||||
bool getOnlyRegistered() const { return onlyRegistered; }
|
||||
bool getSpectatorsAllowed() const { return spectatorsAllowed; }
|
||||
bool getSpectatorsNeedPassword() const { return spectatorsNeedPassword; }
|
||||
bool getSpectatorsCanTalk() const { return spectatorsCanTalk; }
|
||||
bool getSpectatorsCanSeeEverything() const { return spectatorsCanSeeEverything; }
|
||||
public slots:
|
||||
void setMainWindowGeometry(const QByteArray &_mainWindowGeometry);
|
||||
void setLang(const QString &_lang);
|
||||
|
|
@ -203,6 +221,15 @@ public slots:
|
|||
void setMasterVolume(const int _masterVolume);
|
||||
void setCardInfoViewMode(const int _viewMode);
|
||||
void setHighlightWords(const QString &_highlightWords);
|
||||
void setGameDescription(const QString _gameDescription);
|
||||
void setMaxPlayers(const int _maxPlayers);
|
||||
void setGameTypes(const QString _gameTypes);
|
||||
void setOnlyBuddies(const bool _onlyBuddies);
|
||||
void setOnlyRegistered(const bool _onlyRegistered);
|
||||
void setSpectatorsAllowed(const bool _spectatorsAllowed);
|
||||
void setSpectatorsNeedPassword(const bool _spectatorsNeedPassword);
|
||||
void setSpectatorsCanTalk(const bool _spectatorsCanTalk);
|
||||
void setSpectatorsCanSeeEverything(const bool _spectatorsCanSeeEverything);
|
||||
};
|
||||
|
||||
extern SettingsCache *settingsCache;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue