summaryrefslogtreecommitdiff
path: root/src/plugins/python/pythonsettings.h
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2022-09-02 10:19:45 +0200
committerDavid Schulz <david.schulz@qt.io>2022-09-06 08:46:56 +0000
commit407082bcb2cd758c2268ef94bbe30be9dfd7180d (patch)
tree449807d827cff3a9b605c567d05c81750f18a912 /src/plugins/python/pythonsettings.h
parent6f0f9823568cf76203be74a042ddd98dfcea6509 (diff)
downloadqt-creator-407082bcb2cd758c2268ef94bbe30be9dfd7180d.tar.gz
Python: restructure settings
Change-Id: I32b3bed5581e06e981863b561b9b2f2bb125b82e Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/python/pythonsettings.h')
-rw-r--r--src/plugins/python/pythonsettings.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/plugins/python/pythonsettings.h b/src/plugins/python/pythonsettings.h
index bfaeadf929..5852dc43f2 100644
--- a/src/plugins/python/pythonsettings.h
+++ b/src/plugins/python/pythonsettings.h
@@ -39,7 +39,15 @@ signals:
private:
PythonSettings();
+ void initFromSettings(QSettings *settings);
+ void writeToSettings(QSettings *settings);
+
+ QList<Interpreter> m_interpreters;
+ QString m_defaultInterpreterId;
+ bool m_pylsEnabled = true;
+ QString m_pylsConfiguration;
+
static void saveSettings();
};
-} // PythonEditor::Internal
+} // Python::Internal