216e1a9f71
Commit the original Caesium 1.7.0 codebase with some adjustment. You can also get the original source at: https://sourceforge.net/projects/caesium/files/1.7.0/ Since the file names listed in the Qt resource file have encoding issue which can cause compile failure, these files get removed. Adjustments: + .gitignore M icons.qrc - *.pro.user(.*) - icons/language/*.png
27 lines
410 B
C++
27 lines
410 B
C++
#ifndef STARTUPUPDATER_H
|
|
#define STARTUPUPDATER_H
|
|
|
|
#include <QtGui>
|
|
#include <QNetworkReply>
|
|
#include <QNetworkAccessManager>
|
|
|
|
class StartupUpdater : public QThread
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
StartupUpdater(QObject *parent);
|
|
void run();
|
|
|
|
private slots:
|
|
void downloadFinished(QNetworkReply*);
|
|
|
|
private:
|
|
|
|
signals:
|
|
void showLabel(bool flag);
|
|
|
|
};
|
|
|
|
#endif // STARTUPUPDATER_H
|