76
|
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 <QAction>
|
|
20 |
|
|
21 |
#include <QIcon>
|
|
22 |
#include <QActionGroup>
|
|
23 |
#include <QMenu>
|
|
24 |
|
|
25 |
// ============================ MEMBER FUNCTIONS ===============================
|
|
26 |
|
|
27 |
// -----------------------------------------------------------------------------
|
|
28 |
// QAction::QAction
|
|
29 |
// -----------------------------------------------------------------------------
|
|
30 |
//
|
|
31 |
QAction::QAction(
|
|
32 |
QObject * parent )
|
|
33 |
{
|
|
34 |
|
|
35 |
}
|
|
36 |
|
|
37 |
|
|
38 |
// -----------------------------------------------------------------------------
|
|
39 |
// QAction::QAction
|
|
40 |
// -----------------------------------------------------------------------------
|
|
41 |
//
|
|
42 |
QAction::QAction(
|
|
43 |
const QString & text,
|
|
44 |
QObject * parent )
|
|
45 |
{
|
|
46 |
|
|
47 |
}
|
|
48 |
|
|
49 |
|
|
50 |
// -----------------------------------------------------------------------------
|
|
51 |
// QAction::QAction
|
|
52 |
// -----------------------------------------------------------------------------
|
|
53 |
//
|
|
54 |
QAction::QAction(
|
|
55 |
const QIcon & icon,
|
|
56 |
const QString & text,
|
|
57 |
QObject * parent )
|
|
58 |
{
|
|
59 |
|
|
60 |
}
|
|
61 |
|
|
62 |
|
|
63 |
#ifdef QT3_SUPPORT
|
|
64 |
// -----------------------------------------------------------------------------
|
|
65 |
// QAction::QAction
|
|
66 |
// -----------------------------------------------------------------------------
|
|
67 |
//
|
|
68 |
QAction::QAction(
|
|
69 |
QObject * parent,
|
|
70 |
const char * name )
|
|
71 |
{
|
|
72 |
|
|
73 |
}
|
|
74 |
|
|
75 |
|
|
76 |
// -----------------------------------------------------------------------------
|
|
77 |
// QAction::QAction
|
|
78 |
// -----------------------------------------------------------------------------
|
|
79 |
//
|
|
80 |
QAction::QAction(
|
|
81 |
const QString & text,
|
|
82 |
const QKeySequence & shortcut,
|
|
83 |
QObject * parent,
|
|
84 |
const char * name )
|
|
85 |
{
|
|
86 |
|
|
87 |
}
|
|
88 |
|
|
89 |
|
|
90 |
// -----------------------------------------------------------------------------
|
|
91 |
// QAction::QAction
|
|
92 |
// -----------------------------------------------------------------------------
|
|
93 |
//
|
|
94 |
QAction::QAction(
|
|
95 |
const QIcon & icon,
|
|
96 |
const QString & text,
|
|
97 |
const QKeySequence & shortcut,
|
|
98 |
QObject * parent,
|
|
99 |
const char * name )
|
|
100 |
{
|
|
101 |
|
|
102 |
}
|
|
103 |
#endif
|
|
104 |
|
|
105 |
// -----------------------------------------------------------------------------
|
|
106 |
// QAction::~QAction
|
|
107 |
// -----------------------------------------------------------------------------
|
|
108 |
//
|
|
109 |
QAction::~QAction( )
|
|
110 |
{
|
|
111 |
|
|
112 |
}
|
|
113 |
|
|
114 |
|
|
115 |
// -----------------------------------------------------------------------------
|
|
116 |
// QAction::setActionGroup
|
|
117 |
// -----------------------------------------------------------------------------
|
|
118 |
//
|
|
119 |
void QAction::setActionGroup(
|
|
120 |
QActionGroup * group )
|
|
121 |
{
|
|
122 |
SMC_MOCK_METHOD1( void, QActionGroup *, group )
|
|
123 |
}
|
|
124 |
|
|
125 |
|
|
126 |
// -----------------------------------------------------------------------------
|
|
127 |
// QAction::actionGroup
|
|
128 |
// -----------------------------------------------------------------------------
|
|
129 |
//
|
|
130 |
QActionGroup * QAction::actionGroup( ) const
|
|
131 |
{
|
|
132 |
SMC_MOCK_METHOD0( QActionGroup * )
|
|
133 |
}
|
|
134 |
|
|
135 |
|
|
136 |
// -----------------------------------------------------------------------------
|
|
137 |
// QAction::setIcon
|
|
138 |
// -----------------------------------------------------------------------------
|
|
139 |
//
|
|
140 |
void QAction::setIcon(
|
|
141 |
const QIcon & icon )
|
|
142 |
{
|
|
143 |
SMC_MOCK_METHOD1( void, const QIcon &, icon )
|
|
144 |
}
|
|
145 |
|
|
146 |
|
|
147 |
// -----------------------------------------------------------------------------
|
|
148 |
// QAction::icon
|
|
149 |
// -----------------------------------------------------------------------------
|
|
150 |
//
|
|
151 |
QIcon QAction::icon( ) const
|
|
152 |
{
|
|
153 |
SMC_MOCK_METHOD0( QIcon )
|
|
154 |
}
|
|
155 |
|
|
156 |
|
|
157 |
// -----------------------------------------------------------------------------
|
|
158 |
// QAction::setText
|
|
159 |
// -----------------------------------------------------------------------------
|
|
160 |
//
|
|
161 |
void QAction::setText(
|
|
162 |
const QString & text )
|
|
163 |
{
|
|
164 |
SMC_MOCK_METHOD1( void, const QString &, text )
|
|
165 |
}
|
|
166 |
|
|
167 |
|
|
168 |
// -----------------------------------------------------------------------------
|
|
169 |
// QAction::text
|
|
170 |
// -----------------------------------------------------------------------------
|
|
171 |
//
|
|
172 |
QString QAction::text( ) const
|
|
173 |
{
|
|
174 |
SMC_MOCK_METHOD0( QString )
|
|
175 |
}
|
|
176 |
|
|
177 |
|
|
178 |
// -----------------------------------------------------------------------------
|
|
179 |
// QAction::setIconText
|
|
180 |
// -----------------------------------------------------------------------------
|
|
181 |
//
|
|
182 |
void QAction::setIconText(
|
|
183 |
const QString & text )
|
|
184 |
{
|
|
185 |
SMC_MOCK_METHOD1( void, const QString &, text )
|
|
186 |
}
|
|
187 |
|
|
188 |
|
|
189 |
// -----------------------------------------------------------------------------
|
|
190 |
// QAction::iconText
|
|
191 |
// -----------------------------------------------------------------------------
|
|
192 |
//
|
|
193 |
QString QAction::iconText( ) const
|
|
194 |
{
|
|
195 |
SMC_MOCK_METHOD0( QString )
|
|
196 |
}
|
|
197 |
|
|
198 |
|
|
199 |
// -----------------------------------------------------------------------------
|
|
200 |
// QAction::setToolTip
|
|
201 |
// -----------------------------------------------------------------------------
|
|
202 |
//
|
|
203 |
void QAction::setToolTip(
|
|
204 |
const QString & tip )
|
|
205 |
{
|
|
206 |
SMC_MOCK_METHOD1( void, const QString &, tip )
|
|
207 |
}
|
|
208 |
|
|
209 |
|
|
210 |
// -----------------------------------------------------------------------------
|
|
211 |
// QAction::toolTip
|
|
212 |
// -----------------------------------------------------------------------------
|
|
213 |
//
|
|
214 |
QString QAction::toolTip( ) const
|
|
215 |
{
|
|
216 |
SMC_MOCK_METHOD0( QString )
|
|
217 |
}
|
|
218 |
|
|
219 |
|
|
220 |
// -----------------------------------------------------------------------------
|
|
221 |
// QAction::setStatusTip
|
|
222 |
// -----------------------------------------------------------------------------
|
|
223 |
//
|
|
224 |
void QAction::setStatusTip(
|
|
225 |
const QString & statusTip )
|
|
226 |
{
|
|
227 |
SMC_MOCK_METHOD1( void, const QString &, statusTip )
|
|
228 |
}
|
|
229 |
|
|
230 |
|
|
231 |
// -----------------------------------------------------------------------------
|
|
232 |
// QAction::statusTip
|
|
233 |
// -----------------------------------------------------------------------------
|
|
234 |
//
|
|
235 |
QString QAction::statusTip( ) const
|
|
236 |
{
|
|
237 |
SMC_MOCK_METHOD0( QString )
|
|
238 |
}
|
|
239 |
|
|
240 |
|
|
241 |
// -----------------------------------------------------------------------------
|
|
242 |
// QAction::setWhatsThis
|
|
243 |
// -----------------------------------------------------------------------------
|
|
244 |
//
|
|
245 |
void QAction::setWhatsThis(
|
|
246 |
const QString & what )
|
|
247 |
{
|
|
248 |
SMC_MOCK_METHOD1( void, const QString &, what )
|
|
249 |
}
|
|
250 |
|
|
251 |
|
|
252 |
// -----------------------------------------------------------------------------
|
|
253 |
// QAction::whatsThis
|
|
254 |
// -----------------------------------------------------------------------------
|
|
255 |
//
|
|
256 |
QString QAction::whatsThis( ) const
|
|
257 |
{
|
|
258 |
SMC_MOCK_METHOD0( QString )
|
|
259 |
}
|
|
260 |
|
|
261 |
|
|
262 |
// -----------------------------------------------------------------------------
|
|
263 |
// QAction::setPriority
|
|
264 |
// -----------------------------------------------------------------------------
|
|
265 |
//
|
|
266 |
void QAction::setPriority(
|
|
267 |
QAction::Priority priority )
|
|
268 |
{
|
|
269 |
SMC_MOCK_METHOD1( void, Priority, priority )
|
|
270 |
}
|
|
271 |
|
|
272 |
|
|
273 |
// -----------------------------------------------------------------------------
|
|
274 |
// QAction::priority
|
|
275 |
// -----------------------------------------------------------------------------
|
|
276 |
//
|
|
277 |
QAction::Priority QAction::priority( ) const
|
|
278 |
{
|
|
279 |
SMC_MOCK_METHOD0( Priority )
|
|
280 |
}
|
|
281 |
|
|
282 |
|
|
283 |
// -----------------------------------------------------------------------------
|
|
284 |
// QAction::menu
|
|
285 |
// -----------------------------------------------------------------------------
|
|
286 |
//
|
|
287 |
QMenu * QAction::menu( ) const
|
|
288 |
{
|
|
289 |
SMC_MOCK_METHOD0( QMenu * )
|
|
290 |
}
|
|
291 |
|
|
292 |
|
|
293 |
// -----------------------------------------------------------------------------
|
|
294 |
// QAction::setMenu
|
|
295 |
// -----------------------------------------------------------------------------
|
|
296 |
//
|
|
297 |
void QAction::setMenu(
|
|
298 |
QMenu * menu )
|
|
299 |
{
|
|
300 |
SMC_MOCK_METHOD1( void, QMenu *, menu )
|
|
301 |
}
|
|
302 |
|
|
303 |
|
|
304 |
// -----------------------------------------------------------------------------
|
|
305 |
// QAction::setSeparator
|
|
306 |
// -----------------------------------------------------------------------------
|
|
307 |
//
|
|
308 |
void QAction::setSeparator(
|
|
309 |
bool b )
|
|
310 |
{
|
|
311 |
SMC_MOCK_METHOD1( void, bool, b )
|
|
312 |
}
|
|
313 |
|
|
314 |
|
|
315 |
// -----------------------------------------------------------------------------
|
|
316 |
// QAction::isSeparator
|
|
317 |
// -----------------------------------------------------------------------------
|
|
318 |
//
|
|
319 |
bool QAction::isSeparator( ) const
|
|
320 |
{
|
|
321 |
SMC_MOCK_METHOD0( bool )
|
|
322 |
}
|
|
323 |
|
|
324 |
|
|
325 |
// -----------------------------------------------------------------------------
|
|
326 |
// QAction::setShortcut
|
|
327 |
// -----------------------------------------------------------------------------
|
|
328 |
//
|
|
329 |
void QAction::setShortcut(
|
|
330 |
const QKeySequence & shortcut )
|
|
331 |
{
|
|
332 |
SMC_MOCK_METHOD1( void, const QKeySequence &, shortcut )
|
|
333 |
}
|
|
334 |
|
|
335 |
|
|
336 |
// -----------------------------------------------------------------------------
|
|
337 |
// QAction::shortcut
|
|
338 |
// -----------------------------------------------------------------------------
|
|
339 |
//
|
|
340 |
QKeySequence QAction::shortcut( ) const
|
|
341 |
{
|
|
342 |
SMC_MOCK_METHOD0( QKeySequence )
|
|
343 |
}
|
|
344 |
|
|
345 |
|
|
346 |
// -----------------------------------------------------------------------------
|
|
347 |
// QAction::setShortcuts
|
|
348 |
// -----------------------------------------------------------------------------
|
|
349 |
//
|
|
350 |
void QAction::setShortcuts(
|
|
351 |
const QList<QKeySequence> & shortcuts )
|
|
352 |
{
|
|
353 |
// SMC_MOCK_METHOD1( void, const QList<QKeySequence> &, shortcuts )
|
|
354 |
}
|
|
355 |
|
|
356 |
|
|
357 |
// -----------------------------------------------------------------------------
|
|
358 |
// QAction::setShortcuts
|
|
359 |
// -----------------------------------------------------------------------------
|
|
360 |
//
|
|
361 |
void QAction::setShortcuts(
|
|
362 |
QKeySequence:: StandardKey )
|
|
363 |
{
|
|
364 |
// SMC_MOCK_METHOD1( void, QKeySequence::, StandardKey )
|
|
365 |
}
|
|
366 |
|
|
367 |
|
|
368 |
// -----------------------------------------------------------------------------
|
|
369 |
// QAction::shortcuts
|
|
370 |
// -----------------------------------------------------------------------------
|
|
371 |
//
|
|
372 |
QList <QKeySequence > QAction::shortcuts( ) const
|
|
373 |
{
|
|
374 |
// SMC_MOCK_METHOD0( QList <QKeySequence > )
|
|
375 |
}
|
|
376 |
|
|
377 |
|
|
378 |
// -----------------------------------------------------------------------------
|
|
379 |
// QAction::setShortcutContext
|
|
380 |
// -----------------------------------------------------------------------------
|
|
381 |
//
|
|
382 |
void QAction::setShortcutContext(
|
|
383 |
Qt::ShortcutContext context )
|
|
384 |
{
|
|
385 |
//SMC_MOCK_METHOD1( void, Qt::ShortcutContext, context )
|
|
386 |
}
|
|
387 |
|
|
388 |
|
|
389 |
// -----------------------------------------------------------------------------
|
|
390 |
// QAction::shortcutContext
|
|
391 |
// -----------------------------------------------------------------------------
|
|
392 |
//
|
|
393 |
Qt::ShortcutContext QAction::shortcutContext( ) const
|
|
394 |
{
|
|
395 |
SMC_MOCK_METHOD0( Qt::ShortcutContext )
|
|
396 |
}
|
|
397 |
|
|
398 |
|
|
399 |
// -----------------------------------------------------------------------------
|
|
400 |
// QAction::setAutoRepeat
|
|
401 |
// -----------------------------------------------------------------------------
|
|
402 |
//
|
|
403 |
void QAction::setAutoRepeat( bool )
|
|
404 |
{
|
|
405 |
SMC_MOCK_METHOD0( void )
|
|
406 |
}
|
|
407 |
|
|
408 |
|
|
409 |
// -----------------------------------------------------------------------------
|
|
410 |
// QAction::autoRepeat
|
|
411 |
// -----------------------------------------------------------------------------
|
|
412 |
//
|
|
413 |
bool QAction::autoRepeat( ) const
|
|
414 |
{
|
|
415 |
SMC_MOCK_METHOD0( bool )
|
|
416 |
}
|
|
417 |
|
|
418 |
|
|
419 |
// -----------------------------------------------------------------------------
|
|
420 |
// QAction::setFont
|
|
421 |
// -----------------------------------------------------------------------------
|
|
422 |
//
|
|
423 |
void QAction::setFont(
|
|
424 |
const QFont & font )
|
|
425 |
{
|
|
426 |
SMC_MOCK_METHOD1( void, const QFont &, font )
|
|
427 |
}
|
|
428 |
|
|
429 |
|
|
430 |
// -----------------------------------------------------------------------------
|
|
431 |
// QAction::font
|
|
432 |
// -----------------------------------------------------------------------------
|
|
433 |
//
|
|
434 |
QFont QAction::font( ) const
|
|
435 |
{
|
|
436 |
SMC_MOCK_METHOD0( QFont )
|
|
437 |
}
|
|
438 |
|
|
439 |
|
|
440 |
// -----------------------------------------------------------------------------
|
|
441 |
// QAction::setCheckable
|
|
442 |
// -----------------------------------------------------------------------------
|
|
443 |
//
|
|
444 |
void QAction::setCheckable( bool )
|
|
445 |
{
|
|
446 |
SMC_MOCK_METHOD0( void )
|
|
447 |
}
|
|
448 |
|
|
449 |
|
|
450 |
// -----------------------------------------------------------------------------
|
|
451 |
// QAction::isCheckable
|
|
452 |
// -----------------------------------------------------------------------------
|
|
453 |
//
|
|
454 |
bool QAction::isCheckable( ) const
|
|
455 |
{
|
|
456 |
SMC_MOCK_METHOD0( bool )
|
|
457 |
}
|
|
458 |
|
|
459 |
|
|
460 |
// -----------------------------------------------------------------------------
|
|
461 |
// QAction::data
|
|
462 |
// -----------------------------------------------------------------------------
|
|
463 |
//
|
|
464 |
QVariant QAction::data( ) const
|
|
465 |
{
|
|
466 |
SMC_MOCK_METHOD0( QVariant )
|
|
467 |
}
|
|
468 |
|
|
469 |
|
|
470 |
// -----------------------------------------------------------------------------
|
|
471 |
// QAction::setData
|
|
472 |
// -----------------------------------------------------------------------------
|
|
473 |
//
|
|
474 |
void QAction::setData(
|
|
475 |
const QVariant & var )
|
|
476 |
{
|
|
477 |
SMC_MOCK_METHOD1( void, const QVariant &, var )
|
|
478 |
}
|
|
479 |
|
|
480 |
|
|
481 |
// -----------------------------------------------------------------------------
|
|
482 |
// QAction::isChecked
|
|
483 |
// -----------------------------------------------------------------------------
|
|
484 |
//
|
|
485 |
bool QAction::isChecked( ) const
|
|
486 |
{
|
|
487 |
SMC_MOCK_METHOD0( bool )
|
|
488 |
}
|
|
489 |
|
|
490 |
|
|
491 |
// -----------------------------------------------------------------------------
|
|
492 |
// QAction::isEnabled
|
|
493 |
// -----------------------------------------------------------------------------
|
|
494 |
//
|
|
495 |
bool QAction::isEnabled( ) const
|
|
496 |
{
|
|
497 |
SMC_MOCK_METHOD0( bool )
|
|
498 |
}
|
|
499 |
|
|
500 |
|
|
501 |
// -----------------------------------------------------------------------------
|
|
502 |
// QAction::isVisible
|
|
503 |
// -----------------------------------------------------------------------------
|
|
504 |
//
|
|
505 |
bool QAction::isVisible( ) const
|
|
506 |
{
|
|
507 |
SMC_MOCK_METHOD0( bool )
|
|
508 |
}
|
|
509 |
|
|
510 |
|
|
511 |
// -----------------------------------------------------------------------------
|
|
512 |
// QAction::activate
|
|
513 |
// -----------------------------------------------------------------------------
|
|
514 |
//
|
|
515 |
void QAction::activate(
|
|
516 |
ActionEvent event )
|
|
517 |
{
|
|
518 |
SMC_MOCK_METHOD1( void, ActionEvent, event )
|
|
519 |
}
|
|
520 |
|
|
521 |
|
|
522 |
// -----------------------------------------------------------------------------
|
|
523 |
// QAction::showStatusText
|
|
524 |
// -----------------------------------------------------------------------------
|
|
525 |
//
|
|
526 |
bool QAction::showStatusText(
|
|
527 |
QWidget * widget )
|
|
528 |
{
|
|
529 |
SMC_MOCK_METHOD1( bool, QWidget *, widget )
|
|
530 |
}
|
|
531 |
|
|
532 |
|
|
533 |
// -----------------------------------------------------------------------------
|
|
534 |
// QAction::setMenuRole
|
|
535 |
// -----------------------------------------------------------------------------
|
|
536 |
//
|
|
537 |
void QAction::setMenuRole(
|
|
538 |
QAction::MenuRole menuRole )
|
|
539 |
{
|
|
540 |
SMC_MOCK_METHOD1( void, MenuRole, menuRole )
|
|
541 |
}
|
|
542 |
|
|
543 |
|
|
544 |
// -----------------------------------------------------------------------------
|
|
545 |
// QAction::menuRole
|
|
546 |
// -----------------------------------------------------------------------------
|
|
547 |
//
|
|
548 |
QAction::MenuRole QAction::menuRole( ) const
|
|
549 |
{
|
|
550 |
SMC_MOCK_METHOD0( MenuRole )
|
|
551 |
}
|
|
552 |
|
|
553 |
|
|
554 |
// -----------------------------------------------------------------------------
|
|
555 |
// QAction::setSoftKeyRole
|
|
556 |
// -----------------------------------------------------------------------------
|
|
557 |
//
|
|
558 |
void QAction::setSoftKeyRole(
|
|
559 |
QAction::SoftKeyRole softKeyRole )
|
|
560 |
{
|
|
561 |
SMC_MOCK_METHOD1( void, SoftKeyRole, softKeyRole )
|
|
562 |
}
|
|
563 |
|
|
564 |
|
|
565 |
// -----------------------------------------------------------------------------
|
|
566 |
// QAction::softKeyRole
|
|
567 |
// -----------------------------------------------------------------------------
|
|
568 |
//
|
|
569 |
QAction::SoftKeyRole QAction::softKeyRole( ) const
|
|
570 |
{
|
|
571 |
|
|
572 |
SMC_MOCK_METHOD0( SoftKeyRole )
|
|
573 |
}
|
|
574 |
|
|
575 |
|
|
576 |
// -----------------------------------------------------------------------------
|
|
577 |
// QAction::setIconVisibleInMenu
|
|
578 |
// -----------------------------------------------------------------------------
|
|
579 |
//
|
|
580 |
void QAction::setIconVisibleInMenu(
|
|
581 |
bool visible )
|
|
582 |
{
|
|
583 |
SMC_MOCK_METHOD1( void, bool, visible )
|
|
584 |
}
|
|
585 |
|
|
586 |
|
|
587 |
// -----------------------------------------------------------------------------
|
|
588 |
// QAction::isIconVisibleInMenu
|
|
589 |
// -----------------------------------------------------------------------------
|
|
590 |
//
|
|
591 |
bool QAction::isIconVisibleInMenu( ) const
|
|
592 |
{
|
|
593 |
SMC_MOCK_METHOD0( bool )
|
|
594 |
}
|
|
595 |
|
|
596 |
|
|
597 |
// -----------------------------------------------------------------------------
|
|
598 |
// QAction::parentWidget
|
|
599 |
// -----------------------------------------------------------------------------
|
|
600 |
//
|
|
601 |
QWidget * QAction::parentWidget( ) const
|
|
602 |
{
|
|
603 |
// SMC_MOCK_METHOD0( QWidget * )
|
|
604 |
}
|
|
605 |
|
|
606 |
|
|
607 |
// -----------------------------------------------------------------------------
|
|
608 |
// QAction::associatedWidgets
|
|
609 |
// -----------------------------------------------------------------------------
|
|
610 |
//
|
|
611 |
QList <QWidget * > QAction::associatedWidgets( ) const
|
|
612 |
{
|
|
613 |
// SMC_MOCK_METHOD0( QList <QWidget * > )
|
|
614 |
}
|
|
615 |
|
|
616 |
|
|
617 |
// -----------------------------------------------------------------------------
|
|
618 |
// QAction::associatedGraphicsWidgets
|
|
619 |
// -----------------------------------------------------------------------------
|
|
620 |
//
|
|
621 |
QList <QGraphicsWidget * > QAction::associatedGraphicsWidgets( ) const
|
|
622 |
{
|
|
623 |
// SMC_MOCK_METHOD0( QList <QGraphicsWidget * > )
|
|
624 |
}
|
|
625 |
|
|
626 |
// -----------------------------------------------------------------------------
|
|
627 |
// QAction::setChecked
|
|
628 |
// -----------------------------------------------------------------------------
|
|
629 |
//
|
|
630 |
void QAction::setChecked( bool )
|
|
631 |
{
|
|
632 |
//SMC_MOCK_METHOD0( void )
|
|
633 |
}
|
|
634 |
|
|
635 |
|
|
636 |
// -----------------------------------------------------------------------------
|
|
637 |
// QAction::toggle
|
|
638 |
// -----------------------------------------------------------------------------
|
|
639 |
//
|
|
640 |
void QAction::toggle( )
|
|
641 |
{
|
|
642 |
SMC_MOCK_METHOD0( void )
|
|
643 |
}
|
|
644 |
|
|
645 |
|
|
646 |
// -----------------------------------------------------------------------------
|
|
647 |
// QAction::setEnabled
|
|
648 |
// -----------------------------------------------------------------------------
|
|
649 |
//
|
|
650 |
void QAction::setEnabled( bool )
|
|
651 |
{
|
|
652 |
// SMC_MOCK_METHOD0( void )
|
|
653 |
}
|
|
654 |
|
|
655 |
|
|
656 |
// -----------------------------------------------------------------------------
|
|
657 |
// QAction::setVisible
|
|
658 |
// -----------------------------------------------------------------------------
|
|
659 |
//
|
|
660 |
void QAction::setVisible( bool )
|
|
661 |
{
|
|
662 |
// SMC_MOCK_METHOD0( void )
|
|
663 |
}
|
|
664 |
|
|
665 |
/*
|
|
666 |
// -----------------------------------------------------------------------------
|
|
667 |
// QAction::changed
|
|
668 |
// -----------------------------------------------------------------------------
|
|
669 |
//
|
|
670 |
void QAction::changed( )
|
|
671 |
{
|
|
672 |
// SMC_MOCK_METHOD0( Q_SIGNALS : void )
|
|
673 |
}
|
|
674 |
|
|
675 |
|
|
676 |
// -----------------------------------------------------------------------------
|
|
677 |
// QAction::triggered
|
|
678 |
// -----------------------------------------------------------------------------
|
|
679 |
//
|
|
680 |
void QAction::triggered(
|
|
681 |
bool checked )
|
|
682 |
{
|
|
683 |
SMC_MOCK_METHOD1( void, bool, checked )
|
|
684 |
}
|
|
685 |
|
|
686 |
|
|
687 |
// -----------------------------------------------------------------------------
|
|
688 |
// QAction::hovered
|
|
689 |
// -----------------------------------------------------------------------------
|
|
690 |
//
|
|
691 |
void QAction::hovered( )
|
|
692 |
{
|
|
693 |
SMC_MOCK_METHOD0( void )
|
|
694 |
}
|
|
695 |
|
|
696 |
|
|
697 |
// -----------------------------------------------------------------------------
|
|
698 |
// QAction::toggled
|
|
699 |
// -----------------------------------------------------------------------------
|
|
700 |
//
|
|
701 |
void QAction::toggled( )
|
|
702 |
{
|
|
703 |
SMC_MOCK_METHOD0( void )
|
|
704 |
}
|
|
705 |
|
|
706 |
|
|
707 |
// -----------------------------------------------------------------------------
|
|
708 |
// QAction::activated
|
|
709 |
// -----------------------------------------------------------------------------
|
|
710 |
//
|
|
711 |
void QAction::activated(
|
|
712 |
int )
|
|
713 |
{
|
|
714 |
// SMC_MOCK_METHOD1( QT_MOC_COMPAT void, , int )
|
|
715 |
}
|
|
716 |
*/
|
|
717 |
|
|
718 |
// -----------------------------------------------------------------------------
|
|
719 |
// QAction::event
|
|
720 |
// -----------------------------------------------------------------------------
|
|
721 |
//
|
|
722 |
bool QAction::event(
|
|
723 |
QEvent * )
|
|
724 |
{
|
|
725 |
// SMC_MOCK_METHOD1( bool, QEvent, * )
|
|
726 |
}
|
|
727 |
|
|
728 |
|
|
729 |
// -----------------------------------------------------------------------------
|
|
730 |
// QAction::QAction
|
|
731 |
// -----------------------------------------------------------------------------
|
|
732 |
//
|
|
733 |
QAction::QAction(
|
|
734 |
QActionPrivate & dd,
|
|
735 |
QObject * parent )
|
|
736 |
//:
|
|
737 |
//QObject( /*dd, parent*/ )
|
|
738 |
{
|
|
739 |
|
|
740 |
}
|
|
741 |
|
|
742 |
|