forked from qt-creator/qt-creator
CppEditor: Remove unused CppCodeStyleSettings::{to,from}Settings()
Change-Id: I4305b6cd296b7ad60ebf8683c53cb657c28b0e3e Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -69,17 +69,6 @@ namespace CppEditor {
|
||||
|
||||
CppCodeStyleSettings::CppCodeStyleSettings() = default;
|
||||
|
||||
void CppCodeStyleSettings::toSettings(const QString &category, QSettings *s) const
|
||||
{
|
||||
Utils::toSettings(QLatin1String(groupPostfix), category, s, this);
|
||||
}
|
||||
|
||||
void CppCodeStyleSettings::fromSettings(const QString &category, QSettings *s)
|
||||
{
|
||||
*this = CppCodeStyleSettings(); // Assign defaults
|
||||
Utils::fromSettings(QLatin1String(groupPostfix), category, s, this);
|
||||
}
|
||||
|
||||
QVariantMap CppCodeStyleSettings::toMap() const
|
||||
{
|
||||
return {
|
||||
|
@@ -31,10 +31,6 @@
|
||||
|
||||
#include <QVariantMap>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QSettings;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace CPlusPlus { class Overview; }
|
||||
namespace TextEditor { class TabSettings; }
|
||||
namespace ProjectExplorer { class Project; }
|
||||
@@ -88,9 +84,6 @@ public:
|
||||
// CppEditor/QuickFixSetting. Remove in 4.16
|
||||
bool preferGetterNameWithoutGetPrefix = true;
|
||||
|
||||
void toSettings(const QString &category, QSettings *s) const;
|
||||
void fromSettings(const QString &category, QSettings *s);
|
||||
|
||||
QVariantMap toMap() const;
|
||||
void fromMap(const QVariantMap &map);
|
||||
|
||||
|
Reference in New Issue
Block a user