19 QMetaType::registerConverter<Coordinates, QString>(&Coordinates::toString);
26 int toInt(
bool *
ok =
nullptr)
const {
27 const bool canConvertSafely = l < std::numeric_limits<int>::max();
29 *
ok = canConvertSafely;
33 QMetaType::registerConverter<BigNumber, int>(&BigNumber::toInt);
41 operator int()
const {
return value(); }
44 QMetaType::registerConverter<Counter, int>();
47 struct CustomStringType {
48 const char *
data()
const {
return nullptr;}
51 QMetaType::registerConverter<CustomStringType, QString>([](
const CustomStringType &
str) {
54 QMetaType::registerConverter<QJsonValue, QPointF>(
56 const auto object =
value.toObject();
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
static QString fromUtf8(QByteArrayView utf8)
This is an overloaded member function, provided for convenience. It differs from the above function o...
QChar * data()
Returns a pointer to the data stored in the QString.
static QString number(int, int base=10)
This is an overloaded member function, provided for convenience. It differs from the above function o...
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
static bool contains(const QJsonArray &haystack, unsigned needle)
GLuint GLfloat GLfloat GLfloat GLfloat GLfloat z
GLint GLint GLint GLint GLint x
[0]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
static int toInt(const QChar &qc, int R)
static double toDouble(Value v)
QtConcurrent::task([]{ qDebug("Hello, world!");}).spawn(FutureResult void increment(QPromise< int > &promise, int i)
[10]
char * toString(const MyType &t)
[31]