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

QString QString::number ( int  n,
int  base = 10 
) [static]

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

Definition at line 5375 of file qstring.cpp.

References setNum().

Referenced by Calculator::additiveOperatorClicked(), Q3DateEdit::addNumber(), Q3TimeEdit::addNumber(), arg(), Calculator::Calculator(), QFtp::connectToHost(), Q3Ftp::connectToHost(), QPatternist::Expression::description(), Calculator::digitClicked(), QPatternist::Cardinality::displayName(), QPlastiqueStyle::drawControl(), QCleanlooksStyle::drawControl(), Q3DataTable::endInsert(), Calculator::equalClicked(), QPatternist::CodepointsToStringFN::evaluateSingleton(), Q3SqlCursorManager::findBuffer(), QGLWidget::fontDisplayListBase(), QPatternist::HexBinary::fromLexical(), Q3SqlCursor::insert(), QTextList::itemText(), MainWindow::keyPressEvent(), Q3Header::label(), QPixmap::load(), QCalendarWidget::minimumSizeHint(), CharacterWidget::mouseMoveEvent(), Calculator::multiplicativeOperatorClicked(), CalculatorForm::on_inputSpinBox1_valueChanged(), CalculatorForm::on_inputSpinBox2_valueChanged(), Q3DockArea::operator<<(), QSqlRelationalTableModel::orderByClause(), QApplicationArgumentParser::parse(), Q3Ftp::put(), QFtp::put(), QColorDialog::QColorDialog(), Q3DateEdit::removeFirstNumber(), Q3TimeEdit::removeFirstNumber(), Q3TimeEdit::removeLastNumber(), Q3DateEdit::removeLastNumber(), QPatternist::ExternalEnvironment::retrieveProperty(), Q3DateEdit::sectionText(), Q3TimeEdit::sectionText(), QHttpHeader::setContentLength(), Q3HttpHeader::setContentLength(), QLibrary::setFileNameAndVersion(), QFtp::setProxy(), MainWindow::sumItems(), QAccessibleSlider::text(), QAccessibleDisplay::text(), QAccessibleScrollBar::text(), QDateTime::toString(), QPatternist::Decimal::toString(), QTest::toString(), QScriptContext::toString(), QDate::toString(), QFont::toString(), Calculator::unaryOperatorClicked(), Q3SqlCursor::update(), QFontDialog::updateSizes(), QtRectFPropertyManager::valueText(), QtPointPropertyManager::valueText(), QtPointFPropertyManager::valueText(), QtSizePropertyManager::valueText(), QtRectPropertyManager::valueText(), QtSizeFPropertyManager::valueText(), QtIntPropertyManager::valueText(), QtDoublePropertyManager::valueText(), QX11EmbedWidget::x11Event(), QPatternist::AbstractDateTime::zoneOffsetToString(), and QColorDialog::~QColorDialog().

{
    QString s;
    s.setNum(n, base);
    return s;
}


Generated by  Doxygen 1.6.0   Back to index