QtAutoUpdater  3.0.0
A Qt library to automatically check for updates and install them
qmlautoupdaterquickhelper.h
1 #ifndef QMLAUTOUPDATERQUICKHELPER_H
2 #define QMLAUTOUPDATERQUICKHELPER_H
3 
4 #include <QtCore/QObject>
5 
6 #include <QtAutoUpdaterCore/Updater>
7 
8 namespace QtAutoUpdater {
9 
10 class QmlAutoUpdaterQuickHelper : public QObject
11 {
12  Q_OBJECT
13 
14 public:
15  explicit QmlAutoUpdaterQuickHelper(QObject *parent = nullptr);
16 
17  Q_INVOKABLE void jsOwn(QObject *object) const;
18  Q_INVOKABLE void destroy(QObject *object) const;
19  Q_INVOKABLE QString secondaryInfoKey(QtAutoUpdater::Updater *updater) const;
20  Q_INVOKABLE QString secondaryInfoDisplayName(QtAutoUpdater::Updater *updater) const;
21 };
22 
23 }
24 
25 #endif // QMLAUTOUPDATERQUICKHELPER_H
QObject::Q_OBJECT
Q_OBJECTQ_OBJECT
QtAutoUpdater::Updater
The main updater. Can check for updates and trigger update installations.
Definition: updater.h:26
QString
QObject::Q_INVOKABLE
Q_INVOKABLEQ_INVOKABLE
QObject
QtAutoUpdater
The QtAutoUpdater namespace holds all classes that are related with the updater.
Definition: adminauthoriser.h:9