comparison ui/mainwindow.h @ 722:b0929968562a

(Issue31) Add textoverlaybutton to show a text in the button.
author Andre Heinecke <andre.heinecke@intevation.de>
date Wed, 02 Jul 2014 18:35:30 +0200
parents e7a070e64b80
children 5f0fca113ff4
comparison
equal deleted inserted replaced
721:abc76948d8e5 722:b0929968562a
25 #include <QScrollArea> 25 #include <QScrollArea>
26 26
27 #include "downloader.h" 27 #include "downloader.h"
28 #include "certificatelist.h" 28 #include "certificatelist.h"
29 #include "certificatelistwidget.h" 29 #include "certificatelistwidget.h"
30 #include "textoverlaybutton.h"
30 class QMenu; 31 class QMenu;
31 class QAction; 32 class QAction;
32 class QTimer; 33 class QTimer;
33 class QPushButton; 34 class QPushButton;
34 35
159 * 160 *
160 * Once the installer process is started this function terminates 161 * Once the installer process is started this function terminates
161 * the application. */ 162 * the application. */
162 void installNewSW(const QString& fileName, const QDateTime& modDate); 163 void installNewSW(const QString& fileName, const QDateTime& modDate);
163 164
165 signals:
166 /** @brief emits the changecount as a string when it changes */
167 void changesChanged(const QString& cnt);
168
164 private: 169 private:
165 /** @brief the combined number of changes made in all lists */ 170 /** @brief the combined number of changes made in all lists */
166 int changeCount(); 171 int changeCount();
172
173 /** @brief use this to set the change count */
174 void setChangeCount(int cnt);
167 175
168 /** @brief check the integrity of available certificate lists. 176 /** @brief check the integrity of available certificate lists.
169 * 177 *
170 * Note: Do not use this as a local trust check as this only works on 178 * Note: Do not use this as a local trust check as this only works on
171 * FileNames where the underlying files can change. This 179 * FileNames where the underlying files can change. This

http://wald.intevation.org/projects/trustbridge/