1 /* 2 Bacula(R) - The Network Backup Solution 3 4 Copyright (C) 2000-2020 Kern Sibbald 5 6 The original author of Bacula is Kern Sibbald, with contributions 7 from many others, a complete list can be found in the file AUTHORS. 8 9 You may use this file and others of this release according to the 10 license defined in the LICENSE file, which includes the Affero General 11 Public License, v3.0 ("AGPLv3") and some additional permissions and 12 terms pursuant to its AGPLv3 Section 7. 13 14 This notice must be preserved when any source code is 15 conveyed and/or propagated. 16 17 Bacula(R) is a registered trademark of Kern Sibbald. 18 */ 19 20 #ifndef STATUS_H 21 #define STATUS_H 22 23 #include "common.h" 24 #include <QWidget> 25 #include "tray_conf.h" 26 #include "task.h" 27 28 class ResStatus: public QWidget 29 { 30 Q_OBJECT 31 32 public: 33 int count; 34 RESMON *res; ResStatus(RESMON * c)35 ResStatus(RESMON *c): count(0), res(c) { 36 }; ~ResStatus()37 virtual ~ResStatus() { 38 }; 39 public slots: 40 virtual void doUpdate(); 41 virtual void taskDone(task *t); 42 }; 43 44 #endif 45