Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
4
#ifndef QQMLLOCALSTORAGE_P_H
5
#define QQMLLOCALSTORAGE_P_H
6
7
#include "
qqmllocalstorageglobal_p.h
"
8
9
//
10
// W A R N I N G
11
// -------------
12
//
13
// This file is not part of the Qt API. It exists purely as an
14
// implementation detail. This header file may change from version to
15
// version without notice, or even be removed.
16
//
17
// We mean it.
18
//
19
20
#include <QtCore/qobject.h>
21
#include <QtQml/qqml.h>
22
#include <QtQml/private/qv4engine_p.h>
23
24
QT_BEGIN_NAMESPACE
25
26
class
Q_QMLLOCALSTORAGE_EXPORT
QQmlLocalStorage
:
public
QObject
27
{
28
Q_OBJECT
29
QML_NAMED_ELEMENT
(LocalStorage)
30
QML_ADDED_IN_VERSION
(2, 0)
31
QML_SINGLETON
32
33
public
:
34
QQmlLocalStorage
(
QObject
*parent =
nullptr
) :
QObject
(parent) {}
35
~QQmlLocalStorage
()
override
=
default
;
36
37
Q_INVOKABLE
void
openDatabaseSync(
QQmlV4FunctionPtr
args
);
38
};
39
40
QT_END_NAMESPACE
41
42
#endif
// QQMLLOCALSTORAGE_P_H
QObject
\inmodule QtCore
Definition
qobject.h:103
QQmlLocalStorage
Definition
qqmllocalstorage_p.h:27
QQmlLocalStorage::~QQmlLocalStorage
~QQmlLocalStorage() override=default
QQmlLocalStorage::QQmlLocalStorage
QQmlLocalStorage(QObject *parent=nullptr)
Definition
qqmllocalstorage_p.h:34
QQmlV4Function
Definition
qv4engine_p.h:85
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
QML_NAMED_ELEMENT
#define QML_NAMED_ELEMENT(NAME)
Definition
qqmlintegration.h:60
QML_SINGLETON
#define QML_SINGLETON
Definition
qqmlintegration.h:86
QML_ADDED_IN_VERSION
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
Definition
qqmlintegration.h:100
qqmllocalstorageglobal_p.h
Q_OBJECT
#define Q_OBJECT
Definition
qtmetamacros.h:119
Q_INVOKABLE
#define Q_INVOKABLE
Definition
qtmetamacros.h:76
args
QJSValueList args
Definition
src_script_qjsengine.cpp:12
qtdeclarative
src
qmllocalstorage
qqmllocalstorage_p.h
Generated by
1.10.0