mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 03:53:56 -07:00
Client update implementation
This commit is contained in:
parent
36c3536e0c
commit
66fda086c3
10 changed files with 503 additions and 4 deletions
|
|
@ -25,8 +25,11 @@
|
|||
#include <QSystemTrayIcon>
|
||||
#include <QProcess>
|
||||
#include <QMessageBox>
|
||||
#include <QtNetwork>
|
||||
|
||||
#include "abstractclient.h"
|
||||
#include "pb/response.pb.h"
|
||||
#include "update_checker.h"
|
||||
|
||||
class TabSupervisor;
|
||||
class RemoteClient;
|
||||
|
|
@ -66,6 +69,7 @@ private slots:
|
|||
void actExit();
|
||||
|
||||
void actAbout();
|
||||
void actUpdate();
|
||||
|
||||
void iconActivated(QSystemTrayIcon::ActivationReason reason);
|
||||
|
||||
|
|
@ -90,7 +94,7 @@ private:
|
|||
QList<QMenu *> tabMenus;
|
||||
QMenu *cockatriceMenu, *helpMenu;
|
||||
QAction *aConnect, *aDisconnect, *aSinglePlayer, *aWatchReplay, *aDeckEditor, *aFullScreen, *aSettings, *aExit,
|
||||
*aAbout, *aCheckCardUpdates, *aRegister;
|
||||
*aAbout, *aCheckCardUpdates, *aRegister, *aUpdate;
|
||||
TabSupervisor *tabSupervisor;
|
||||
|
||||
QMenu *trayIconMenu;
|
||||
|
|
@ -105,6 +109,7 @@ private:
|
|||
|
||||
QMessageBox serverShutdownMessageBox;
|
||||
QProcess * cardUpdateProcess;
|
||||
|
||||
public:
|
||||
MainWindow(QWidget *parent = 0);
|
||||
~MainWindow();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue