mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
merge
This commit is contained in:
commit
eced4e2340
20 changed files with 5273 additions and 1121 deletions
|
|
@ -8,6 +8,7 @@ class QSettings;
|
|||
class SettingsCache : public QObject {
|
||||
Q_OBJECT
|
||||
signals:
|
||||
void customTranslationFileChanged();
|
||||
void langChanged();
|
||||
void picsPathChanged();
|
||||
void cardDatabasePathChanged();
|
||||
|
|
@ -25,7 +26,7 @@ signals:
|
|||
private:
|
||||
QSettings *settings;
|
||||
|
||||
QString lang;
|
||||
QString customTranslationFile, lang;
|
||||
QString deckPath, replaysPath, picsPath, cardDatabasePath;
|
||||
QString handBgPath, stackBgPath, tableBgPath, playerBgPath, cardBackPicturePath;
|
||||
bool picDownload;
|
||||
|
|
@ -43,6 +44,7 @@ private:
|
|||
bool priceTagFeature;
|
||||
public:
|
||||
SettingsCache();
|
||||
QString getCustomTranslationFile() const { return customTranslationFile; }
|
||||
QString getLang() const { return lang; }
|
||||
QString getDeckPath() const { return deckPath; }
|
||||
QString getReplaysPath() const { return replaysPath; }
|
||||
|
|
@ -68,6 +70,7 @@ public:
|
|||
QString getSoundPath() const { return soundPath; }
|
||||
bool getPriceTagFeature() const { return priceTagFeature; }
|
||||
public slots:
|
||||
void setCustomTranslationFile(const QString &_customTranslationFile);
|
||||
void setLang(const QString &_lang);
|
||||
void setDeckPath(const QString &_deckPath);
|
||||
void setReplaysPath(const QString &_replaysPath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue