-
Notifications
You must be signed in to change notification settings - Fork 0
/
tcbtphone_adaptor.cpp
185 lines (155 loc) · 5.81 KB
/
tcbtphone_adaptor.cpp
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
/*
* This file was generated by qdbusxml2cpp version 0.8
* Command line was: qdbusxml2cpp -i tcbtphone_adaptor.h -a :tcbtphone_adaptor.cpp ../dbus_xml_config/Semisky.BlueToothMidware.TcBtPhone.xml
*
* qdbusxml2cpp is Copyright (C) 2016 The Qt Company Ltd.
*
* This is an auto-generated file.
* Do not edit! All changes made to it will be lost.
*/
#include "tcbtphone_adaptor.h"
#include <QtCore/QMetaObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
/*
* Implementation of adaptor class TcBtPhoneAdaptor
*/
TcBtPhoneAdaptor::TcBtPhoneAdaptor(QObject *parent)
: QDBusAbstractAdaptor(parent)
{
// constructor
setAutoRelaySignals(true);
}
TcBtPhoneAdaptor::~TcBtPhoneAdaptor()
{
// destructor
}
void TcBtPhoneAdaptor::cmdChangeVoiceMode()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.cmdChangeVoiceMode
QMetaObject::invokeMethod(parent(), "cmdChangeVoiceMode");
}
void TcBtPhoneAdaptor::cmdDialByName(const QString &contactName, int numSize)
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.cmdDialByName
QMetaObject::invokeMethod(parent(), "cmdDialByName", Q_ARG(QString, contactName), Q_ARG(int, numSize));
}
void TcBtPhoneAdaptor::cmdDialByNum(const QString &contactPhNum, int numSize)
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.cmdDialByNum
QMetaObject::invokeMethod(parent(), "cmdDialByNum", Q_ARG(QString, contactPhNum), Q_ARG(int, numSize));
}
void TcBtPhoneAdaptor::cmdEndCal()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.cmdEndCal
QMetaObject::invokeMethod(parent(), "cmdEndCal");
}
void TcBtPhoneAdaptor::cmdHangUp()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.cmdHangUp
QMetaObject::invokeMethod(parent(), "cmdHangUp");
}
void TcBtPhoneAdaptor::cmdIncomingAnswer()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.cmdIncomingAnswer
QMetaObject::invokeMethod(parent(), "cmdIncomingAnswer");
}
void TcBtPhoneAdaptor::cmdIncomingReject()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.cmdIncomingReject
QMetaObject::invokeMethod(parent(), "cmdIncomingReject");
}
void TcBtPhoneAdaptor::cmdNumBtnClicked(int Num)
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.cmdNumBtnClicked
QMetaObject::invokeMethod(parent(), "cmdNumBtnClicked", Q_ARG(int, Num));
}
void TcBtPhoneAdaptor::cmdOpenPhoneAudio()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.cmdOpenPhoneAudio
QMetaObject::invokeMethod(parent(), "cmdOpenPhoneAudio");
}
void TcBtPhoneAdaptor::cmdReDial()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.cmdReDial
QMetaObject::invokeMethod(parent(), "cmdReDial");
}
void TcBtPhoneAdaptor::cmdSetVoiceMute()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.cmdSetVoiceMute
QMetaObject::invokeMethod(parent(), "cmdSetVoiceMute");
}
void TcBtPhoneAdaptor::cmdStartIncomingCall()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.cmdStartIncomingCall
QMetaObject::invokeMethod(parent(), "cmdStartIncomingCall");
}
void TcBtPhoneAdaptor::cmdStartOutgoingCall()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.cmdStartOutgoingCall
QMetaObject::invokeMethod(parent(), "cmdStartOutgoingCall");
}
void TcBtPhoneAdaptor::cmdVoiceRecognition()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.cmdVoiceRecognition
QMetaObject::invokeMethod(parent(), "cmdVoiceRecognition");
}
void TcBtPhoneAdaptor::deviceAllDelete()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.deviceAllDelete
QMetaObject::invokeMethod(parent(), "deviceAllDelete");
}
void TcBtPhoneAdaptor::deviceCompareornot(bool bAccept)
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.deviceCompareornot
QMetaObject::invokeMethod(parent(), "deviceCompareornot", Q_ARG(bool, bAccept));
}
void TcBtPhoneAdaptor::deviceConnect(int DeviceNum)
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.deviceConnect
QMetaObject::invokeMethod(parent(), "deviceConnect", Q_ARG(int, DeviceNum));
}
void TcBtPhoneAdaptor::deviceDelete(int DeviceNum)
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.deviceDelete
QMetaObject::invokeMethod(parent(), "deviceDelete", Q_ARG(int, DeviceNum));
}
void TcBtPhoneAdaptor::deviceDisconnect(int DeviceNum)
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.deviceDisconnect
QMetaObject::invokeMethod(parent(), "deviceDisconnect", Q_ARG(int, DeviceNum));
}
void TcBtPhoneAdaptor::deviceSearchCancel()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.deviceSearchCancel
QMetaObject::invokeMethod(parent(), "deviceSearchCancel");
}
void TcBtPhoneAdaptor::deviceSearchStart(int totalSearchTime, int maxDevices)
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.deviceSearchStart
QMetaObject::invokeMethod(parent(), "deviceSearchStart", Q_ARG(int, totalSearchTime), Q_ARG(int, maxDevices));
}
void TcBtPhoneAdaptor::getContactInfo()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.getContactInfo
QMetaObject::invokeMethod(parent(), "getContactInfo");
}
void TcBtPhoneAdaptor::getHistoryCalInfo()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.getHistoryCalInfo
QMetaObject::invokeMethod(parent(), "getHistoryCalInfo");
}
void TcBtPhoneAdaptor::sysActivate()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.sysActivate
QMetaObject::invokeMethod(parent(), "sysActivate");
}
void TcBtPhoneAdaptor::sysDeactivate()
{
// handle method call smk.tcc8971.BlueToothMidware.TcBtPhone.sysDeactivate
QMetaObject::invokeMethod(parent(), "sysDeactivate");
}