Absolute File Name: | /home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qplatformsessionmanager.cpp |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | - | |
6 | - | |
7 | QPlatformSessionManager::QPlatformSessionManager(const QString &id, const QString &key) | - |
8 | : m_sessionId(id), | - |
9 | m_sessionKey(key), | - |
10 | m_restartHint(QSessionManager::RestartIfRunning) | - |
11 | { | - |
12 | } never executed: end of block | 0 |
13 | - | |
14 | QPlatformSessionManager::~QPlatformSessionManager() | - |
15 | { | - |
16 | } | - |
17 | - | |
18 | QString QPlatformSessionManager::sessionId() const | - |
19 | { | - |
20 | return never executed: m_sessionId;return m_sessionId; never executed: return m_sessionId; | 0 |
21 | } | - |
22 | - | |
23 | QString QPlatformSessionManager::sessionKey() const | - |
24 | { | - |
25 | return never executed: m_sessionKey;return m_sessionKey; never executed: return m_sessionKey; | 0 |
26 | } | - |
27 | - | |
28 | bool QPlatformSessionManager::allowsInteraction() | - |
29 | { | - |
30 | return never executed: false;return false; never executed: return false; | 0 |
31 | } | - |
32 | - | |
33 | bool QPlatformSessionManager::allowsErrorInteraction() | - |
34 | { | - |
35 | return never executed: false;return false; never executed: return false; | 0 |
36 | } | - |
37 | - | |
38 | void QPlatformSessionManager::release() | - |
39 | { | - |
40 | } | - |
41 | - | |
42 | void QPlatformSessionManager::cancel() | - |
43 | { | - |
44 | } | - |
45 | - | |
46 | void QPlatformSessionManager::setRestartHint(QSessionManager::RestartHint restartHint) | - |
47 | { | - |
48 | m_restartHint = restartHint; | - |
49 | } never executed: end of block | 0 |
50 | - | |
51 | QSessionManager::RestartHint QPlatformSessionManager::restartHint() const | - |
52 | { | - |
53 | return never executed: m_restartHint;return m_restartHint; never executed: return m_restartHint; | 0 |
54 | } | - |
55 | - | |
56 | void QPlatformSessionManager::setRestartCommand(const QStringList &command) | - |
57 | { | - |
58 | m_restartCommand = command; | - |
59 | } never executed: end of block | 0 |
60 | - | |
61 | QStringList QPlatformSessionManager::restartCommand() const | - |
62 | { | - |
63 | return never executed: m_restartCommand;return m_restartCommand; never executed: return m_restartCommand; | 0 |
64 | } | - |
65 | - | |
66 | void QPlatformSessionManager::setDiscardCommand(const QStringList &command) | - |
67 | { | - |
68 | m_discardCommand = command; | - |
69 | } never executed: end of block | 0 |
70 | - | |
71 | QStringList QPlatformSessionManager::discardCommand() const | - |
72 | { | - |
73 | return never executed: m_discardCommand;return m_discardCommand; never executed: return m_discardCommand; | 0 |
74 | } | - |
75 | - | |
76 | void QPlatformSessionManager::setManagerProperty(const QString &name, const QString &value) | - |
77 | { | - |
78 | (void)name; | - |
79 | (void)value; | - |
80 | } never executed: end of block | 0 |
81 | - | |
82 | void QPlatformSessionManager::setManagerProperty(const QString &name, const QStringList &value) | - |
83 | { | - |
84 | (void)name; | - |
85 | (void)value; | - |
86 | } never executed: end of block | 0 |
87 | - | |
88 | bool QPlatformSessionManager::isPhase2() const | - |
89 | { | - |
90 | return never executed: false;return false; never executed: return false; | 0 |
91 | } | - |
92 | - | |
93 | void QPlatformSessionManager::requestPhase2() | - |
94 | { | - |
95 | } | - |
96 | - | |
97 | void QPlatformSessionManager::appCommitData() | - |
98 | { | - |
99 | (static_cast<QGuiApplication *>(QCoreApplication::instance()))->d_func()->commitData(); | - |
100 | } never executed: end of block | 0 |
101 | - | |
102 | void QPlatformSessionManager::appSaveState() | - |
103 | { | - |
104 | (static_cast<QGuiApplication *>(QCoreApplication::instance()))->d_func()->saveState(); | - |
105 | } never executed: end of block | 0 |
106 | - | |
107 | - | |
Switch to Source code | Preprocessed file |