diff options
author | hjk <hjk121@nokiamail.com> | 2013-05-25 00:42:44 +0200 |
---|---|---|
committer | David Schulz <david.schulz@digia.com> | 2013-05-27 08:35:46 +0200 |
commit | 4e75fc8c54c8cfce49112f7aa23861b53a3ed844 (patch) | |
tree | bae941aa67af7710233850511f9731cfabb90b5f /src/libs/utils/uncommentselection.h | |
parent | dfc0ee6456f3f72c0ad77846f17b910e4cf48d03 (diff) | |
download | qt-creator-4e75fc8c54c8cfce49112f7aa23861b53a3ed844.tar.gz |
TextEditor: Simplify Utils::CommentDefinition structure
Change-Id: I8fc97ed61c47af2c3d9e5cc2bf81e97661204d4f
Reviewed-by: David Schulz <david.schulz@digia.com>
Diffstat (limited to 'src/libs/utils/uncommentselection.h')
-rw-r--r-- | src/libs/utils/uncommentselection.h | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/src/libs/utils/uncommentselection.h b/src/libs/utils/uncommentselection.h index 511878bd41..a0cad994df 100644 --- a/src/libs/utils/uncommentselection.h +++ b/src/libs/utils/uncommentselection.h @@ -45,26 +45,16 @@ class QTCREATOR_UTILS_EXPORT CommentDefinition public: CommentDefinition(); - CommentDefinition &setAfterWhiteSpaces(const bool); - CommentDefinition &setSingleLine(const QString &singleLine); - CommentDefinition &setMultiLineStart(const QString &multiLineStart); - CommentDefinition &setMultiLineEnd(const QString &multiLineEnd); - - bool isAfterWhiteSpaces() const; - const QString &singleLine() const; - const QString &multiLineStart() const; - const QString &multiLineEnd() const; - bool hasSingleLineStyle() const; bool hasMultiLineStyle() const; void clearCommentStyles(); -private: - bool m_afterWhiteSpaces; - QString m_singleLine; - QString m_multiLineStart; - QString m_multiLineEnd; +public: + bool isAfterWhiteSpaces; + QString singleLine; + QString multiLineStart; + QString multiLineEnd; }; QTCREATOR_UTILS_EXPORT |