QChar

#include <QtCore/QChar>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QChar


Overview

Public Types Index

enum Category

NoCategory, Mark_NonSpacing, Mark_SpacingCombining, Mark_Enclosing, Number_DecimalDigit, Number_Letter, Number_Other, Separator_Space, Separator_Line, Separator_Paragraph, Other_Control, Other_Format, Other_Surrogate, Other_PrivateUse, Other_NotAssigned, Letter_Uppercase, Letter_Lowercase, Letter_Titlecase, Letter_Modifier, Letter_Other, Punctuation_Connector, Punctuation_Dash, Punctuation_Open, Punctuation_Close, Punctuation_InitialQuote, Punctuation_FinalQuote, Punctuation_Other, Symbol_Math, Symbol_Currency, Symbol_Modifier, Symbol_Other, Punctuation_Dask Punctuation_Dash

enum CombiningClass

Combining_BelowLeftAttached 200, Combining_BelowAttached 202, Combining_BelowRightAttached 204, Combining_LeftAttached 208, Combining_RightAttached 210, Combining_AboveLeftAttached 212, Combining_AboveAttached 214, Combining_AboveRightAttached 216, Combining_BelowLeft 218, Combining_Below 220, Combining_BelowRight 222, Combining_Left 224, Combining_Right 226, Combining_AboveLeft 228, Combining_Above 230, Combining_AboveRight 232, Combining_DoubleBelow 233, Combining_DoubleAbove 234, Combining_IotaSubscript 240

enum Decomposition

NoDecomposition, Canonical, Font, NoBreak, Initial, Medial, Final, Isolated, Circle, Super, Sub, Vertical, Wide, Narrow, Small, Square, Compat, Fraction

enum Direction

DirL, DirR, DirEN, DirES, DirET, DirAN, DirCS, DirB, DirS, DirWS, DirON, DirLRE, DirLRO, DirAL, DirRLE, DirRLO, DirPDF, DirNSM, DirBN

enum Joining

OtherJoining, Dual, Right, Center

enum SpecialCharacter

Null 0x0000, Nbsp 0x00a0, ReplacementCharacter 0xfffd, ObjectReplacementCharacter 0xfffc, ByteOrderMark 0xfeff, ByteOrderSwapped 0xfffe, ParagraphSeparator 0x2029, LineSeparator 0x2028

enum UnicodeVersion

Unicode_Unassigned, Unicode_1_1, Unicode_2_0, Unicode_2_1_2, Unicode_3_0, Unicode_3_1, Unicode_3_2, Unicode_4_0, Unicode_4_1, Unicode_5_0

Public Functions Index

QChar ()
QT_ASCII_CAST_WARN_CONSTRUCTORQChar (char c)
QT_ASCII_CAST_WARN_CONSTRUCTORQChar (uchar c)
QChar (QLatin1Char ch)
QChar (uchar c, uchar r)
QChar (ushort rc)
QChar (short rc)
QChar (uint rc)
QChar (int rc)
QChar (SpecialCharacter sc)
Categorycategory () const
ucharcell () const
unsigned charcombiningClass () const
QStringdecomposition () const
DecompositiondecompositionTag () const
intdigitValue () const
Directiondirection () const
boolhasMirrored () const
boolisDigit () const
boolisHighSurrogate () const
boolisLetter () const
boolisLetterOrNumber () const
boolisLower () const
boolisLowSurrogate () const
boolisMark () const
boolisNull () const
boolisNumber () const
boolisPrint () const
boolisPunct () const
boolisSpace () const
boolisSymbol () const
boolisTitleCase () const
boolisUpper () const
Joiningjoining () const
QCharmirroredChar () const
ucharrow () const
voidsetCell (uchar cell)
voidsetRow (uchar row)
chartoAscii () const
QChartoCaseFolded () const
chartoLatin1 () const
QChartoLower () const
QChartoTitleCase () const
QChartoUpper () const
ushortunicode () const
ushort &unicode ()
UnicodeVersionunicodeVersion () const

Static Public Functions Index

