#include <QtScript/qscriptengine.h>
#include <QtCore/qglobal.h>
Go to the source code of this file.
◆ qt_add_qmlsqldatabase()
Definition at line 429 of file qdeclarativesqldatabase.cpp.
Referenced by QDeclarativeScriptEngine::QDeclarativeScriptEngine().
QScriptValue newFunction(FunctionSignature signature, int length=0)
Creates a QScriptValue that wraps a native (C++) function.
static QScriptValue qmlsqldatabase_open_sync(QScriptContext *context, QScriptEngine *engine)
QScriptValue globalObject() const
Returns this engine's Global Object.
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal...
QScriptValue newObject()
Creates a QtScript object of class Object.
void setProperty(const QString &name, const QScriptValue &value, const PropertyFlags &flags=KeepExistingFlags)
Sets the value of this QScriptValue's property with the given name to the given value.
The QScriptValue class acts as a container for the Qt Script data types.
static const char * sqlerror[]