| Line | Source Code | Coverage |
|---|
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | class QSessionManagerPrivate : public QObjectPrivate | - |
| 7 | { | - |
| 8 | public: | - |
| 9 | QSessionManagerPrivate(QSessionManager *m, const QString &id, | - |
| 10 | const QString &key); | - |
| 11 | | - |
| 12 | QStringList restartCommand; | - |
| 13 | QStringList discardCommand; | - |
| 14 | const QString sessionId; | - |
| 15 | const QString sessionKey; | - |
| 16 | QSessionManager::RestartHint restartHint; | - |
| 17 | }; | - |
| 18 | | - |
| 19 | QSessionManagerPrivate::QSessionManagerPrivate(QSessionManager*, | - |
| 20 | const QString &id, | - |
| 21 | const QString &key) | - |
| 22 | : QObjectPrivate(), sessionId(id), sessionKey(key) | - |
| 23 | { | - |
| 24 | } executed: }Execution Count:289 | 289 |
| 25 | | - |
| 26 | QSessionManager::QSessionManager(QGuiApplication *app, QString &id, QString &key) | - |
| 27 | : QObject(*(new QSessionManagerPrivate(this, id, key)), app) | - |
| 28 | { | - |
| 29 | QSessionManagerPrivate * const d = d_func(); | - |
| 30 | d->restartHint = RestartIfRunning; | - |
| 31 | } executed: }Execution Count:289 | 289 |
| 32 | | - |
| 33 | QSessionManager::~QSessionManager() | - |
| 34 | { | - |
| 35 | } | - |
| 36 | QString QSessionManager::sessionId() const | - |
| 37 | { | - |
| 38 | const QSessionManagerPrivate * const d = d_func(); | - |
| 39 | return d->sessionId; never executed: return d->sessionId; | 0 |
| 40 | } | - |
| 41 | QString QSessionManager::sessionKey() const | - |
| 42 | { | - |
| 43 | const QSessionManagerPrivate * const d = d_func(); | - |
| 44 | return d->sessionKey; never executed: return d->sessionKey; | 0 |
| 45 | } | - |
| 46 | bool QSessionManager::allowsInteraction() | - |
| 47 | { | - |
| 48 | return false; never executed: return false; | 0 |
| 49 | } | - |
| 50 | bool QSessionManager::allowsErrorInteraction() | - |
| 51 | { | - |
| 52 | return false; never executed: return false; | 0 |
| 53 | } | - |
| 54 | | - |
| 55 | | - |
| 56 | | - |
| 57 | | - |
| 58 | | - |
| 59 | | - |
| 60 | | - |
| 61 | void QSessionManager::release() | - |
| 62 | { | - |
| 63 | } | - |
| 64 | | - |
| 65 | | - |
| 66 | | - |
| 67 | | - |
| 68 | | - |
| 69 | | - |
| 70 | | - |
| 71 | void QSessionManager::cancel() | - |
| 72 | { | - |
| 73 | } | - |
| 74 | void QSessionManager::setRestartHint(QSessionManager::RestartHint hint) | - |
| 75 | { | - |
| 76 | QSessionManagerPrivate * const d = d_func(); | - |
| 77 | d->restartHint = hint; | - |
| 78 | } | 0 |
| 79 | QSessionManager::RestartHint QSessionManager::restartHint() const | - |
| 80 | { | - |
| 81 | const QSessionManagerPrivate * const d = d_func(); | - |
| 82 | return d->restartHint; never executed: return d->restartHint; | 0 |
| 83 | } | - |
| 84 | void QSessionManager::setRestartCommand(const QStringList &command) | - |
| 85 | { | - |
| 86 | QSessionManagerPrivate * const d = d_func(); | - |
| 87 | d->restartCommand = command; | - |
| 88 | } | 0 |
| 89 | QStringList QSessionManager::restartCommand() const | - |
| 90 | { | - |
| 91 | const QSessionManagerPrivate * const d = d_func(); | - |
| 92 | return d->restartCommand; never executed: return d->restartCommand; | 0 |
| 93 | } | - |
| 94 | | - |
| 95 | | - |
| 96 | | - |
| 97 | | - |
| 98 | | - |
| 99 | | - |
| 100 | void QSessionManager::setDiscardCommand(const QStringList &command) | - |
| 101 | { | - |
| 102 | QSessionManagerPrivate * const d = d_func(); | - |
| 103 | d->discardCommand = command; | - |
| 104 | } | 0 |
| 105 | QStringList QSessionManager::discardCommand() const | - |
| 106 | { | - |
| 107 | const QSessionManagerPrivate * const d = d_func(); | - |
| 108 | return d->discardCommand; never executed: return d->discardCommand; | 0 |
| 109 | } | - |
| 110 | void QSessionManager::setManagerProperty(const QString &name, | - |
| 111 | const QString &value) | - |
| 112 | { | - |
| 113 | (void)name;; | - |
| 114 | (void)value;; | - |
| 115 | } | 0 |
| 116 | | - |
| 117 | | - |
| 118 | | - |
| 119 | | - |
| 120 | | - |
| 121 | | - |
| 122 | | - |
| 123 | void QSessionManager::setManagerProperty(const QString &name, | - |
| 124 | const QStringList &value) | - |
| 125 | { | - |
| 126 | (void)name;; | - |
| 127 | (void)value;; | - |
| 128 | } | 0 |
| 129 | | - |
| 130 | | - |
| 131 | | - |
| 132 | | - |
| 133 | | - |
| 134 | | - |
| 135 | | - |
| 136 | bool QSessionManager::isPhase2() const | - |
| 137 | { | - |
| 138 | return false; never executed: return false; | 0 |
| 139 | } | - |
| 140 | void QSessionManager::requestPhase2() | - |
| 141 | { | - |
| 142 | } | - |
| 143 | | - |
| 144 | | - |
| 145 | | - |
| | |