Line | Source Code | Coverage |
---|
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | void QClipboard::clear(Mode mode) | - |
10 | { | - |
11 | setMimeData(0, mode); | - |
12 | } executed: } Execution Count:13 | 13 |
13 | | - |
14 | const QMimeData* QClipboard::mimeData(Mode mode) const | - |
15 | { | - |
16 | QPlatformClipboard *clipboard = QGuiApplicationPrivate::platformIntegration()->clipboard(); | - |
17 | if (!clipboard->supportsMode(mode)) return 0; never executed: return 0; partially evaluated: !clipboard->supportsMode(mode) no Evaluation Count:0 | yes Evaluation Count:45 |
| 0-45 |
18 | return clipboard->mimeData(mode); executed: return clipboard->mimeData(mode); Execution Count:45 | 45 |
19 | } | - |
20 | | - |
21 | void QClipboard::setMimeData(QMimeData* src, Mode mode) | - |
22 | { | - |
23 | QPlatformClipboard *clipboard = QGuiApplicationPrivate::platformIntegration()->clipboard(); | - |
24 | if (!clipboard->supportsMode(mode)) return; executed: return; Execution Count:4 evaluated: !clipboard->supportsMode(mode) yes Evaluation Count:4 | yes Evaluation Count:48 |
| 4-48 |
25 | | - |
26 | clipboard->setMimeData(src,mode); | - |
27 | } executed: } Execution Count:48 | 48 |
28 | | - |
29 | bool QClipboard::supportsMode(Mode mode) const | - |
30 | { | - |
31 | QPlatformClipboard *clipboard = QGuiApplicationPrivate::platformIntegration()->clipboard(); | - |
32 | return clipboard->supportsMode(mode); executed: return clipboard->supportsMode(mode); Execution Count:22 | 22 |
33 | } | - |
34 | | - |
35 | bool QClipboard::ownsMode(Mode mode) const | - |
36 | { | - |
37 | QPlatformClipboard *clipboard = QGuiApplicationPrivate::platformIntegration()->clipboard(); | - |
38 | return clipboard->ownsMode(mode); executed: return clipboard->ownsMode(mode); Execution Count:3 | 3 |
39 | } | - |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
| | |