Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QString & QString::append ( QChar  ch  ) 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Appends the character ch to this string.

Definition at line 1248 of file qstring.cpp.

References QChar::unicode().

Referenced by QSqlTableModel::deleteRowFromTable(), Q3SqlCursor::insert(), QLocale::name(), Q3TextEdit::optimDrawContents(), QSqlTableModel::orderByClause(), QSqlRelationalTableModel::orderByClause(), QSqlRelationalTableModel::selectStatement(), QSqlTableModel::selectStatement(), QProcess::setStandardErrorFile(), QProcess::setStandardOutputFile(), QSqlDriver::sqlStatement(), QLocale::toString(), QHostAddress::toString(), QSqlTableModel::updateRowInTable(), and vsprintf().

{
    if (d->ref != 1 || d->size + 1 > d->alloc)
        realloc(grow(d->size + 1));
    d->data[d->size++] = ch.unicode();
    d->data[d->size] = '\0';
    return *this;
}


Generated by  Doxygen 1.6.0   Back to index