QAbstractConcatenable Struct Reference

QAbstractConcatenable Struct Reference

#include <qstringbuilder.h>

Class Description

Definition at line 78 of file qstringbuilder.h.

+ Inheritance diagram for QAbstractConcatenable:

Static Protected Member Functions

static void convertFromAscii (const char *a, int len, QChar *&out)
 
static void convertToAscii (const QChar *a, int len, char *&out)
 
static void convertFromAscii (char a, QChar *&out)
 
static void convertToAscii (QChar a, char *&out)
 
static void convertToLatin1 (QChar a, char *&out)
 

Member Function Documentation

static void convertFromAscii ( const char *  a,
int  len,
QChar *&  out 
)
staticprotected
static void convertToAscii ( const QChar a,
int  len,
char *&  out 
)
staticprotected
static void convertFromAscii ( char  a,
QChar *&  out 
)
inlinestaticprotected

Definition at line 83 of file qstringbuilder.h.

84  {
85 #ifndef QT_NO_TEXTCODEC
86  if (QString::codecForCStrings)
87  *out++ = QChar::fromAscii(a);
88  else
89 #endif
90  *out++ = QLatin1Char(a);
91  }
static QChar fromAscii(char c)
GLubyte GLubyte GLubyte a
Definition: GLee.h:5404
static void convertToAscii ( QChar  a,
char *&  out 
)
inlinestaticprotected

Definition at line 93 of file qstringbuilder.h.

94  {
95 #ifndef QT_NO_TEXTCODEC
96  if (QString::codecForCStrings)
97  *out++ = a.toAscii(); //###
98  else
99 #endif
100  convertToLatin1(a, out);
101  }
static void convertToLatin1(QChar a, char *&out)
char toAscii() const
static void convertToLatin1 ( QChar  a,
char *&  out 
)
inlinestaticprotected

Definition at line 103 of file qstringbuilder.h.

104  {
105  *out++ = a.unicode() > 0xff ? '?' : char(a.unicode());
106  }
ushort unicode() const
Definition: qchar.h:251

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