![]() |
Qt 6.x
The Qt SDK
|
#include "qqmllocalstorage_p.h"#include <QtQml/private/qqmlengine_p.h>#include <QtQml/private/qv4global_p.h>#include <QtQml/private/qv4scopedvalue_p.h>#include <QtQml/private/qv4object_p.h>#include <QtQml/private/qv4sqlerrors_p.h>#include <QtQml/private/qv4jscall_p.h>#include <QtQml/private/qv4objectiterator_p.h>#include <QtCore/qfileinfo.h>#include <QtCore/qdir.h>#include <QtSql/qsqldatabase.h>#include <QtSql/qsqlquery.h>#include <QtSql/qsqlrecord.h>#include <QtSql/qsqlerror.h>#include "moc_qqmllocalstorage_p.cpp"
Include dependency graph for qqmllocalstorage.cpp:Go to the source code of this file.
Classes | |
| class | QQmlSqlDatabaseData |
| struct | QV4::Heap::QQmlSqlDatabaseWrapper |
| class | QV4::QQmlSqlDatabaseWrapper |
| struct | TransactionRollback |
Namespaces | |
| namespace | QV4 |
| \qmltype Particle \inqmlmodule QtQuick.Particles | |
| namespace | QV4::Heap |
Macros | |
| #define | V4THROW_SQL(error, desc) |
| #define | V4THROW_SQL2(error, desc) |
| #define | V4THROW_REFERENCE(string) |
| #define V4THROW_REFERENCE | ( | string | ) |
Definition at line 44 of file qqmllocalstorage.cpp.
Definition at line 28 of file qqmllocalstorage.cpp.
Definition at line 36 of file qqmllocalstorage.cpp.
| DEFINE_OBJECT_VTABLE | ( | QV4::QQmlSqlDatabaseWrapper | ) |
|
static |
Definition at line 350 of file qqmllocalstorage.cpp.
References QV4::JSCallArguments::args, TransactionRollback::clear(), QV4::QQmlSqlDatabaseWrapper::create(), QV4::Heap::QQmlSqlDatabaseWrapper::Database, db, QV4::Scope::engine, QQmlEnginePrivate::get(), QV4::EngineBase::globalObject, QSettings::IniFormat, QQmlEnginePrivate::offlineStorageDatabaseDirectory(), ok, QV4::ExecutionEngine::qmlEngine(), QV4::Heap::QQmlSqlDatabaseWrapper::Query, RETURN_RESULT, RETURN_UNDEFINED, QSettings::setValue(), SQLEXCEPTION_UNKNOWN_ERR, SQLEXCEPTION_VERSION_ERR, QV4::JSCallArguments::thisObject, QV4::Value::toQString(), QV4::Value::undefinedValue(), V4THROW_REFERENCE, and V4THROW_SQL.
Referenced by QQmlSqlDatabaseData::QQmlSqlDatabaseData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 235 of file qqmllocalstorage.cpp.
References QV4::Value::as(), QV4::Scoped< T >::asReturnedValue(), Qt::CaseInsensitive, QV4::QQmlSqlDatabaseWrapper::create(), db, QV4::Scope::engine, QV4::ObjectIterator::EnumerableOnly, QV4::Value::fromInt32(), it, QSqlQuery::lastInsertId(), QV4::ExecutionEngine::newIdentifier(), QV4::ExecutionEngine::newObject(), QV4::ExecutionEngine::newString(), QSqlQuery::numRowsAffected(), Q_ASSERT, QV4::Heap::QQmlSqlDatabaseWrapper::Query, RETURN_RESULT, QV4::Heap::QQmlSqlDatabaseWrapper::Rows, SQLEXCEPTION_DATABASE_ERR, SQLEXCEPTION_SYNTAX_ERR, QString::startsWith(), QV4::Value::toQString(), toSqlVariant(), QVariant::toString(), QV4::Value::undefinedValue(), V4THROW_REFERENCE, and V4THROW_SQL.
Referenced by QQmlSqlDatabaseData::QQmlSqlDatabaseData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 455 of file qqmllocalstorage.cpp.
References qmlsqldatabase_transaction_shared().
Referenced by QQmlSqlDatabaseData::QQmlSqlDatabaseData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 152 of file qqmllocalstorage.cpp.
References QV4::Value::as(), RETURN_RESULT, QV4::Heap::QQmlSqlDatabaseWrapper::Rows, and V4THROW_REFERENCE.
Referenced by QQmlSqlDatabaseData::QQmlSqlDatabaseData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 178 of file qqmllocalstorage.cpp.
References QV4::StaticValue::asReturnedValue(), QV4::ExecutionEngine::fromVariant(), QV4::ExecutionEngine::newIdentifier(), QV4::ExecutionEngine::newObject(), QV4::Encode::null(), record(), and QV4::Encode::undefined().
Referenced by qmlsqldatabase_rows_item(), and QV4::QQmlSqlDatabaseWrapper::virtualGet().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 216 of file qqmllocalstorage.cpp.
References QV4::Value::as(), QV4::Scope::engine, qmlsqldatabase_rows_index(), RETURN_RESULT, QV4::Heap::QQmlSqlDatabaseWrapper::Rows, QV4::Value::toUInt32(), and V4THROW_REFERENCE.
Referenced by QQmlSqlDatabaseData::QQmlSqlDatabaseData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 133 of file qqmllocalstorage.cpp.
References QV4::Value::as(), RETURN_RESULT, QV4::Heap::QQmlSqlDatabaseWrapper::Rows, and V4THROW_REFERENCE.
Referenced by QQmlSqlDatabaseData::QQmlSqlDatabaseData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 161 of file qqmllocalstorage.cpp.
References QV4::Value::as(), QV4::Scope::engine, RETURN_RESULT, RETURN_UNDEFINED, QV4::Heap::QQmlSqlDatabaseWrapper::Rows, QV4::ExecutionEngine::throwTypeError(), and V4THROW_REFERENCE.
Referenced by QQmlSqlDatabaseData::QQmlSqlDatabaseData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 450 of file qqmllocalstorage.cpp.
References qmlsqldatabase_transaction_shared().
Referenced by QQmlSqlDatabaseData::QQmlSqlDatabaseData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 413 of file qqmllocalstorage.cpp.
References QV4::JSCallArguments::args, QV4::Value::as(), QV4::FunctionObject::call(), TransactionRollback::clear(), QV4::QQmlSqlDatabaseWrapper::create(), QV4::Heap::QQmlSqlDatabaseWrapper::Database, db, QV4::Scope::engine, QV4::EngineBase::globalObject, QV4::Heap::QQmlSqlDatabaseWrapper::Query, RETURN_UNDEFINED, SQLEXCEPTION_UNKNOWN_ERR, QV4::JSCallArguments::thisObject, V4THROW_REFERENCE, and V4THROW_SQL.
Referenced by qmlsqldatabase_read_transaction(), and qmlsqldatabase_transaction().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 123 of file qqmllocalstorage.cpp.
References QV4::Value::as(), QV4::Heap::QQmlSqlDatabaseWrapper::Database, QV4::Scope::engine, QV4::ExecutionEngine::newString(), RETURN_RESULT, and V4THROW_REFERENCE.
Referenced by QQmlSqlDatabaseData::QQmlSqlDatabaseData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 226 of file qqmllocalstorage.cpp.
References QV4::ExecutionEngine::toVariant().
Referenced by qmlsqldatabase_executeSql().
Here is the call graph for this function:
Here is the caller graph for this function: