Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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
QPlatformSessionManager
Definition
qplatformsessionmanager.h:29
QString
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition
qstring.h:129
QWindowsSessionManager::cancel
void cancel() override
Definition
qwindowssessionmanager.cpp:32
QWindowsSessionManager::allowsErrorInteraction
bool allowsErrorInteraction() override
Definition
qwindowssessionmanager.cpp:20
QWindowsSessionManager::QWindowsSessionManager
QWindowsSessionManager(const QString &id, const QString &key)
Definition
qwindowssessionmanager.cpp:9
QWindowsSessionManager::release
void release() override
Definition
qwindowssessionmanager.cpp:26
QWindowsSessionManager::allowsInteraction
bool allowsInteraction() override
Definition
qwindowssessionmanager.cpp:14
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
key
GLuint64 key
Definition
qopengles2ext.h:2268
id
GLenum GLuint id
[7]
Definition
qopengles2ext.h:151
qwindowssessionmanager.h
qtbase
src
plugins
platforms
windows
qwindowssessionmanager.cpp
Generated by
1.10.0