Warning, file /office/klevernotes/src/app.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 // SPDX-License-Identifier: GPL-2.0-or-later 0002 // SPDX-FileCopyrightText: 2022 Louis Schul <schul9louis@gmail.com> 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 // Restore current window geometry 0016 Q_INVOKABLE void restoreWindowGeometry(QQuickWindow *window, const QString &group = QStringLiteral("main")) const; 0017 // Save current window geometry 0018 Q_INVOKABLE void saveWindowGeometry(QQuickWindow *window, const QString &group = QStringLiteral("main")) const; 0019 };