mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-29 09:22:18 -07:00
Remove test header guard
Took 4 seconds
This commit is contained in:
parent
2c357fec55
commit
09061caae3
9 changed files with 0 additions and 36 deletions
|
|
@ -67,7 +67,3 @@ target_include_directories(
|
|||
)
|
||||
|
||||
target_link_libraries(libcockatrice_settings PUBLIC libcockatrice_card libcockatrice_utility ${QT_CORE_MODULE})
|
||||
|
||||
if(TEST)
|
||||
target_compile_definitions(libcockatrice_settings PRIVATE SETTINGS_UNIT_TEST)
|
||||
endif()
|
||||
|
|
|
|||
|
|
@ -47,11 +47,7 @@ signals:
|
|||
void cardPictureLoaderCacheMethodChanged(int cardPictureLoaderCacheMethod);
|
||||
void localCardImageStorageNamingSchemeChanged(int localCardImageStorageNamingScheme);
|
||||
|
||||
#ifdef SETTINGS_UNIT_TEST
|
||||
public:
|
||||
#else
|
||||
private:
|
||||
#endif
|
||||
explicit CacheStorageSettings(const QString &settingPath, QObject *parent = nullptr);
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -42,11 +42,7 @@ public:
|
|||
signals:
|
||||
void chatMentionCompleterChanged();
|
||||
|
||||
#ifdef SETTINGS_UNIT_TEST
|
||||
public:
|
||||
#else
|
||||
private:
|
||||
#endif
|
||||
explicit ChatSettings(const QString &settingPath, QObject *parent = nullptr);
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -45,11 +45,7 @@ public:
|
|||
void setLocalGameMaxPlayers(int value);
|
||||
void setLocalGameStartingLifeTotal(int value);
|
||||
|
||||
#ifdef SETTINGS_UNIT_TEST
|
||||
public:
|
||||
#else
|
||||
private:
|
||||
#endif
|
||||
explicit GameSettings(const QString &settingPath, QObject *parent = nullptr);
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -55,11 +55,7 @@ signals:
|
|||
void homeTabDisplayCardNameChanged();
|
||||
void downloadSpoilerStatusChanged();
|
||||
|
||||
#ifdef SETTINGS_UNIT_TEST
|
||||
public:
|
||||
#else
|
||||
private:
|
||||
#endif
|
||||
explicit PersonalSettings(const QString &settingPath, QObject *parent = nullptr);
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -24,11 +24,7 @@ signals:
|
|||
void soundThemeChanged();
|
||||
void masterVolumeChanged(int value);
|
||||
|
||||
#ifdef SETTINGS_UNIT_TEST
|
||||
public:
|
||||
#else
|
||||
private:
|
||||
#endif
|
||||
explicit SoundSettings(const QString &settingPath, QObject *parent = nullptr);
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -27,11 +27,7 @@ public:
|
|||
void setTabAdminOpen(bool value);
|
||||
void setTabLogOpen(bool value);
|
||||
|
||||
#ifdef SETTINGS_UNIT_TEST
|
||||
public:
|
||||
#else
|
||||
private:
|
||||
#endif
|
||||
explicit TabsSettings(const QString &settingPath, QObject *parent = nullptr);
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -33,11 +33,7 @@ public:
|
|||
void setNotifyAboutNewVersion(bool _notifyaboutnewversion);
|
||||
void setUpdateReleaseChannelIndex(int value);
|
||||
|
||||
#ifdef SETTINGS_UNIT_TEST
|
||||
public:
|
||||
#else
|
||||
private:
|
||||
#endif
|
||||
explicit UpdatesSettings(const QString &settingPath, QObject *parent = nullptr);
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -81,11 +81,7 @@ signals:
|
|||
void edhRecCardSizeChanged();
|
||||
void archidektPreviewSizeChanged();
|
||||
|
||||
#ifdef SETTINGS_UNIT_TEST
|
||||
public:
|
||||
#else
|
||||
private:
|
||||
#endif
|
||||
explicit VisualDeckStorageSettings(const QString &settingPath, QObject *parent = nullptr);
|
||||
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue