You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lubuntu-update/orchestrator.h

33 lines
546 B

10 months ago
#ifndef ORCHESTRATOR_H
#define ORCHESTRATOR_H
#include "mainwindow.h"
#include <QObject>
#include <QStringList>
class QTimer;
class QSystemTrayIcon;
class Orchestrator : public QObject
{
Q_OBJECT
public:
explicit Orchestrator(QObject *parent = nullptr);
public slots:
void displayUpdater();
10 months ago
private slots:
void checkForUpdates();
void handleUpdatesInstalled();
private:
QTimer *checkTimer;
QSystemTrayIcon *trayIcon;
QList<QStringList> updateInfo;
MainWindow updaterWindow;
};
#endif // ORCHESTRATOR_H