Mercurial > trustbridge
comparison ui/mainwindow.h @ 587:02a89710a7cd
Split up list and software verification and use it
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Tue, 27 May 2014 16:31:29 +0000 |
parents | aee3eb10bbba |
children | c944de9900de |
comparison
equal
deleted
inserted
replaced
586:ecfd77751daf | 587:02a89710a7cd |
---|---|
132 * Once the installer process is started this function terminates | 132 * Once the installer process is started this function terminates |
133 * the application. */ | 133 * the application. */ |
134 void installNewSW(const QString& fileName, const QDateTime& modDate); | 134 void installNewSW(const QString& fileName, const QDateTime& modDate); |
135 | 135 |
136 private: | 136 private: |
137 /** @brief check the integrity of available files. | 137 /** @brief check the integrity of available certificate lists. |
138 * | 138 * |
139 * Do not use this as a trust check as this only works on | 139 * Note: Do not use this as a trust check as this only works on |
140 * FileNames where the underlying files can change. This | 140 * FileNames where the underlying files can change. This |
141 * is just meant to check if the downloaded data was somehow | 141 * is just meant to check if the downloaded data was somehow |
142 * removed or corrupted. It also initializes mListToInstall | 142 * removed or corrupted. It also initializes mListToInstall |
143 * and mInstalledList. | 143 * and mInstalledList. |
144 */ | 144 */ |
145 void verifyAvailableData(); | 145 void verifyListData(); |
146 | |
147 /** @brief check the integrity of available software updates. | |
148 * | |
149 * Note: Do not use this as a trust check as this only works on | |
150 * FileNames where the underlying files can change. This | |
151 * is just meant to check if the downloaded data was somehow | |
152 * removed or corrupted. | |
153 */ | |
154 void verifySWData(); | |
155 | |
146 void createTrayIcon(); | 156 void createTrayIcon(); |
147 void createActions(); | 157 void createActions(); |
148 void createMenuBar(); | 158 void createMenuBar(); |
149 void createContent(); | 159 void createContent(); |
150 void loadCertificateList(); | 160 void loadCertificateList(); |