Kirigami-addons

types.h
1// SPDX-FileCopyrightText: 2024 Carl Schwan <carl@carlschwan.eu>
2// SPDX-License-Identifier: LGPL-2.0-or-later
3
4#include <qqmlregistration.h>
5#include <QQmlEngine>
6
7#ifdef Q_OS_ANDROID
8#include "androidintegration.h"
9
10struct AndroidIntegrationForeign
11{
12 Q_GADGET
14 QML_NAMED_ELEMENT(AndroidIntegration)
15 QML_SINGLETON
16
17public:
19 {
20 auto instance = &KirigamiAddonsDateAndTime::AndroidIntegration::instance();
22 return instance;
23 }
24};
25#endif
Interface to native Android date/time pickers.
QAction * create(StandardAction id, const Receiver *recvr, Func slot, QObject *parent, std::optional< Qt::ConnectionType > connectionType=std::nullopt)
void setObjectOwnership(QObject *object, ObjectOwnership ownership)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:03:50 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.