summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qchar.h
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2012-05-14 18:12:48 +0300
committerQt by Nokia <qt-info@nokia.com>2012-05-17 05:14:36 +0200
commit8babea35dd11fddb635494657f3ed362822ec6f2 (patch)
tree9d9bf4c93b18e500a7feb56a7185f27b83fcd965 /src/corelib/tools/qchar.h
parent601a707f66485450e6fad24c5964874592a87f09 (diff)
add some more widely-used QChar::SpecialCharacter enum values
Change-Id: Iad58f4366ba6cd6da29a268c56c8a4bc4cf0329c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/corelib/tools/qchar.h')
-rw-r--r--src/corelib/tools/qchar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/tools/qchar.h b/src/corelib/tools/qchar.h
index 6c423859ec..63a8df32f4 100644
--- a/src/corelib/tools/qchar.h
+++ b/src/corelib/tools/qchar.h
@@ -67,6 +67,10 @@ class Q_CORE_EXPORT QChar {
public:
enum SpecialCharacter {
Null = 0x0000,
+ Tabulation = 0x0009,
+ LineFeed = 0x000a,
+ CarriageReturn = 0x000d,
+ Space = 0x0020,
Nbsp = 0x00a0,
ReplacementCharacter = 0xfffd,
ObjectReplacementCharacter = 0xfffc,