diff options
author | Leandro Melo <leandro.melo@nokia.com> | 2011-03-01 11:28:37 +0100 |
---|---|---|
committer | Leandro Melo <leandro.melo@nokia.com> | 2011-03-01 11:29:08 +0100 |
commit | 779344493f56099cc2d953630b9419d819ac71df (patch) | |
tree | 7ec8fbbcbe50f145c2613a619f799cc038813844 /src/plugins/texteditor/generichighlighter/itemdata.cpp | |
parent | 0a777f2689f1a2cde24155f0c04c8c51e1d94b9a (diff) |
Gen. highlighter: Fix spelling
Diffstat (limited to 'src/plugins/texteditor/generichighlighter/itemdata.cpp')
-rw-r--r-- | src/plugins/texteditor/generichighlighter/itemdata.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/texteditor/generichighlighter/itemdata.cpp b/src/plugins/texteditor/generichighlighter/itemdata.cpp index c5f809e506..dcd94a94fc 100644 --- a/src/plugins/texteditor/generichighlighter/itemdata.cpp +++ b/src/plugins/texteditor/generichighlighter/itemdata.cpp @@ -45,7 +45,7 @@ ItemData::ItemData() : m_underlined(false), m_underlinedSpecified(false), m_strikedOut(false), - m_strikedOutSpecified(false), + m_strikeOutSpecified(false), m_isCustomized(false) {} @@ -122,20 +122,20 @@ bool ItemData::isUnderlined() const bool ItemData::isUnderlinedSpecified() const { return m_underlinedSpecified; } -void ItemData::setStrikedOut(const QString &striked) +void ItemData::setStrikeOut(const QString &strike) { - if (!striked.isEmpty()) { - m_strikedOut = toBool(striked); - m_strikedOutSpecified = true; + if (!strike.isEmpty()) { + m_strikedOut = toBool(strike); + m_strikeOutSpecified = true; m_isCustomized = true; } } -bool ItemData::isStrikedOut() const +bool ItemData::isStrikeOut() const { return m_strikedOut; } -bool ItemData::isStrikedOutSpecified() const -{ return m_strikedOutSpecified; } +bool ItemData::isStrikeOutSpecified() const +{ return m_strikeOutSpecified; } bool ItemData::isCustomized() const { return m_isCustomized; } |