-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathterminal.h
43 lines (36 loc) · 830 Bytes
/
terminal.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef TERMINAL_H
#define TERMINAL_H
#include <QObject>
class terminalT: public QObject
{
Q_OBJECT
public:
terminalT();
signals:
void getRadialCol(qint32 colVal);
void getTogle(bool time, bool lctx, bool nl, bool echo, bool cr, bool lf, qint32 lcrx);
void getDataInTerm(QString dataIn);
public slots:
void setRadialCol(qint32 colVal);
void setTime(bool time);
void setLctx(bool lctx);
void setEcho(bool echo);
void setNl(bool nl);
void setCr(bool cr);
void setLf(bool lf);
void setLcrx(qint32 lcrx);
void setDataInTerm(QString dataIn);
void clearDataInTerm();
void onTerminalComplete();
private:
qint32 riadalCol;
bool time;
bool lctx;
bool nl;
bool echo;
bool cr;
bool lf;
qint32 lcrx;
QString dataInTerm;
};
#endif // TERMINAL_H