kernel/qsessionmanager.cpp

Switch to Source codePreprocessed file
LineSource CodeCoverage
1 -
2 -
3 -
4 -
5 -
6class QSessionManagerPrivate : public QObjectPrivate -
7{ -
8public: -
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 -
19QSessionManagerPrivate::QSessionManagerPrivate(QSessionManager*, -
20 const QString &id, -
21 const QString &key) -
22 : QObjectPrivate(), sessionId(id), sessionKey(key) -
23{ -
24}
executed: }
Execution Count:289
289
25 -
26QSessionManager::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 -
33QSessionManager::~QSessionManager() -
34{ -
35} -
36QString QSessionManager::sessionId() const -
37{ -
38 const QSessionManagerPrivate * const d = d_func(); -
39 return d->sessionId;
never executed: return d->sessionId;
0
40} -
41QString QSessionManager::sessionKey() const -
42{ -
43 const QSessionManagerPrivate * const d = d_func(); -
44 return d->sessionKey;
never executed: return d->sessionKey;
0
45} -
46bool QSessionManager::allowsInteraction() -
47{ -
48 return false;
never executed: return false;
0
49} -
50bool QSessionManager::allowsErrorInteraction() -
51{ -
52 return false;
never executed: return false;
0
53} -
54 -
55 -
56 -
57 -
58 -
59 -
60 -
61void QSessionManager::release() -
62{ -
63} -
64 -
65 -
66 -
67 -
68 -
69 -
70 -
71void QSessionManager::cancel() -
72{ -
73} -
74void QSessionManager::setRestartHint(QSessionManager::RestartHint hint) -
75{ -
76 QSessionManagerPrivate * const d = d_func(); -
77 d->restartHint = hint; -
78}
never executed: }
0
79QSessionManager::RestartHint QSessionManager::restartHint() const -
80{ -
81 const QSessionManagerPrivate * const d = d_func(); -
82 return d->restartHint;
never executed: return d->restartHint;
0
83} -
84void QSessionManager::setRestartCommand(const QStringList &command) -
85{ -
86 QSessionManagerPrivate * const d = d_func(); -
87 d->restartCommand = command; -
88}
never executed: }
0
89QStringList 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 -
100void QSessionManager::setDiscardCommand(const QStringList &command) -
101{ -
102 QSessionManagerPrivate * const d = d_func(); -
103 d->discardCommand = command; -
104}
never executed: }
0
105QStringList QSessionManager::discardCommand() const -
106{ -
107 const QSessionManagerPrivate * const d = d_func(); -
108 return d->discardCommand;
never executed: return d->discardCommand;
0
109} -
110void QSessionManager::setManagerProperty(const QString &name, -
111 const QString &value) -
112{ -
113 (void)name;; -
114 (void)value;; -
115}
never executed: }
0
116 -
117 -
118 -
119 -
120 -
121 -
122 -
123void QSessionManager::setManagerProperty(const QString &name, -
124 const QStringList &value) -
125{ -
126 (void)name;; -
127 (void)value;; -
128}
never executed: }
0
129 -
130 -
131 -
132 -
133 -
134 -
135 -
136bool QSessionManager::isPhase2() const -
137{ -
138 return false;
never executed: return false;
0
139} -
140void QSessionManager::requestPhase2() -
141{ -
142} -
143 -
144 -
145 -
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial