Added \since QGIS 3.8

This commit is contained in:
Alessandro Pasotti 2019-04-01 17:25:36 +02:00
parent 77b0e23299
commit 0355611b60
2 changed files with 8 additions and 2 deletions

View File

@ -124,6 +124,8 @@ Returns the cache directory.
Overrides system locale Overrides system locale
:return: the optional override for system locale. :return: the optional override for system locale.
.. versionadded:: 3.8
%End %End
bool showGroupSeparator() const; bool showGroupSeparator() const;
@ -131,6 +133,8 @@ Overrides system locale
Show group (thousand) separator Show group (thousand) separator
:return: if group separator must be shown, default to ``False``. :return: if group separator must be shown, default to ``False``.
.. versionadded:: 3.8
%End %End
}; };

View File

@ -61,8 +61,8 @@ class SERVER_EXPORT QgsServerSettingsEnv : public QObject
MAX_CACHE_LAYERS, MAX_CACHE_LAYERS,
QGIS_SERVER_CACHE_DIRECTORY, QGIS_SERVER_CACHE_DIRECTORY,
QGIS_SERVER_CACHE_SIZE, QGIS_SERVER_CACHE_SIZE,
QGIS_SERVER_SHOW_GROUP_SEPARATOR, //! Show group (thousands) separator when formatting numeric values, defaults to FALSE QGIS_SERVER_SHOW_GROUP_SEPARATOR, //! Show group (thousands) separator when formatting numeric values, defaults to FALSE (since QGIS 3.8)
QGIS_SERVER_OVERRIDE_SYSTEM_LOCALE, //! Override system locale QGIS_SERVER_OVERRIDE_SYSTEM_LOCALE, //! Override system locale (since QGIS 3.8)
}; };
Q_ENUM( EnvVar ) Q_ENUM( EnvVar )
}; };
@ -173,12 +173,14 @@ class SERVER_EXPORT QgsServerSettings
/** /**
* Overrides system locale * Overrides system locale
* \returns the optional override for system locale. * \returns the optional override for system locale.
* \since QGIS 3.8
*/ */
QString overrideSystemLocale() const; QString overrideSystemLocale() const;
/** /**
* Show group (thousand) separator * Show group (thousand) separator
* \returns if group separator must be shown, default to FALSE. * \returns if group separator must be shown, default to FALSE.
* \since QGIS 3.8
*/ */
bool showGroupSeparator() const; bool showGroupSeparator() const;