28 lines
		
	
	
	
		
			414 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			414 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef POWER_H
 | |
| #define POWER_H
 | |
| 
 | |
| #include <QObject>
 | |
| #include <QSettings>
 | |
| #include "microcontroller.h"
 | |
| 
 | |
| class AlarmActions : public QObject
 | |
| {
 | |
| private:
 | |
|     Q_OBJECT
 | |
|     Microcontroller* _micro;
 | |
|     QSettings* _settings;
 | |
| 
 | |
| public:
 | |
|     explicit AlarmActions(QSettings* settings, Microcontroller* micro, QObject *parent = nullptr);
 | |
| 
 | |
| signals:
 | |
| 
 | |
| public slots:
 | |
| 
 | |
|     void syncoff();
 | |
| 
 | |
|     void Alarm();
 | |
| 
 | |
| };
 | |
| 
 | |
| #endif // POWER_H
 | 
