File indexing completed on 2025-01-26 05:06:23

0001 /*
0002     SPDX-FileCopyrightText: 2014 David Edmundson <kde@davidedmundson.co.uk>
0003     SPDX-FileCopyrightText: 2014 Eike Hein <hein@kde.org>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #pragma once
0009 
0010 #include <PlasmaQuick/Dialog>
0011 
0012 class SubDialog : public PlasmaQuick::Dialog
0013 {
0014     Q_OBJECT
0015 
0016 public:
0017     explicit SubDialog(QQuickItem *parent = nullptr);
0018     ~SubDialog() override;
0019 
0020     Q_INVOKABLE QRect availableScreenRectForItem(QQuickItem *item) const;
0021 
0022     QPoint popupPosition(QQuickItem *item, const QSize &size) override;
0023 };