Made start/stopProgress() public.

This commit is contained in:
Gerhard Hoffmann 2023-08-09 15:06:20 +02:00
parent 7c7adc94e6
commit 5db7b4224e

View File

@ -127,6 +127,7 @@ class Worker : public QObject {
MainWindow *m_mainWindow;
int m_progressValue;
bool m_withoutIsmasDirectPort;
bool executeOpkgCommand(QString opkgCommand);
QString getOsVersion() const;
@ -159,6 +160,8 @@ public:
void setMainWindow(MainWindow *mainWindow) { m_mainWindow = mainWindow; }
void setProgress(int progress);
void startProgressLoop();
void stopProgressLoop();
IsmasClient &getIsmasClient() { return m_ismasClient; }
IsmasClient const &getIsmasClient() const { return m_ismasClient; }
@ -205,8 +208,6 @@ private:
PSAInstalled getPSAInstalled();
QString sendCmdSendVersionToIsmas();
void privateUpdate();
void startProgressLoop();
void stopProgressLoop();
};
#endif // WORKER_H_INCLUDED