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