Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qqnxbuffer.h
Go to the documentation of this file.
1
// Copyright (C) 2011 - 2012 Research In Motion
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QQNXBUFFER_H
6
#
define
QQNXBUFFER_H
7
8
#
include
<
QtGui
/
QImage
>
9
#
include
<
QtCore
/
QLoggingCategory
>
10
11
#
include
<
screen
/
screen
.
h
>
12
13
QT_BEGIN_NAMESPACE
14
15
Q_DECLARE_LOGGING_CATEGORY(lcQpaScreenBuffer);
16
17
class
QQnxBuffer
18
{
19
public
:
20
QQnxBuffer
();
21
QQnxBuffer
(screen_buffer_t buffer);
22
QQnxBuffer
(
const
QQnxBuffer
&other);
23
virtual
~
QQnxBuffer
();
24
25
screen_buffer_t
nativeBuffer
()
const
{
return
m_buffer; }
26
const
QImage
*
image
()
const
{
return
(m_buffer !=
nullptr
) ? &m_image :
nullptr
; }
27
QImage
*
image
() {
return
(m_buffer !=
nullptr
) ? &m_image :
nullptr
; }
28
29
QRect
rect
()
const
{
return
m_image.rect(); }
30
31
void
invalidateInCache
();
32
33
private
:
34
screen_buffer_t m_buffer;
35
QImage m_image;
36
};
37
38
QT_END_NAMESPACE
39
40
#
endif
// QQNXBUFFER_H
QQnxBuffer
Definition
qqnxbuffer.h:18
QQnxBuffer::~QQnxBuffer
virtual ~QQnxBuffer()
Definition
qqnxbuffer.cpp:91
QQnxBuffer::image
QImage * image()
Definition
qqnxbuffer.h:27
QQnxBuffer::invalidateInCache
void invalidateInCache()
Definition
qqnxbuffer.cpp:96
QQnxBuffer::QQnxBuffer
QQnxBuffer(const QQnxBuffer &other)
Definition
qqnxbuffer.cpp:84
QQnxBuffer::QQnxBuffer
QQnxBuffer()
Definition
qqnxbuffer.cpp:18
QQnxBuffer::QQnxBuffer
QQnxBuffer(screen_buffer_t buffer)
Definition
qqnxbuffer.cpp:24
QQnxBuffer::image
const QImage * image() const
Definition
qqnxbuffer.h:26
QQnxBuffer::nativeBuffer
screen_buffer_t nativeBuffer() const
Definition
qqnxbuffer.h:25
QQnxBuffer::rect
QRect rect() const
Definition
qqnxbuffer.h:29
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
Q_LOGGING_CATEGORY
Q_LOGGING_CATEGORY(lcEventDispatcher, "qt.eventdispatcher")
Q_DECLARE_LOGGING_CATEGORY
QT_BEGIN_NAMESPACE Q_DECLARE_LOGGING_CATEGORY(lcQIORing)
Q_SCREEN_CRITICALERROR
#define Q_SCREEN_CRITICALERROR(x, message)
Definition
qqnxglobal.h:20
qScreenCheckError
void qScreenCheckError(int rc, const char *funcInfo, const char *message, bool critical)
Definition
qqnxglobal.cpp:14
Q_SCREEN_CHECKERROR
#define Q_SCREEN_CHECKERROR(x, message)
Definition
qqnxglobal.h:17
qtbase
src
plugins
platforms
qnx
qqnxbuffer.h
Generated on
for Qt by
1.18.0