QLatin1String Class Reference

QLatin1String Class Reference

#include <qstring.h>

Class Description

Definition at line 654 of file qstring.h.

Public Member Functions

 QLatin1String (const char *s)
 
QLatin1Stringoperator= (const QLatin1String &other)
 
const char * latin1 () const
 
bool operator== (const QString &s) const
 
bool operator!= (const QString &s) const
 
bool operator> (const QString &s) const
 
bool operator< (const QString &s) const
 
bool operator>= (const QString &s) const
 
bool operator<= (const QString &s) const
 
QT_ASCII_CAST_WARN bool operator== (const char *s) const
 
QT_ASCII_CAST_WARN bool operator!= (const char *s) const
 
QT_ASCII_CAST_WARN bool operator< (const char *s) const
 
QT_ASCII_CAST_WARN bool operator> (const char *s) const
 
QT_ASCII_CAST_WARN bool operator<= (const char *s) const
 
QT_ASCII_CAST_WARN bool operator>= (const char *s) const
 

Constructor & Destructor Documentation

QLatin1String ( const char *  s)
inlineexplicit

Definition at line 657 of file qstring.h.

657 : chars(s) {}
GLdouble s
Definition: GLee.h:1173

Member Function Documentation

QLatin1String& operator= ( const QLatin1String other)
inline

Definition at line 658 of file qstring.h.

659  { chars = other.chars; return *this; }
const char* latin1 ( ) const
inline

Definition at line 661 of file qstring.h.

661 { return chars; }
bool operator== ( const QString s) const
inline

Definition at line 663 of file qstring.h.

664  { return s == *this; }
bool operator!= ( const QString s) const
inline

Definition at line 665 of file qstring.h.

666  { return s != *this; }
bool operator> ( const QString s) const
inline

Definition at line 667 of file qstring.h.

668  { return s < *this; }
bool operator< ( const QString s) const
inline

Definition at line 669 of file qstring.h.

670  { return s > *this; }
bool operator>= ( const QString s) const
inline

Definition at line 671 of file qstring.h.

672  { return s <= *this; }
bool operator<= ( const QString s) const
inline

Definition at line 673 of file qstring.h.

674  { return s >= *this; }
QT_ASCII_CAST_WARN bool operator== ( const char *  s) const
inline

Definition at line 676 of file qstring.h.

677  { return QString::fromAscii(s) == *this; }
static QString fromAscii(const char *, int size=-1)
GLdouble s
Definition: GLee.h:1173
QT_ASCII_CAST_WARN bool operator!= ( const char *  s) const
inline

Definition at line 678 of file qstring.h.

679  { return QString::fromAscii(s) != *this; }
static QString fromAscii(const char *, int size=-1)
GLdouble s
Definition: GLee.h:1173
QT_ASCII_CAST_WARN bool operator< ( const char *  s) const
inline

Definition at line 680 of file qstring.h.

681  { return QString::fromAscii(s) > *this; }
static QString fromAscii(const char *, int size=-1)
GLdouble s
Definition: GLee.h:1173
QT_ASCII_CAST_WARN bool operator> ( const char *  s) const
inline

Definition at line 682 of file qstring.h.

683  { return QString::fromAscii(s) < *this; }
static QString fromAscii(const char *, int size=-1)
GLdouble s
Definition: GLee.h:1173
QT_ASCII_CAST_WARN bool operator<= ( const char *  s) const
inline

Definition at line 684 of file qstring.h.

685  { return QString::fromAscii(s) >= *this; }
static QString fromAscii(const char *, int size=-1)
GLdouble s
Definition: GLee.h:1173
QT_ASCII_CAST_WARN bool operator>= ( const char *  s) const
inline

Definition at line 686 of file qstring.h.

687  { return QString::fromAscii(s) <= *this; }
static QString fromAscii(const char *, int size=-1)
GLdouble s
Definition: GLee.h:1173

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