diff options
author | David Schulz <david.schulz@qt.io> | 2022-09-02 10:19:45 +0200 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2022-09-06 08:46:56 +0000 |
commit | 407082bcb2cd758c2268ef94bbe30be9dfd7180d (patch) | |
tree | 449807d827cff3a9b605c567d05c81750f18a912 /src/plugins/python/pythonsettings.h | |
parent | 6f0f9823568cf76203be74a042ddd98dfcea6509 (diff) | |
download | qt-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.h | 10 |
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 |