qplatformsessionmanager.cpp

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

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9