Extract code for obtaining a window from the QML engine into a function

This commit is contained in:
Nicolas Fella
2022-09-01 21:45:59 +02:00
committed by Tobias Fella
parent c379a7fa27
commit 4cf5b516d0
3 changed files with 20 additions and 21 deletions

View File

@@ -20,7 +20,7 @@ class QKeySequences;
class NeoChatRoom;
class NeoChatUser;
class TrayIcon;
class QQuickWindow;
class QWindow;
class QQuickTextDocument;
namespace QKeychain
@@ -146,7 +146,7 @@ public Q_SLOTS:
void logout(Quotient::Connection *conn, bool serverSideLogout);
void changeAvatar(Quotient::Connection *conn, const QUrl &localFile);
static void markAllMessagesAsRead(Quotient::Connection *conn);
void restoreWindowGeometry(QQuickWindow *);
void restoreWindowGeometry(QWindow *);
void saveWindowGeometry(QQuickWindow *);
};