Made start/stopProgress() public.
This commit is contained in:
		
							
								
								
									
										5
									
								
								worker.h
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								worker.h
									
									
									
									
									
								
							@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user