Commit dcf73459 authored by Jarek Kobus's avatar Jarek Kobus Committed by Jarek Kobus
Browse files

Remove unused methods

Change-Id: I62d09b50a94c0d3bf3ef670bd6d070b5c74c88e6
Reviewed-on: http://codereview.qt.nokia.com/509

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarLeandro T. C. Melo <leandro.melo@nokia.com>
parent 1c5b115d
......@@ -104,10 +104,6 @@ private:
const OldSenderT *oldSender,
TextEditor::BaseTextEditorWidget *baseTextEditor) const;
void emitStorageSettingsChanged();
void emitBehaviorSettingsChanged();
void emitExtraEncodingSettingsChanged();
QScopedPointer<EditorConfigurationPrivate> m_d;
};
......
......@@ -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;
}
......
......@@ -99,8 +99,6 @@ public:
bool m_smartBackspace;
int m_tabSize;
int m_indentSize;
bool m_indentBraces;
bool m_doubleIndentBlocks;
TabKeyBehavior m_tabKeyBehavior;
ContinuationAlignBehavior m_continuationAlignBehavior;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment