Mercurial > trustbridge
comparison ui/mainwindow.h @ 1252:9a482182f80f
(issue54) Monitor update installation and restart afterwards on Linux
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 25 Sep 2014 15:57:25 +0200 |
parents | dc1941e04373 |
children | 2a1aa9df8f11 |
comparison
equal
deleted
inserted
replaced
1251:3b433a350092 | 1252:9a482182f80f |
---|---|
20 #include <QTextEdit> | 20 #include <QTextEdit> |
21 #include <QPushButton> | 21 #include <QPushButton> |
22 #include <QLabel> | 22 #include <QLabel> |
23 #include <QCheckBox> | 23 #include <QCheckBox> |
24 #include <QScrollArea> | 24 #include <QScrollArea> |
25 #include <QProcess> | |
25 | 26 |
26 #include "downloader.h" | 27 #include "downloader.h" |
27 #include "certificatelist.h" | 28 #include "certificatelist.h" |
28 #include "certificatelistwidget.h" | 29 #include "certificatelistwidget.h" |
29 #include "textoverlaybutton.h" | 30 #include "textoverlaybutton.h" |
117 void installCerts(); | 118 void installCerts(); |
118 /** @brief Handle a toggle action in the manual certificate list */ | 119 /** @brief Handle a toggle action in the manual certificate list */ |
119 void toggleInManual(bool state, const Certificate &cert); | 120 void toggleInManual(bool state, const Certificate &cert); |
120 /** @brief Remove a certificate from the manual list. */ | 121 /** @brief Remove a certificate from the manual list. */ |
121 void removeFromManual(bool state, const Certificate &cert); | 122 void removeFromManual(bool state, const Certificate &cert); |
123 /** @brief Restart the application */ | |
124 void updaterFinished(int exitCode, QProcess::ExitStatus status); | |
122 | 125 |
123 void togglePages(int button); | 126 void togglePages(int button); |
124 void toggleUpdatesNew(); | 127 void toggleUpdatesNew(); |
125 void toggleUpdatesRemove(); | 128 void toggleUpdatesRemove(); |
126 void toggleUpdatesManual(); | 129 void toggleUpdatesManual(); |