Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwindowssessionmanager.cpp
Go to the documentation of this file.
1// Copyright (C) 2013 Samuel Gaist <samuel.gaist@edeltech.ch>
2// Copyright (C) 2016 The Qt Company Ltd.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
6
8
9QWindowsSessionManager::QWindowsSessionManager(const QString &id, const QString &key)
10 : QPlatformSessionManager(id, key)
11{
12}
13
14bool QWindowsSessionManager::allowsInteraction()
15{
16 m_blockUserInput = false;
17 return true;
18}
19
20bool QWindowsSessionManager::allowsErrorInteraction()
21{
22 m_blockUserInput = false;
23 return true;
24}
25
26void QWindowsSessionManager::release()
27{
28 if (m_isActive)
29 m_blockUserInput = true;
30}
31
32void QWindowsSessionManager::cancel()
33{
34 m_canceled = true;
35}
36
37QT_END_NAMESPACE