Go to the documentation of this file.00001 #ifndef EVENTSIGNAL_H
00002 #define EVENTSIGNAL_H
00003 #include <QObject>
00004 #include <QMainWindow>
00005 #include <QApplication>
00006 #include <QLabel>
00007 #include "led.h"
00008
00009 class EventSignal : public QObject {
00010
00011 Q_OBJECT
00012 public:
00013 EventSignal();
00014 void signalBatVal(int newVal);
00015 void signalLed(long int newVal, Led* led);
00016
00017 Q_SIGNALS:
00018 void batValChanged(int newVal);
00019 void ledChanged(long int newVal, Led* led);
00020
00021 private:
00022 int _batPwrVal;
00023 };
00024
00025 #endif //EVENTSIGNAL_H