New upstream version 18.0.1+dfsg1
This commit is contained in:
parent
6efda2859e
commit
f2cf6cce50
1337 changed files with 41178 additions and 84670 deletions
23
UI/win-update/win-update.hpp
Normal file
23
UI/win-update/win-update.hpp
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#pragma once
|
||||
|
||||
#include <QThread>
|
||||
#include <QString>
|
||||
|
||||
class AutoUpdateThread : public QThread {
|
||||
Q_OBJECT
|
||||
|
||||
bool manualUpdate;
|
||||
bool user_confirmed = false;
|
||||
|
||||
virtual void run() override;
|
||||
|
||||
void info(const QString &title, const QString &text);
|
||||
int queryUpdate(bool manualUpdate, const char *text_utf8);
|
||||
|
||||
private slots:
|
||||
void infoMsg(const QString &title, const QString &text);
|
||||
int queryUpdateSlot(bool manualUpdate, const QString &text);
|
||||
|
||||
public:
|
||||
AutoUpdateThread(bool manualUpdate_) : manualUpdate(manualUpdate_) {}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue