diff options
author | Jarek Kobus <jkobus@trolltech.com> | 2011-06-20 16:10:59 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@nokia.com> | 2011-06-20 16:52:54 +0200 |
commit | dcf7345931f2e0222c3c788178a9bf76a19ef594 (patch) | |
tree | e5394c0e9764b84432f7e06fa1eb6f27fc9ca540 /src/plugins/texteditor/tabsettings.cpp | |
parent | 1c5b115dcb70ea999c2135f0713230dd542ec4eb (diff) | |
download | qt-creator-dcf7345931f2e0222c3c788178a9bf76a19ef594.tar.gz |
Remove unused methods
Change-Id: I62d09b50a94c0d3bf3ef670bd6d070b5c74c88e6
Reviewed-on: http://codereview.qt.nokia.com/509
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
Diffstat (limited to 'src/plugins/texteditor/tabsettings.cpp')
-rw-r--r-- | src/plugins/texteditor/tabsettings.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/texteditor/tabsettings.cpp b/src/plugins/texteditor/tabsettings.cpp index 3f9ecd220c..447eeea534 100644 --- a/src/plugins/texteditor/tabsettings.cpp +++ b/src/plugins/texteditor/tabsettings.cpp @@ -61,8 +61,6 @@ TabSettings::TabSettings() : m_smartBackspace(false), m_tabSize(8), m_indentSize(4), - m_indentBraces(false), - m_doubleIndentBlocks(false), m_tabKeyBehavior(TabNeverIndents), m_continuationAlignBehavior(ContinuationAlignWithSpaces) { @@ -87,8 +85,6 @@ void TabSettings::toMap(const QString &prefix, QVariantMap *map) const map->insert(prefix + QLatin1String(smartBackspaceKey), m_smartBackspace); map->insert(prefix + QLatin1String(tabSizeKey), m_tabSize); map->insert(prefix + QLatin1String(indentSizeKey), m_indentSize); - map->insert(prefix + QLatin1String(indentBracesKey), m_indentBraces); - map->insert(prefix + QLatin1String(doubleIndentBlocksKey), m_doubleIndentBlocks); map->insert(prefix + QLatin1String(tabKeyBehaviorKey), m_tabKeyBehavior); map->insert(prefix + QLatin1String(paddingModeKey), m_continuationAlignBehavior); } @@ -104,9 +100,6 @@ void TabSettings::fromMap(const QString &prefix, const QVariantMap &map) map.value(prefix + QLatin1String(smartBackspaceKey), m_smartBackspace).toBool(); m_tabSize = map.value(prefix + QLatin1String(tabSizeKey), m_tabSize).toInt(); m_indentSize = map.value(prefix + QLatin1String(indentSizeKey), m_indentSize).toInt(); - m_indentBraces = map.value(prefix + QLatin1String(indentBracesKey), m_indentBraces).toBool(); - m_doubleIndentBlocks = - map.value(prefix + QLatin1String(doubleIndentBlocksKey), m_doubleIndentBlocks).toBool(); m_tabKeyBehavior = (TabKeyBehavior) map.value(prefix + QLatin1String(tabKeyBehaviorKey), m_tabKeyBehavior).toInt(); m_continuationAlignBehavior = (ContinuationAlignBehavior) @@ -406,8 +399,6 @@ bool TabSettings::equals(const TabSettings &ts) const && m_smartBackspace == ts.m_smartBackspace && m_tabSize == ts.m_tabSize && m_indentSize == ts.m_indentSize - && m_indentBraces == ts.m_indentBraces - && m_doubleIndentBlocks == ts.m_doubleIndentBlocks && m_tabKeyBehavior == ts.m_tabKeyBehavior && m_continuationAlignBehavior == ts.m_continuationAlignBehavior; } |