Qt 4.8
Public Functions | Public Variables | List of all members
QStringBuilder< QString, QString > Class Template Reference

#include <qstringbuilder.h>

Public Functions

 operator QString () const
 
 QStringBuilder (const QString &a_, const QString &b_)
 
QByteArray toLatin1 () const
 

Public Variables

const QStringa
 
const QStringb
 

Detailed Description

template<>
class QStringBuilder< QString, QString >

Definition at line 149 of file qstringbuilder.h.

Constructors and Destructors

◆ QStringBuilder()

QStringBuilder< QString, QString >::QStringBuilder ( const QString a_,
const QString b_ 
)
inline

Definition at line 152 of file qstringbuilder.h.

152 : a(a_), b(b_) {}

Functions

◆ operator QString()

QStringBuilder< QString, QString >::operator QString ( ) const
inline

Definition at line 154 of file qstringbuilder.h.

155  { QString r(a); r += b; return r; }
The QString class provides a Unicode character string.
Definition: qstring.h:83

◆ toLatin1()

QByteArray QStringBuilder< QString, QString >::toLatin1 ( ) const
inline

Definition at line 156 of file qstringbuilder.h.

156 { return QString(*this).toLatin1(); }
The QString class provides a Unicode character string.
Definition: qstring.h:83
QByteArray toLatin1() const Q_REQUIRED_RESULT
Returns a Latin-1 representation of the string as a QByteArray.
Definition: qstring.cpp:3993

Properties

◆ a

Definition at line 158 of file qstringbuilder.h.

◆ b

Definition at line 159 of file qstringbuilder.h.


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