This repository has been archived by the owner on Nov 11, 2019. It is now read-only.
forked from joelmatteotti/tuxdroidclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTuxClient.h
160 lines (120 loc) · 3.94 KB
/
TuxClient.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
/* =============== GPL HEADER =====================
* mainwindow.h is part of TuxDroidClient
* Copyleft (C) 2012 Joel Matteotti <joel _DOT_ matteotti _AT_ free _DOT_ fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*
* ====================================================
*/
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QString>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_btnConnect_clicked();
void on_btnOpenMouth_clicked();
void on_btnCloseMouth_clicked();
void on_btnOpenEyes_clicked();
void on_btnCloseEyes_clicked();
void on_btnFlippersUp_clicked();
void on_btnFlippersDown_clicked();
void on_btnRotateLeft_clicked();
void on_btnRotateRight_clicked();
void on_btnLeftLedOn_clicked();
void on_btnLeftLedOff_clicked();
void on_btnLeftLedBlink_clicked();
void on_btnRightLedOn_clicked();
void on_btnRightLedOff_clicked();
void on_btnRightLedBlink_clicked();
void on_btnBothLedOn_clicked();
void on_btnBothLedOff_clicked();
void on_btnBothLedBlink_clicked();
void on_btnTTSSpeak_clicked();
void on_btnFlashSnd_clicked();
void on_btnPlayAtt_clicked();
void on_btnPlaySnd_clicked();
void on_btnReset_clicked();
void on_btnSendCmd_clicked();
void sendMessageToServer(QString message);
void readMessageFromServer();
void onLeftButtonPressed();
void onLeftButtonReleased();
void onRightButtonPressed();
void onRightButtonReleased();
void onHeadButtonPressed();
void onHeadButtonReleased();
void onRemoteButtonPressed(QString button);
void manageASR(QString asr);
void onChargerPlugged();
void onChargerUnPlugged();
void onDongleConnected();
void onDongleDisconnected();
void on_K_1_clicked();
void on_K_2_clicked();
void on_K_3_clicked();
void on_K_4_clicked();
void on_K_5_clicked();
void on_K_6_clicked();
void on_K_7_clicked();
void on_K_8_clicked();
void on_K_9_clicked();
void on_K_0_clicked();
void on_K_STANDBY_clicked();
void on_K_MUTE_clicked();
void on_K_VOLUMEPLUS_clicked();
void on_K_VOLUMEMINUS_clicked();
void on_K_ESCAPE_clicked();
void on_K_YES_clicked();
void on_K_NO_clicked();
void on_K_BACKSPACE_clicked();
void on_K_STARTVOIP_clicked();
void on_K_RECEIVECALL_clicked();
void on_K_HANGUP_clicked();
void on_K_STAR_clicked();
void on_K_SHARP_clicked();
void on_K_RED_clicked();
void on_K_GREEN_clicked();
void on_K_BLUE_clicked();
void on_K_YELLOW_clicked();
void on_K_CHANNELPLUS_clicked();
void on_K_CHANNELMINUS_clicked();
void on_K_UP_clicked();
void on_K_DOWN_click();
void on_K_LEFT_clicked();
void on_K_RIGHT_clicked();
void on_K_OK_clicked();
void on_K_FASTREWIND_clicked();
void on_K_FASTFORWARD_clicked();
void on_K_PLAYPAUSE_clicked();
void on_K_STOP_clicked();
void on_K_RECORDING_clicked();
void on_K_PREVIOUS_clicked();
void on_K_NEXT_clicked();
void on_K_MENU_clicked();
void on_K_MOUSE_clicked();
void on_K_ALT_clicked();
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H