Qt 4.8
Classes | Functions
qchar.h File Reference
#include <QtCore/qglobal.h>

Go to the source code of this file.

Classes

class  QChar
 The QChar class provides a 16-bit Unicode character. More...
 
class  QLatin1Char
 The QLatin1Char class provides an 8-bit ASCII/Latin-1 character. More...
 

Functions

bool operator!= (QChar c1, QChar c2)
 
bool operator< (QChar c1, QChar c2)
 
Q_CORE_EXPORT QDataStreamoperator<< (QDataStream &, const QChar &)
 
bool operator<= (QChar c1, QChar c2)
 
bool operator== (QChar c1, QChar c2)
 
bool operator> (QChar c1, QChar c2)
 
bool operator>= (QChar c1, QChar c2)
 
Q_CORE_EXPORT QDataStreamoperator>> (QDataStream &, QChar &)
 
 Q_DECLARE_TYPEINFO (QChar, Q_MOVABLE_TYPE)
 

Function Documentation

◆ operator!=()

bool operator!= ( QChar  c1,
QChar  c2 
)
related

Definition at line 393 of file qchar.h.

393 { return c1.unicode() != c2.unicode(); }
ushort unicode() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: qchar.h:251

◆ operator<()

bool operator< ( QChar  c1,
QChar  c2 
)
related

Definition at line 396 of file qchar.h.

396 { return c1.unicode() < c2.unicode(); }
ushort unicode() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: qchar.h:251

◆ operator<<()

Q_CORE_EXPORT QDataStream& operator<< ( QDataStream ,
const QChar  
)
related

◆ operator<=()

bool operator<= ( QChar  c1,
QChar  c2 
)
related

Definition at line 394 of file qchar.h.

394 { return c1.unicode() <= c2.unicode(); }
ushort unicode() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: qchar.h:251

◆ operator==()

bool operator== ( QChar  c1,
QChar  c2 
)
related

Definition at line 392 of file qchar.h.

392 { return c1.unicode() == c2.unicode(); }
ushort unicode() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: qchar.h:251

◆ operator>()

bool operator> ( QChar  c1,
QChar  c2 
)
related

Definition at line 397 of file qchar.h.

397 { return c1.unicode() > c2.unicode(); }
ushort unicode() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: qchar.h:251

◆ operator>=()

bool operator>= ( QChar  c1,
QChar  c2 
)
related

Definition at line 395 of file qchar.h.

395 { return c1.unicode() >= c2.unicode(); }
ushort unicode() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: qchar.h:251

◆ operator>>()

Q_CORE_EXPORT QDataStream& operator>> ( QDataStream ,
QChar  
)
related

◆ Q_DECLARE_TYPEINFO()

Q_DECLARE_TYPEINFO ( QChar  ,
Q_MOVABLE_TYPE   
)