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
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
25
26class Q_QMLLOCALSTORAGE_EXPORT QQmlLocalStorage : public QObject
27{
29 QML_NAMED_ELEMENT(LocalStorage)
32
33public:
34 QQmlLocalStorage(QObject *parent = nullptr) : QObject(parent) {}
35 ~QQmlLocalStorage() override = default;
36
37 Q_INVOKABLE void openDatabaseSync(QQmlV4FunctionPtr args);
38};
39
41
42#endif // QQMLLOCALSTORAGE_P_H
\inmodule QtCore
Definition qobject.h:103
~QQmlLocalStorage() override=default
QQmlLocalStorage(QObject *parent=nullptr)
Combined button and popup list for selecting options.
#define QML_NAMED_ELEMENT(NAME)
#define QML_SINGLETON
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_OBJECT
#define Q_INVOKABLE
QJSValueList args