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
6
#
include
"qwindowssessionmanager.h"
7
8
QT_BEGIN_NAMESPACE
9
10
QWindowsSessionManager::QWindowsSessionManager(
const
QString &id,
const
QString &key)
11
: QPlatformSessionManager(id, key)
12
{
13
}
14
15
bool
QWindowsSessionManager::allowsInteraction()
16
{
17
m_blockUserInput =
false
;
18
return
true
;
19
}
20
21
bool
QWindowsSessionManager::allowsErrorInteraction()
22
{
23
m_blockUserInput =
false
;
24
return
true
;
25
}
26
27
void
QWindowsSessionManager::release()
28
{
29
if
(m_isActive)
30
m_blockUserInput =
true
;
31
}
32
33
void
QWindowsSessionManager::cancel()
34
{
35
m_canceled =
true
;
36
}
37
38
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
qtbase
src
plugins
platforms
windows
qwindowssessionmanager.cpp
Generated on
for Qt by
1.16.1