File indexing completed on 2024-05-12 17:24:21

0001 // SPDX-FileCopyrightText: 2022 Felipe Kinoshita <kinofhek@gmail.com>
0002 // SPDX-License-Identifier: LGPL-2.1-or-later
0003 
0004 #pragma once
0005 
0006 #include <QObject>
0007 
0008 class QQuickWindow;
0009 
0010 class App : public QObject
0011 {
0012     Q_OBJECT
0013 
0014 public:
0015     explicit App(QObject* parent = nullptr);
0016 
0017     Q_INVOKABLE void restoreWindowGeometry(QQuickWindow* window);
0018     Q_INVOKABLE void saveWindowGeometry(QQuickWindow* window);
0019 };