Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qjsprimitivevalue.cpp
Go to the documentation of this file.
1
// Copyright (C) 2020 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#include "
qjsprimitivevalue.h
"
5
6
#include <QtQml/private/qv4runtime_p.h>
7
8
QT_BEGIN_NAMESPACE
9
321
QString
QJSPrimitiveValue::toString
(
double
d
)
322
{
323
QString
result
;
324
QV4::RuntimeHelpers::numberToString
(&
result
, d);
325
return
result
;
326
}
327
339
QT_END_NAMESPACE
340
QJSPrimitiveValue::toString
QString toString() const
Returns the value coerced to a JavaScript String by JavaScript rules.
Definition
qjsprimitivevalue.h:281
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
qjsprimitivevalue.h
result
GLuint64EXT * result
[6]
Definition
qopenglext.h:10932
d
double d
Definition
src_corelib_text_qlocale.cpp:9
QV4::RuntimeHelpers::numberToString
static void numberToString(QString *result, double num, int radix=10)
Definition
qv4runtime.cpp:192
qtdeclarative
src
qml
jsapi
qjsprimitivevalue.cpp
Generated by
1.10.0