Skip to content

Commit

Permalink
Removed settings struct
Browse files Browse the repository at this point in the history
  • Loading branch information
domi4484 committed Apr 15, 2021
1 parent 6516381 commit 2087a7f
Show file tree
Hide file tree
Showing 39 changed files with 385 additions and 229 deletions.
Expand Up @@ -321,10 +321,7 @@ The contents of the reply will be returned after the request is completed or an
.. versionadded:: 3.6
%End

struct Settings
{
const QgsSettingsEntryInteger networkTimeout;
};
const QgsSettingsEntryInteger settingsNetworkTimeout;

signals:

Expand Down
11 changes: 4 additions & 7 deletions python/core/auto_generated/network/qgsnewsfeedparser.sip.in
Expand Up @@ -93,13 +93,10 @@ Returns the authentication configuration for the parser.
Returns the settings key used for a feed with the given ``baseUrl``.
%End

struct Settings
{
const QgsSettingsEntryInteger feedLastFetchTime;
const QgsSettingsEntryString feedLanguage;
const QgsSettingsEntryDouble feedLatitude;
const QgsSettingsEntryDouble feedLongitude;
};
const QgsSettingsEntryInteger settingsFeedLastFetchTime;
const QgsSettingsEntryString settingsFeedLanguage;
const QgsSettingsEntryDouble settingsFeedLatitude;
const QgsSettingsEntryDouble settingsFeedLongitude;

public slots:

Expand Down
11 changes: 4 additions & 7 deletions python/core/auto_generated/processing/qgsprocessing.sip.in
Expand Up @@ -53,13 +53,10 @@ Converts a source ``type`` to a string representation.

static const QString TEMPORARY_OUTPUT;

struct Settings
{
const QgsSettingsEntryBool preferFilenameAsLayerName;
const QgsSettingsEntryString tempPath;
const QgsSettingsEntryInteger defaultOutputVectorLayerExt;
const QgsSettingsEntryInteger defaultOutputRasterLayerExt;
};
const QgsSettingsEntryBool settingsPreferFilenameAsLayerName;
const QgsSettingsEntryString settingsTempPath;
const QgsSettingsEntryInteger settingsDefaultOutputVectorLayerExt;
const QgsSettingsEntryInteger settingsDefaultOutputRasterLayerExt;
};

/************************************************************************
Expand Down
13 changes: 5 additions & 8 deletions python/core/auto_generated/qgsapplication.sip.in
Expand Up @@ -1004,14 +1004,11 @@ Emits the signal to collect all the strings of .qgs to be included in ts file
.. versionadded:: 3.4
%End

struct Settings
{
const QgsSettingsEntryString localeUserLocale;
const QgsSettingsEntryBool localeOverrideFlag;
const QgsSettingsEntryString localeGlobalLocale;
const QgsSettingsEntryBool localeShowGroupSeparator;
const QgsSettingsEntryStringList searchPathsForSVG;
};
const QgsSettingsEntryString settingsLocaleUserLocale;
const QgsSettingsEntryBool settingsLocaleOverrideFlag;
const QgsSettingsEntryString settingsLocaleGlobalLocale;
const QgsSettingsEntryBool settingsLocaleShowGroupSeparator;
const QgsSettingsEntryStringList settingsSearchPathsForSVG;

%If (ANDROID)
//dummy method to workaround sip generation issue
Expand Down
5 changes: 1 addition & 4 deletions python/core/auto_generated/qgsgeometryoptions.sip.in
Expand Up @@ -118,10 +118,7 @@ Read the geometry options from ``node``.
.. versionadded:: 3.4
%End

struct Settings
{
const QgsSettingsEntryString geometryValidationDefaultChecks;
};
const QgsSettingsEntryString settingsGeometryValidationDefaultChecks;

signals:

Expand Down
Expand Up @@ -60,10 +60,7 @@ Since the paths are stored by order of preference, lower positions in the list t
Unregisters a localized path
%End

struct Settings
{
const QgsSettingsEntryStringList localizedDataPaths;
};
const QgsSettingsEntryStringList settingsLocalizedDataPaths;

private:
QgsLocalizedDataPathRegistry( const QgsLocalizedDataPathRegistry &other );
Expand Down
6 changes: 1 addition & 5 deletions python/core/auto_generated/qgsmaprendererjob.sip.in
Expand Up @@ -157,11 +157,7 @@ Returns map settings with which this job was started.




struct Settings
{
const QgsSettingsEntryBool logCanvasRefreshEvent;
};
const QgsSettingsEntryBool settingsLogCanvasRefreshEvent;

signals:

Expand Down

0 comments on commit 2087a7f

Please sign in to comment.