|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #include <QDebug> |
|
18 #include <smcmockclassincludes.h> |
|
19 #include <xqaiwrequest.h> |
|
20 |
|
21 // ============================ MEMBER FUNCTIONS =============================== |
|
22 |
|
23 // ----------------------------------------------------------------------------- |
|
24 // XQAiwRequest::XQAiwRequest |
|
25 // ----------------------------------------------------------------------------- |
|
26 // |
|
27 XQAiwRequest::XQAiwRequest( |
|
28 const XQAiwInterfaceDescriptor & descriptor, |
|
29 const QString & operation, |
|
30 bool embedded ) |
|
31 //: |
|
32 //QObject( /*descriptor, operation, embedded*/ ) |
|
33 { |
|
34 |
|
35 } |
|
36 |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // XQAiwRequest::XQAiwRequest |
|
40 // ----------------------------------------------------------------------------- |
|
41 // |
|
42 XQAiwRequest::XQAiwRequest( |
|
43 const QUrl & uri, |
|
44 const XQAiwInterfaceDescriptor & descriptor, |
|
45 const QString & operation ) |
|
46 //: |
|
47 //QObject( /*uri, descriptor, operation*/ ) |
|
48 { |
|
49 |
|
50 } |
|
51 |
|
52 |
|
53 // ----------------------------------------------------------------------------- |
|
54 // XQAiwRequest::XQAiwRequest |
|
55 // ----------------------------------------------------------------------------- |
|
56 // |
|
57 XQAiwRequest::XQAiwRequest( |
|
58 const QFile & file, |
|
59 const XQAiwInterfaceDescriptor & descriptor, |
|
60 const QString & operation ) |
|
61 //: |
|
62 //QObject( /*file, descriptor, operation*/ ) |
|
63 { |
|
64 |
|
65 } |
|
66 |
|
67 |
|
68 // ----------------------------------------------------------------------------- |
|
69 // XQAiwRequest::XQAiwRequest |
|
70 // ----------------------------------------------------------------------------- |
|
71 // |
|
72 XQAiwRequest::XQAiwRequest( |
|
73 const XQSharableFile & file, |
|
74 const XQAiwInterfaceDescriptor & descriptor, |
|
75 const QString & operation ) |
|
76 //: |
|
77 //QObject( /*file, descriptor, operation*/ ) |
|
78 { |
|
79 |
|
80 } |
|
81 |
|
82 |
|
83 // ----------------------------------------------------------------------------- |
|
84 // XQAiwRequest::~XQAiwRequest |
|
85 // ----------------------------------------------------------------------------- |
|
86 // |
|
87 XQAiwRequest::~XQAiwRequest( ) |
|
88 { |
|
89 |
|
90 } |
|
91 |
|
92 |
|
93 // ----------------------------------------------------------------------------- |
|
94 // XQAiwRequest::createAction |
|
95 // ----------------------------------------------------------------------------- |
|
96 // |
|
97 QAction * XQAiwRequest::createAction( ) |
|
98 { |
|
99 SMC_MOCK_METHOD0( QAction * ) |
|
100 } |
|
101 |
|
102 |
|
103 // ----------------------------------------------------------------------------- |
|
104 // XQAiwRequest::setArguments |
|
105 // ----------------------------------------------------------------------------- |
|
106 // |
|
107 void XQAiwRequest::setArguments( |
|
108 const QList<QVariant> & arguments ) |
|
109 { |
|
110 //SMC_MOCK_METHOD1( void, const QList<QVariant> &, arguments ) |
|
111 } |
|
112 |
|
113 |
|
114 // ----------------------------------------------------------------------------- |
|
115 // XQAiwRequest::lastError |
|
116 // ----------------------------------------------------------------------------- |
|
117 // |
|
118 int XQAiwRequest::lastError( ) const |
|
119 { |
|
120 SMC_MOCK_METHOD0( int ) |
|
121 } |
|
122 |
|
123 |
|
124 // ----------------------------------------------------------------------------- |
|
125 // XQAiwRequest::lastErrorMessage |
|
126 // ----------------------------------------------------------------------------- |
|
127 // |
|
128 const QString & XQAiwRequest::lastErrorMessage( ) const |
|
129 { |
|
130 SMC_MOCK_METHOD0( const QString & ) |
|
131 } |
|
132 |
|
133 |
|
134 // ----------------------------------------------------------------------------- |
|
135 // XQAiwRequest::descriptor |
|
136 // ----------------------------------------------------------------------------- |
|
137 // |
|
138 const XQAiwInterfaceDescriptor & XQAiwRequest::descriptor( ) const |
|
139 { |
|
140 //SMC_MOCK_METHOD0( const XQAiwInterfaceDescriptor & ) |
|
141 } |
|
142 |
|
143 |
|
144 // ----------------------------------------------------------------------------- |
|
145 // XQAiwRequest::send |
|
146 // ----------------------------------------------------------------------------- |
|
147 // |
|
148 bool XQAiwRequest::send( ) |
|
149 { |
|
150 SMC_MOCK_METHOD0( bool ) |
|
151 } |
|
152 |
|
153 |
|
154 // ----------------------------------------------------------------------------- |
|
155 // XQAiwRequest::send |
|
156 // ----------------------------------------------------------------------------- |
|
157 // |
|
158 bool XQAiwRequest::send( |
|
159 QVariant & returnValue ) |
|
160 { |
|
161 //SMC_MOCK_METHOD1( bool, QVariant &, returnValue ) |
|
162 } |
|
163 |
|
164 |
|
165 // ----------------------------------------------------------------------------- |
|
166 // XQAiwRequest::setEmbedded |
|
167 // ----------------------------------------------------------------------------- |
|
168 // |
|
169 void XQAiwRequest::setEmbedded( |
|
170 bool embedded ) |
|
171 { |
|
172 SMC_MOCK_METHOD1( void, bool, embedded ) |
|
173 } |
|
174 |
|
175 |
|
176 // ----------------------------------------------------------------------------- |
|
177 // XQAiwRequest::isEmbedded |
|
178 // ----------------------------------------------------------------------------- |
|
179 // |
|
180 bool XQAiwRequest::isEmbedded( ) const |
|
181 { |
|
182 SMC_MOCK_METHOD0( bool ) |
|
183 } |
|
184 |
|
185 |
|
186 // ----------------------------------------------------------------------------- |
|
187 // XQAiwRequest::setOperation |
|
188 // ----------------------------------------------------------------------------- |
|
189 // |
|
190 void XQAiwRequest::setOperation( |
|
191 const QString & operation ) |
|
192 { |
|
193 SMC_MOCK_METHOD1( void, const QString &, operation ) |
|
194 } |
|
195 |
|
196 |
|
197 // ----------------------------------------------------------------------------- |
|
198 // XQAiwRequest::operation |
|
199 // ----------------------------------------------------------------------------- |
|
200 // |
|
201 const QString & XQAiwRequest::operation( ) const |
|
202 { |
|
203 SMC_MOCK_METHOD0( const QString & ) |
|
204 } |
|
205 |
|
206 |
|
207 // ----------------------------------------------------------------------------- |
|
208 // XQAiwRequest::setSynchronous |
|
209 // ----------------------------------------------------------------------------- |
|
210 // |
|
211 void XQAiwRequest::setSynchronous( |
|
212 bool synchronous ) |
|
213 { |
|
214 SMC_MOCK_METHOD1( void, bool, synchronous ) |
|
215 } |
|
216 |
|
217 |
|
218 // ----------------------------------------------------------------------------- |
|
219 // XQAiwRequest::isSynchronous |
|
220 // ----------------------------------------------------------------------------- |
|
221 // |
|
222 bool XQAiwRequest::isSynchronous( ) const |
|
223 { |
|
224 SMC_MOCK_METHOD0( bool ) |
|
225 } |
|
226 |
|
227 |
|
228 // ----------------------------------------------------------------------------- |
|
229 // XQAiwRequest::setBackground |
|
230 // ----------------------------------------------------------------------------- |
|
231 // |
|
232 void XQAiwRequest::setBackground( |
|
233 bool background ) |
|
234 { |
|
235 SMC_MOCK_METHOD1( void, bool, background ) |
|
236 } |
|
237 |
|
238 |
|
239 // ----------------------------------------------------------------------------- |
|
240 // XQAiwRequest::isBackground |
|
241 // ----------------------------------------------------------------------------- |
|
242 // |
|
243 bool XQAiwRequest::isBackground( ) const |
|
244 { |
|
245 SMC_MOCK_METHOD0( bool ) |
|
246 } |
|
247 |
|
248 |
|
249 // ----------------------------------------------------------------------------- |
|
250 // XQAiwRequest::setInfo |
|
251 // ----------------------------------------------------------------------------- |
|
252 // |
|
253 void XQAiwRequest::setInfo( |
|
254 const XQRequestInfo & info ) |
|
255 { |
|
256 // SMC_MOCK_METHOD1( void, const XQRequestInfo &, info ) |
|
257 } |
|
258 |
|
259 |
|
260 // ----------------------------------------------------------------------------- |
|
261 // XQAiwRequest::info |
|
262 // ----------------------------------------------------------------------------- |
|
263 // |
|
264 XQRequestInfo XQAiwRequest::info( ) const |
|
265 { |
|
266 //SMC_MOCK_METHOD0( XQRequestInfo ) |
|
267 } |
|
268 |
|
269 |
|
270 |
|
271 // ----------------------------------------------------------------------------- |
|
272 // XQAiwRequest::results |
|
273 // ----------------------------------------------------------------------------- |
|
274 // |
|
275 const QVariant & XQAiwRequest::results( ) const |
|
276 { |
|
277 //SMC_MOCK_METHOD0( const QVariant & ) |
|
278 } |
|
279 |
|
280 |
|
281 // ----------------------------------------------------------------------------- |
|
282 // XQAiwRequest::sendExecute |
|
283 // ----------------------------------------------------------------------------- |
|
284 // |
|
285 bool XQAiwRequest::sendExecute( ) |
|
286 { |
|
287 SMC_MOCK_METHOD0( bool ) |
|
288 } |
|
289 |
|
290 const QMetaObject *XQAiwRequest::metaObject() const |
|
291 { |
|
292 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : NULL; |
|
293 } |
|
294 |
|
295 void *XQAiwRequest::qt_metacast(const char *_clname) |
|
296 { |
|
297 } |
|
298 |
|
299 int XQAiwRequest::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
|
300 { |
|
301 return 0; |
|
302 } |