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// Qt-Security score:significant reason:default
5
7
9
10QWindowsSessionManager::QWindowsSessionManager(const QString &id, const QString &key)
11 : QPlatformSessionManager(id, key)
12{
13}
14
15bool QWindowsSessionManager::allowsInteraction()
16{
17 m_blockUserInput = false;
18 return true;
19}
20
21bool QWindowsSessionManager::allowsErrorInteraction()
22{
23 m_blockUserInput = false;
24 return true;
25}
26
27void QWindowsSessionManager::release()
28{
29 if (m_isActive)
30 m_blockUserInput = true;
31}
32
33void QWindowsSessionManager::cancel()
34{
35 m_canceled = true;
36}
37
38QT_END_NAMESPACE
Combined button and popup list for selecting options.