Qt
6.x
The Qt SDK
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Symbols
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Loading...
Searching...
No Matches
qqmlscriptstring.h
Go to the documentation of this file.
1
// Copyright (C) 2016 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
#ifndef QQMLSCRIPTSTRING_H
5
#define QQMLSCRIPTSTRING_H
6
7
#include <QtQml/qtqmlglobal.h>
8
#include <QtQml/qqml.h>
9
#include <QtCore/qstring.h>
10
#include <QtCore/qshareddata.h>
11
#include <QtCore/qmetatype.h>
12
13
QT_BEGIN_NAMESPACE
14
15
16
class
QObject
;
17
class
QQmlContext
;
18
class
QQmlScriptStringPrivate
;
19
class
QQmlObjectCreator
;
20
namespace
QV4
{
21
struct
QObjectWrapper;
22
}
23
class
Q_QML_EXPORT
QQmlScriptString
24
{
25
Q_GADGET
26
QML_ANONYMOUS
27
public
:
28
QQmlScriptString
();
29
QQmlScriptString
(
const
QQmlScriptString
&);
30
~QQmlScriptString
();
31
32
QQmlScriptString
&operator=(
const
QQmlScriptString
&);
33
34
bool
operator==
(
const
QQmlScriptString
&)
const
;
35
bool
operator!=
(
const
QQmlScriptString
&)
const
;
36
37
bool
isEmpty()
const
;
38
39
bool
isUndefinedLiteral()
const
;
40
bool
isNullLiteral()
const
;
41
QString
stringLiteral()
const
;
42
qreal
numberLiteral(
bool
*
ok
)
const
;
43
bool
booleanLiteral(
bool
*
ok
)
const
;
44
45
private
:
46
QQmlScriptString
(
const
QString
&script,
QQmlContext
*
context
,
QObject
*scope);
47
QSharedDataPointer<QQmlScriptStringPrivate>
d
;
48
49
friend
class
QQmlObjectCreator
;
50
friend
class
QQmlScriptStringPrivate
;
51
friend
class
QQmlExpression
;
52
friend
class
QQmlBinding
;
53
friend
class
QQmlPropertyBinding
;
54
friend
struct
QV4::QObjectWrapper
;
55
};
56
57
QT_END_NAMESPACE
58
59
Q_DECLARE_METATYPE
(
QQmlScriptString
)
60
61
#endif
// QQMLSCRIPTSTRING_H
62
QObject
\inmodule QtCore
Definition
qobject.h:90
QQmlBinding
Definition
qqmlbinding_p.h:34
QQmlContext
The QQmlContext class defines a context within a QML engine.
Definition
qqmlcontext.h:25
QQmlExpression
The QQmlExpression class evaluates JavaScript in a QML context.
Definition
qqmlexpression.h:22
QQmlObjectCreator
Definition
qqmlobjectcreator_p.h:105
QQmlPropertyBinding
Definition
qqmlpropertybinding_p.h:59
QQmlScriptStringPrivate
Definition
qqmlscriptstring_p.h:25
QQmlScriptString
The QQmlScriptString class encapsulates a script and its context.
Definition
qqmlscriptstring.h:24
QSharedDataPointer
\inmodule QtCore
Definition
qshareddata.h:35
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:127
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1545
QV4
\qmltype Particle \inqmlmodule QtQuick.Particles
Definition
qquickv4particledata.cpp:234
context
static void * context
Definition
qandroidaudiosource.cpp:42
operator!=
constexpr bool operator!=(const timespec &t1, const timespec &t2)
Definition
qcore_unix_p.h:114
Q_DECLARE_METATYPE
#define Q_DECLARE_METATYPE(TYPE)
Definition
qmetatype.h:1504
QML_ANONYMOUS
#define QML_ANONYMOUS
Definition
qqmlintegration.h:44
operator==
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
Definition
qrandom.cpp:1219
Q_GADGET
#define Q_GADGET
Definition
qtmetamacros.h:152
qreal
double qreal
Definition
qtypes.h:92
ok
bool ok
[2]
Definition
src_corelib_text_qbytearrayview.cpp:17
d
double d
Definition
src_corelib_text_qlocale.cpp:9
QV4::QObjectWrapper
Definition
qv4qobjectwrapper_p.h:128
qtdeclarative
src
qml
qml
qqmlscriptstring.h
Generated by
1.9.7