Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqmllocalstorage_p.h
Go to the documentation of this file.
1
// Copyright (C) 2019 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
// Qt-Security score:significant
4
5
#
ifndef
QQMLLOCALSTORAGE_P_H
6
#
define
QQMLLOCALSTORAGE_P_H
7
8
#
include
"qqmllocalstorageglobal_p.h"
9
10
//
11
// W A R N I N G
12
// -------------
13
//
14
// This file is not part of the Qt API. It exists purely as an
15
// implementation detail. This header file may change from version to
16
// version without notice, or even be removed.
17
//
18
// We mean it.
19
//
20
21
#
include
<
QtCore
/
qobject
.
h
>
22
#
include
<
QtQml
/
qqml
.
h
>
23
#
include
<
QtQml
/
private
/
qv4engine_p
.
h
>
24
25
QT_BEGIN_NAMESPACE
26
27
class
Q_QMLLOCALSTORAGE_EXPORT
QQmlLocalStorage
:
public
QObject
28
{
29
Q_OBJECT
30
QML_NAMED_ELEMENT(LocalStorage)
31
QML_ADDED_IN_VERSION(2, 0)
32
QML_SINGLETON
33
34
public
:
35
QQmlLocalStorage(QObject *parent =
nullptr
) : QObject(parent) {}
36
~QQmlLocalStorage() override =
default
;
37
38
Q_INVOKABLE
void
openDatabaseSync(QQmlV4FunctionPtr args);
39
};
40
41
QT_END_NAMESPACE
42
43
#
endif
// QQMLLOCALSTORAGE_P_H
QQmlLocalStorage
Definition
qqmllocalstorage_p.h:28
QQmlSqlDatabaseData
Definition
qqmllocalstorage.cpp:53
QQmlSqlDatabaseData::rowsProto
QV4::PersistentValue rowsProto
Definition
qqmllocalstorage.cpp:60
QQmlSqlDatabaseData::databaseProto
QV4::PersistentValue databaseProto
Definition
qqmllocalstorage.cpp:58
QQmlSqlDatabaseData::queryProto
QV4::PersistentValue queryProto
Definition
qqmllocalstorage.cpp:59
QQmlSqlDatabaseData::~QQmlSqlDatabaseData
~QQmlSqlDatabaseData() override
Definition
qqmllocalstorage.cpp:175
QQmlSqlDatabaseData::QQmlSqlDatabaseData
QQmlSqlDatabaseData(QV4::ExecutionEngine *engine)
Definition
qqmllocalstorage.cpp:461
QV4::QQmlSqlDatabaseWrapper
Definition
qqmllocalstorage.cpp:100
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QV4::Heap
Definition
qv4compileddata_p.h:76
QV4
Definition
qjsvalue.h:24
qmlsqldatabase_version
static ReturnedValue qmlsqldatabase_version(const FunctionObject *b, const Value *thisObject, const QV4::Value *, int)
Definition
qqmllocalstorage.cpp:124
qmlsqldatabase_transaction
static ReturnedValue qmlsqldatabase_transaction(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc)
Definition
qqmllocalstorage.cpp:451
qmlsqldatabase_rows_length
static ReturnedValue qmlsqldatabase_rows_length(const FunctionObject *b, const Value *thisObject, const QV4::Value *, int)
Definition
qqmllocalstorage.cpp:134
qmlsqldatabase_read_transaction
static ReturnedValue qmlsqldatabase_read_transaction(const FunctionObject *f, const Value *thisObject, const Value *argv, int argc)
Definition
qqmllocalstorage.cpp:456
qmlsqldatabase_executeSql
static ReturnedValue qmlsqldatabase_executeSql(const FunctionObject *b, const Value *thisObject, const Value *argv, int argc)
Definition
qqmllocalstorage.cpp:236
qmlsqldatabase_rows_setForwardOnly
static ReturnedValue qmlsqldatabase_rows_setForwardOnly(const FunctionObject *b, const Value *thisObject, const Value *argv, int argc)
Definition
qqmllocalstorage.cpp:162
DEFINE_OBJECT_VTABLE
DEFINE_OBJECT_VTABLE(QV4::QQmlSqlDatabaseWrapper)
V4THROW_SQL
#define V4THROW_SQL(error, desc)
Definition
qqmllocalstorage.cpp:29
toSqlVariant
static QVariant toSqlVariant(const QV4::ScopedValue &value)
Definition
qqmllocalstorage.cpp:227
qmlsqldatabase_rows_item
static ReturnedValue qmlsqldatabase_rows_item(const FunctionObject *b, const Value *thisObject, const Value *argv, int argc)
Definition
qqmllocalstorage.cpp:217
qmlsqldatabase_rows_forwardOnly
static ReturnedValue qmlsqldatabase_rows_forwardOnly(const FunctionObject *b, const Value *thisObject, const QV4::Value *, int)
Definition
qqmllocalstorage.cpp:153
qmlsqldatabase_rows_index
static ReturnedValue qmlsqldatabase_rows_index(const QQmlSqlDatabaseWrapper *r, ExecutionEngine *v4, quint32 index, bool *hasProperty=nullptr)
Definition
qqmllocalstorage.cpp:179
qmlsqldatabase_transaction_shared
static ReturnedValue qmlsqldatabase_transaction_shared(const FunctionObject *b, const Value *thisObject, const Value *argv, int argc, bool readOnly)
Definition
qqmllocalstorage.cpp:414
qmlsqldatabase_changeVersion
static ReturnedValue qmlsqldatabase_changeVersion(const FunctionObject *b, const Value *thisObject, const Value *argv, int argc)
Definition
qqmllocalstorage.cpp:351
V4THROW_REFERENCE
#define V4THROW_REFERENCE(string)
Definition
qqmlxmlhttprequest.cpp:38
QV4::Heap::QQmlSqlDatabaseWrapper
Definition
qqmllocalstorage.cpp:68
QV4::Heap::QQmlSqlDatabaseWrapper::inTransaction
bool inTransaction
Definition
qqmllocalstorage.cpp:91
QV4::Heap::QQmlSqlDatabaseWrapper::destroy
void destroy()
Definition
qqmllocalstorage.cpp:79
QV4::Heap::QQmlSqlDatabaseWrapper::forwardOnly
bool forwardOnly
Definition
qqmllocalstorage.cpp:95
QV4::Heap::QQmlSqlDatabaseWrapper::readonly
bool readonly
Definition
qqmllocalstorage.cpp:92
QV4::Heap::QQmlSqlDatabaseWrapper::init
void init()
Definition
qqmllocalstorage.cpp:70
QV4::Heap::QQmlSqlDatabaseWrapper::type
Type type
Definition
qqmllocalstorage.cpp:86
QV4::Heap::QQmlSqlDatabaseWrapper::database
QSqlDatabase * database
Definition
qqmllocalstorage.cpp:87
QV4::Heap::QQmlSqlDatabaseWrapper::version
QString * version
Definition
qqmllocalstorage.cpp:89
QV4::Heap::QQmlSqlDatabaseWrapper::sqlQuery
QSqlQuery * sqlQuery
Definition
qqmllocalstorage.cpp:94
QV4::Heap::QQmlSqlDatabaseWrapper::Type
Type
Definition
qqmllocalstorage.cpp:69
QV4::Heap::QQmlSqlDatabaseWrapper::Database
@ Database
Definition
qqmllocalstorage.cpp:69
QV4::Heap::QQmlSqlDatabaseWrapper::Query
@ Query
Definition
qqmllocalstorage.cpp:69
QV4::Heap::QQmlSqlDatabaseWrapper::Rows
@ Rows
Definition
qqmllocalstorage.cpp:69
TransactionRollback
Definition
qqmllocalstorage.cpp:322
TransactionRollback::TransactionRollback
TransactionRollback(QSqlDatabase *database, bool *transactionFlag)
Definition
qqmllocalstorage.cpp:326
TransactionRollback::clear
void clear()
Definition
qqmllocalstorage.cpp:342
TransactionRollback::db
QSqlDatabase * db
Definition
qqmllocalstorage.cpp:323
TransactionRollback::~TransactionRollback
~TransactionRollback()
Definition
qqmllocalstorage.cpp:334
TransactionRollback::inTransactionFlag
bool * inTransactionFlag
Definition
qqmllocalstorage.cpp:324
qtdeclarative
src
qmllocalstorage
qqmllocalstorage_p.h
Generated on
for Qt by
1.18.0