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

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 1324 of file qstring.cpp.

References QChar::unicode().

Referenced by QAbstractFileEngine::create(), QAbstractFileEngineIterator::currentFilePath(), QSqlTableModel::deleteRowFromTable(), Q3SqlCursor::insert(), QLocale::name(), normalized(), Q3TextEdit::optimDrawContents(), QSqlTableModel::orderByClause(), QSqlRelationalTableModel::orderByClause(), QSqlRelationalTableModel::selectStatement(), QSqlTableModel::selectStatement(), 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