Category QT_FASTCALLcategory (uint ucs4)
Category QT_FASTCALLcategory (ushort ucs2)
unsigned char QT_FASTCALLcombiningClass (uint ucs4)
unsigned char QT_FASTCALLcombiningClass (ushort ucs2)
UnicodeVersion QT_FASTCALLcurrentUnicodeVersion ()
QString QT_FASTCALLdecomposition (uint ucs4)
Decomposition QT_FASTCALLdecompositionTag (uint ucs4)
int QT_FASTCALLdigitValue (uint ucs4)
int QT_FASTCALLdigitValue (ushort ucs2)
Direction QT_FASTCALLdirection (uint ucs4)
Direction QT_FASTCALLdirection (ushort ucs2)
QCharfromAscii (char c)
QCharfromLatin1 (char c)
ushorthighSurrogate (uint ucs4)
boolisHighSurrogate (uint ucs4)
boolisLowSurrogate (uint ucs4)
Joining QT_FASTCALLjoining (uint ucs4)
Joining QT_FASTCALLjoining (ushort ucs2)
ushortlowSurrogate (uint ucs4)
uint QT_FASTCALLmirroredChar (uint ucs4)
ushort QT_FASTCALLmirroredChar (ushort ucs2)
boolrequiresSurrogates (uint ucs4)
uintsurrogateToUcs4 (ushort high, ushort low)
uintsurrogateToUcs4 (QChar high, QChar low)
uint QT_FASTCALLtoCaseFolded (uint ucs4)
ushort QT_FASTCALLtoCaseFolded (ushort ucs2)
uint QT_FASTCALLtoLower (uint ucs4)
ushort QT_FASTCALLtoLower (ushort ucs2)
uint QT_FASTCALLtoTitleCase (uint ucs4)
ushort QT_FASTCALLtoTitleCase (ushort ucs2)
uint QT_FASTCALLtoUpper (uint ucs4)
ushort QT_FASTCALLtoUpper (ushort ucs2)
UnicodeVersion QT_FASTCALLunicodeVersion (uint ucs4)
UnicodeVersion QT_FASTCALLunicodeVersion (ushort ucs2)

Public Types

Category

NoCategory
Mark_NonSpacing
Mark_SpacingCombining
Mark_Enclosing
Number_DecimalDigit
Number_Letter
Number_Other
Separator_Space
Separator_Line
Separator_Paragraph
Other_Control
Other_Format
Other_Surrogate
Other_PrivateUse
Other_NotAssigned
Letter_Uppercase
Letter_Lowercase
Letter_Titlecase
Letter_Modifier
Letter_Other
Punctuation_Connector
Punctuation_Dash
Punctuation_Open
Punctuation_Close
Punctuation_InitialQuote
Punctuation_FinalQuote
Punctuation_Other
Symbol_Math
Symbol_Currency
Symbol_Modifier
Symbol_Other
Punctuation_Dask Punctuation_Dash

CombiningClass

Combining_BelowLeftAttached 200
Combining_BelowAttached 202
Combining_BelowRightAttached 204
Combining_LeftAttached 208
Combining_RightAttached 210
Combining_AboveLeftAttached 212
Combining_AboveAttached 214
Combining_AboveRightAttached 216
Combining_BelowLeft 218
Combining_Below 220
Combining_BelowRight 222
Combining_Left 224
Combining_Right 226
Combining_AboveLeft 228
Combining_Above 230
Combining_AboveRight 232
Combining_DoubleBelow 233
Combining_DoubleAbove 234
Combining_IotaSubscript 240

Decomposition

NoDecomposition
Canonical
Font
NoBreak
Initial
Medial
Final
Isolated
Circle
Super
Sub
Vertical
Wide
Narrow
Small
Square
Compat
Fraction

Direction

DirL
DirR
DirEN
DirES
DirET
DirAN
DirCS
DirB
DirS
DirWS
DirON
DirLRE
DirLRO
DirAL
DirRLE
DirRLO
DirPDF
DirNSM
DirBN

Joining

OtherJoining
Dual
Right
Center

SpecialCharacter

