26 lines
534 B
C++
26 lines
534 B
C++
#ifndef LOADING_WORKER_H
|
|
#define LOADING_WORKER_H
|
|
|
|
//#include "loading.h"
|
|
#include <qobject.h>
|
|
class LoadingWorker : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit LoadingWorker (QObject *parent = nullptr);
|
|
~LoadingWorker();
|
|
private:
|
|
//Loading *loading;
|
|
public slots:
|
|
void process();
|
|
signals:
|
|
void finished();
|
|
void progress(int value);
|
|
void progressBar(int value, int max);
|
|
void changeStep(QString text);
|
|
void setupWelcomeLocale(QString locale);
|
|
void startI2P();
|
|
};
|
|
|
|
#endif // LOADING_WORKER_H
|