diff 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
line wrap: on
line diff
--- a/ui/mainwindow.h	Wed Jul 02 17:04:02 2014 +0200
+++ b/ui/mainwindow.h	Wed Jul 02 18:35:30 2014 +0200
@@ -27,6 +27,7 @@
 #include "downloader.h"
 #include "certificatelist.h"
 #include "certificatelistwidget.h"
+#include "textoverlaybutton.h"
 class QMenu;
 class QAction;
 class QTimer;
@@ -161,10 +162,17 @@
      * the application. */
     void installNewSW(const QString& fileName, const QDateTime& modDate);
 
+signals:
+    /** @brief emits the changecount as a string when it changes */
+    void changesChanged(const QString& cnt);
+
 private:
     /** @brief the combined number of changes made in all lists */
     int changeCount();
 
+    /** @brief use this to set the change count */
+    void setChangeCount(int cnt);
+
     /** @brief check the integrity of available certificate lists.
      *
      * Note: Do not use this as a local trust check as this only works on

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