Null 0x0000
Nbsp 0x00a0
ReplacementCharacter 0xfffd
ObjectReplacementCharacter 0xfffc
ByteOrderMark 0xfeff
ByteOrderSwapped 0xfffe
ParagraphSeparator 0x2029
LineSeparator 0x2028

UnicodeVersion

Unicode_Unassigned
Unicode_1_1
Unicode_2_0
Unicode_2_1_2
Unicode_3_0
Unicode_3_1
Unicode_3_2
Unicode_4_0
Unicode_4_1
Unicode_5_0

Public Functions

QChar ()

QT_ASCII_CAST_WARN_CONSTRUCTOR QChar (
  • charc)

QT_ASCII_CAST_WARN_CONSTRUCTOR QChar (
  • ucharc)

QChar (

QChar (
  • ucharc,
  • ucharr )

QChar (
  • ushortrc)

QChar (
  • shortrc)

QChar (
  • uintrc)

QChar (
  • intrc)

QChar (
  • SpecialCharactersc)

Category category ()

uchar cell ()

unsigned char combiningClass ()

QString decomposition ()

Decomposition decompositionTag ()

int digitValue ()

Direction direction ()

bool hasMirrored ()

bool isDigit ()

bool isHighSurrogate ()

bool isLetter ()

bool isLetterOrNumber ()

bool isLower ()

bool isLowSurrogate ()

bool isMark ()

bool isNull ()

bool isNumber ()

bool isPrint ()

bool isPunct ()

bool isSpace ()

bool isSymbol ()

bool isTitleCase ()

bool isUpper ()

Joining joining ()

QChar mirroredChar ()

uchar row ()

void setCell (
  • ucharcell)

void setRow (
  • ucharrow)

char toAscii ()

QChar toCaseFolded ()

char toLatin1 ()

QChar toLower ()

QChar toTitleCase ()

QChar toUpper ()

ushort unicode ()

ushort & unicode ()

UnicodeVersion unicodeVersion ()

Static Public Functions

Category QT_FASTCALL category (
  • uintucs4)

Category QT_FASTCALL category (
  • ushortucs2)

unsigned char QT_FASTCALL combiningClass (
  • uintucs4)

unsigned char QT_FASTCALL combiningClass (
  • ushortucs2)

UnicodeVersion QT_FASTCALL currentUnicodeVersion ()

QString QT_FASTCALL decomposition (
  • uintucs4)

Decomposition QT_FASTCALL decompositionTag (
  • uintucs4)

int QT_FASTCALL digitValue (
  • uintucs4)

int QT_FASTCALL digitValue (
  • ushortucs2)

Direction QT_FASTCALL direction (
  • uintucs4)

Direction QT_FASTCALL direction (
  • ushortucs2)

QChar fromAscii (
  • charc)

QChar fromLatin1 (
  • charc)

ushort highSurrogate (
  • uintucs4)

bool isHighSurrogate (
  • uintucs4)

bool isLowSurrogate (
  • uintucs4)

Joining QT_FASTCALL joining (
  • uintucs4)

Joining QT_FASTCALL joining (
  • ushortucs2)

ushort lowSurrogate (
  • uintucs4)

uint QT_FASTCALL mirroredChar (
  • uintucs4)

ushort QT_FASTCALL mirroredChar (
  • ushortucs2)

bool requiresSurrogates (
  • uintucs4)

uint surrogateToUcs4 (
  • ushorthigh,
  • ushortlow )

uint surrogateToUcs4 (

uint QT_FASTCALL toCaseFolded (
  • uintucs4)

ushort QT_FASTCALL toCaseFolded (
  • ushortucs2)

uint QT_FASTCALL toLower (
  • uintucs4)

ushort QT_FASTCALL toLower (
  • ushortucs2)

uint QT_FASTCALL toTitleCase (
  • uintucs4)

ushort QT_FASTCALL toTitleCase (
  • ushortucs2)

uint QT_FASTCALL toUpper (
  • uintucs4)

ushort QT_FASTCALL toUpper (
  • ushortucs2)

UnicodeVersion QT_FASTCALL unicodeVersion (
  • uintucs4)

UnicodeVersion QT_FASTCALL unicodeVersion (
  • ushortucs2)

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus