replace Arecord with Qtmultimedia (requiers pulse?)
This commit is contained in:
25
mainwindow.h
25
mainwindow.h
@ -3,15 +3,10 @@
|
||||
|
||||
#include <QMainWindow>
|
||||
#include <QColorDialog>
|
||||
#include <unistd.h>
|
||||
#include <iostream>
|
||||
#include <stdio.h>
|
||||
#include <termios.h>
|
||||
#include <QListWidgetItem>
|
||||
#include <QSettings>
|
||||
#include <QTime>
|
||||
#include <QProcess>
|
||||
#include <QSignalMapper>
|
||||
#include <vector>
|
||||
#include "alarmtime.h"
|
||||
#include "microcontroller.h"
|
||||
|
||||
@ -40,6 +35,8 @@ private:
|
||||
|
||||
Microcontroller *_micro;
|
||||
|
||||
std::vector<QAbstractButton*> _relayCheckBoxes;
|
||||
|
||||
void remoteMode();
|
||||
|
||||
signals:
|
||||
@ -62,17 +59,16 @@ private slots:
|
||||
//RGB
|
||||
void slotChangedRgb(const QColor color);
|
||||
void slotApplyPreset();
|
||||
void slotAmpChkbtn(int state);
|
||||
|
||||
void changeHeaderLableText(const QString string);
|
||||
|
||||
//Relays
|
||||
void slotAmpToggle(int state);
|
||||
void slotBSpeakerToggle(int state);
|
||||
//relays
|
||||
void relayCheckBoxToggeled(int state);
|
||||
|
||||
//Automation
|
||||
void slotAmpAutoToggle(int state);
|
||||
void slotBSpeakerAutoToggle(int state);
|
||||
void slotInfMirrorToggle(int state);
|
||||
void slotInfMirrorAutoToggle(int state);
|
||||
void slotAirconToggle(int state);
|
||||
|
||||
//Alarm
|
||||
void slotChangedAlarmTime(const QTime time);
|
||||
@ -81,9 +77,10 @@ private slots:
|
||||
//Night
|
||||
void slotChangedNightTime(const QTime time);
|
||||
|
||||
//syncoff
|
||||
|
||||
void slotSyncoff();
|
||||
public slots:
|
||||
|
||||
void relayStateChanged(std::vector<bool> relayStates);
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user