QCharRef Class Reference

QCharRef Class Reference

#include <qstring.h>

Class Description

Definition at line 785 of file qstring.h.

Public Member Functions

 operator QChar () const
 
QCharRefoperator= (const QChar &c)
 
QT_ASCII_CAST_WARN QCharRefoperator= (char c)
 
QT_ASCII_CAST_WARN QCharRefoperator= (uchar c)
 
QCharRefoperator= (const QCharRef &c)
 
QCharRefoperator= (ushort rc)
 
QCharRefoperator= (short rc)
 
QCharRefoperator= (uint rc)
 
QCharRefoperator= (int rc)
 
bool isNull () const
 
bool isPrint () const
 
bool isPunct () const
 
bool isSpace () const
 
bool isMark () const
 
bool isLetter () const
 
bool isNumber () const
 
bool isLetterOrNumber ()
 
bool isDigit () const
 
bool isLower () const
 
bool isUpper () const
 
bool isTitleCase () const
 
int digitValue () const
 
QChar toLower () const
 
QChar toUpper () const
 
QChar toTitleCase () const
 
QChar::Category category () const
 
QChar::Direction direction () const
 
QChar::Joining joining () const
 
bool hasMirrored () const
 
QChar mirroredChar () const
 
QString decomposition () const
 
QChar::Decomposition decompositionTag () const
 
uchar combiningClass () const
 
QChar::UnicodeVersion unicodeVersion () const
 
uchar cell () const
 
uchar row () const
 
void setCell (uchar cell)
 
void setRow (uchar row)
 
char toAscii () const
 
char toLatin1 () const
 
ushort unicode () const
 
ushort & unicode ()
 

Friends

class QString
 

Member Function Documentation

operator QChar ( ) const
inline

Definition at line 796 of file qstring.h.

797  { return i < s.d->size ? s.d->data[i] : 0; }
GLdouble s
Definition: GLee.h:1173
QCharRef& operator= ( const QChar c)
inline

Definition at line 798 of file qstring.h.

799  { if (i >= s.d->size) s.expand(i); else s.detach();
800  s.d->data[i] = c.unicode(); return *this; }
ushort unicode() const
Definition: qchar.h:251
GLdouble s
Definition: GLee.h:1173
QT_ASCII_CAST_WARN QCharRef& operator= ( char  c)
inline

Definition at line 804 of file qstring.h.

805  { return operator=(QChar::fromAscii(c)); }
static QChar fromAscii(char c)
const GLubyte * c
Definition: GLee.h:5419
QCharRef & operator=(const QChar &c)
Definition: qstring.h:798
QT_ASCII_CAST_WARN QCharRef& operator= ( uchar  c)
inline

Definition at line 806 of file qstring.h.

807  { return operator=(QChar::fromAscii(c)); }
static QChar fromAscii(char c)
const GLubyte * c
Definition: GLee.h:5419
QCharRef & operator=(const QChar &c)
Definition: qstring.h:798
QCharRef& operator= ( const QCharRef c)
inline

Definition at line 809 of file qstring.h.

809 { return operator=(QChar(c)); }
QCharRef & operator=(const QChar &c)
Definition: qstring.h:798
Definition: qchar.h:72
QCharRef& operator= ( ushort  rc)
inline

Definition at line 810 of file qstring.h.

810 { return operator=(QChar(rc)); }
QCharRef & operator=(const QChar &c)
Definition: qstring.h:798
Definition: qchar.h:72
QCharRef& operator= ( short  rc)
inline

Definition at line 811 of file qstring.h.

811 { return operator=(QChar(rc)); }
QCharRef & operator=(const QChar &c)
Definition: qstring.h:798
Definition: qchar.h:72
QCharRef& operator= ( uint  rc)
inline

Definition at line 812 of file qstring.h.

812 { return operator=(QChar(rc)); }
QCharRef & operator=(const QChar &c)
Definition: qstring.h:798
Definition: qchar.h:72
QCharRef& operator= ( int  rc)
inline

Definition at line 813 of file qstring.h.

813 { return operator=(QChar(rc)); }
QCharRef & operator=(const QChar &c)
Definition: qstring.h:798
Definition: qchar.h:72
bool isNull ( ) const
inline

Definition at line 816 of file qstring.h.

816 { return QChar(*this).isNull(); }
bool isNull() const
Definition: qchar.h:262
Definition: qchar.h:72
bool isPrint ( ) const
inline

Definition at line 817 of file qstring.h.

817 { return QChar(*this).isPrint(); }
bool isPrint() const
Definition: qchar.h:72
bool isPunct ( ) const
inline

Definition at line 818 of file qstring.h.

818 { return QChar(*this).isPunct(); }
bool isPunct() const
Definition: qchar.h:72
bool isSpace ( ) const
inline

Definition at line 819 of file qstring.h.

819 { return QChar(*this).isSpace(); }
bool isSpace() const
Definition: qchar.h:72
bool isMark ( ) const
inline

Definition at line 820 of file qstring.h.

820 { return QChar(*this).isMark(); }
bool isMark() const
Definition: qchar.h:72
bool isLetter ( ) const
inline

Definition at line 821 of file qstring.h.

821 { return QChar(*this).isLetter(); }
bool isLetter() const
Definition: qchar.h:72
bool isNumber ( ) const
inline

Definition at line 822 of file qstring.h.

