Navigator2Go  2.0
Manage your local Ocean Navigator installation.
updaterunnable.h
1 #ifndef UPDATERUNNABLE_H
2 #define UPDATERUNNABLE_H
3 
4 #include <QObject>
5 #include <QRunnable>
6 
7 /***********************************************************************************/
9 
10 class UpdateRunnable : public QObject, public QRunnable {
11  Q_OBJECT
12 public:
13  explicit UpdateRunnable(const QString& ONInstallDir);
14 
15 protected:
16  void run() override;
17 
18 signals:
20  void finished();
21 
22 private:
23  const QString m_ONInstallDir;
24 };
25 
26 #endif // UPDATERUNNABLE_H
void finished()
Emitted when update check complete.
Used to update Navigator code from git, and rebuild frontend files.
Definition: updaterunnable.h:10