KNewStuff

transientmagicianassistant.h
1// SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
2// SPDX-FileCopyrightText: 2024 Harald Sitter <sitter@kde.org>
3
4#pragma once
5
6#include <optional>
7
8#include <QObject>
9#include <QQmlEngine>
10#include <QQmlParserStatus>
11
12class QQuickWindow;
13
14class TransientMagicianAssistant : public QObject, public QQmlParserStatus
15{
18 QML_ELEMENT
19public:
20 using QObject::QObject;
21
22 void classBegin() override;
23 void componentComplete() override;
24 std::optional<QQuickWindow *> findWindowParent();
25};
QObject(QObject *parent)
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:20:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.