822 { return QChar(*this).isNumber(); }
bool isNumber() const
Definition: qchar.h:72
bool isLetterOrNumber ( )
inline

Definition at line 823 of file qstring.h.

823 { return QChar(*this).isLetterOrNumber(); }
bool isLetterOrNumber() const
Definition: qchar.h:72
bool isDigit ( ) const
inline

Definition at line 824 of file qstring.h.

824 { return QChar(*this).isDigit(); }
Definition: qchar.h:72
bool isDigit() const
bool isLower ( ) const
inline

Definition at line 825 of file qstring.h.

825 { return QChar(*this).isLower(); }
Definition: qchar.h:72
bool isLower() const
Definition: qchar.h:272
bool isUpper ( ) const
inline

Definition at line 826 of file qstring.h.

826 { return QChar(*this).isUpper(); }
bool isUpper() const
Definition: qchar.h:273
Definition: qchar.h:72
bool isTitleCase ( ) const
inline

Definition at line 827 of file qstring.h.

827 { return QChar(*this).isTitleCase(); }
bool isTitleCase() const
Definition: qchar.h:274
Definition: qchar.h:72
int digitValue ( ) const
inline

Definition at line 829 of file qstring.h.

829 { return QChar(*this).digitValue(); }
int digitValue() const
Definition: qchar.h:72
QChar toLower ( ) const
inline

Definition at line 830 of file qstring.h.

830 { return QChar(*this).toLower(); }
QChar toLower() const
Definition: qchar.h:72
QChar toUpper ( ) const
inline

Definition at line 831 of file qstring.h.

831 { return QChar(*this).toUpper(); }
QChar toUpper() const
Definition: qchar.h:72
QChar toTitleCase ( ) const
inline

Definition at line 832 of file qstring.h.

832 { return QChar(*this).toTitleCase(); }
QChar toTitleCase() const
Definition: qchar.h:72
QChar::Category category ( ) const
inline

Definition at line 834 of file qstring.h.

834 { return QChar(*this).category(); }
Category category() const
Definition: qchar.h:72
QChar::Direction direction ( ) const
inline

Definition at line 835 of file qstring.h.

835 { return QChar(*this).direction(); }
Direction direction() const
Definition: qchar.h:72
QChar::Joining joining ( ) const
inline

Definition at line 836 of file qstring.h.

836 { return QChar(*this).joining(); }
Joining joining() const
Definition: qchar.h:72
bool hasMirrored ( ) const
inline

Definition at line 837 of file qstring.h.

837 { return QChar(*this).hasMirrored(); }
bool hasMirrored() const
Definition: qchar.h:72
QChar mirroredChar ( ) const
inline

Definition at line 838 of file qstring.h.

838 { return QChar(*this).mirroredChar(); }
Definition: qchar.h:72
QChar mirroredChar() const
QString decomposition ( ) const
inline

Definition at line 839 of file qstring.h.

839 { return QChar(*this).decomposition(); }
QString decomposition() const
Definition: qchar.h:72
QChar::Decomposition decompositionTag ( ) const
inline

Definition at line 840 of file qstring.h.

840 { return QChar(*this).decompositionTag(); }
Decomposition decompositionTag() const
Definition: qchar.h:72
uchar combiningClass ( ) const
inline

Definition at line 841 of file qstring.h.

841 { return QChar(*this).combiningClass(); }
unsigned char combiningClass() const
Definition: qchar.h:72
QChar::UnicodeVersion unicodeVersion ( ) const
inline

Definition at line 843 of file qstring.h.

843 { return QChar(*this).unicodeVersion(); }
UnicodeVersion unicodeVersion() const
Definition: qchar.h:72
uchar cell ( ) const
inline

Definition at line 845 of file qstring.h.

845 { return QChar(*this).cell(); }
Definition: qchar.h:72
uchar cell() const
Definition: qchar.h:283
uchar row ( ) const
inline

Definition at line 846 of file qstring.h.

846 { return QChar(*this).row(); }
uchar row() const
Definition: qchar.h:284
Definition: qchar.h:72
void setCell ( uchar  cell)
inline

Definition at line 876 of file qstring.h.

876 { QChar(*this).setCell(acell); }
void setCell(uchar cell)
Definition: qchar.h:387
Definition: qchar.h:72
void setRow ( uchar  row)
inline

Definition at line 875 of file qstring.h.

875 { QChar(*this).setRow(arow); }
void setRow(uchar row)
Definition: qchar.h:389
Definition: qchar.h:72
char toAscii ( ) const
inline

Definition at line 855 of file qstring.h.

855 { return QChar(*this).toAscii(); }
char toAscii() const
Definition: qchar.h:72
char toLatin1 ( ) const
inline

Definition at line 856 of file qstring.h.

856 { return QChar(*this).toLatin1(); }
char toLatin1() const
Definition: qchar.h:376
Definition: qchar.h:72
ushort unicode ( ) const
inline

Definition at line 857 of file qstring.h.

857 { return QChar(*this).unicode(); }
Definition: qchar.h:72
ushort unicode() const
Definition: qchar.h:251
ushort& unicode ( )
inline

Definition at line 859 of file qstring.h.

859 { return s.data()[i].unicode(); }
GLdouble s
Definition: GLee.h:1173

Friends And Related Function Documentation

friend class QString
friend

Definition at line 790 of file qstring.h.


The documentation for this class was generated from the following file: