Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
client_update_checker.h
Go to the documentation of this file.
1
6
7#ifndef CLIENT_UPDATE_CHECKER_H
8#define CLIENT_UPDATE_CHECKER_H
9#include <QObject>
10
11class Release;
12
20class ClientUpdateChecker : public QObject
21{
22 Q_OBJECT
23
24 QMetaObject::Connection finishedCheckConnection;
25 QMetaObject::Connection errorConnection;
26
27 void actFinishedCheck(bool needToUpdate, bool isCompatible, Release *release);
28 void actError(const QString &errorString);
29
30public:
31 explicit ClientUpdateChecker(QObject *parent = nullptr);
37 void check();
38
39signals:
43 void finishedCheck(bool needToUpdate, bool isCompatible, Release *release);
44
48 void error(const QString &errorString);
49};
50
51#endif // CLIENT_UPDATE_CHECKER_H
QMetaObject::Connection errorConnection
Definition client_update_checker.h:25
void finishedCheck(bool needToUpdate, bool isCompatible, Release *release)
QMetaObject::Connection finishedCheckConnection
Definition client_update_checker.h:24
void actFinishedCheck(bool needToUpdate, bool isCompatible, Release *release)
Definition client_update_checker.cpp:21
void actError(const QString &errorString)
Definition client_update_checker.cpp:29
void error(const QString &errorString)
ClientUpdateChecker(QObject *parent=nullptr)
Definition client_update_checker.cpp:6
void check()
Definition client_update_checker.cpp:10
Definition release_channel.h:23