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
qhaikubuffer.h
Go to the documentation of this file.
1// Copyright (C) 2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Tobias Koenig <tobias.koenig@kdab.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QHAIKUBUFFER_H
5#define QHAIKUBUFFER_H
6
7#include <QtGui/QImage>
8
9class BBitmap;
10
11QT_BEGIN_NAMESPACE
12
13class QHaikuBuffer
14{
15public:
16 QHaikuBuffer();
17 QHaikuBuffer(BBitmap *buffer);
18
19 BBitmap* nativeBuffer() const;
20 const QImage *image() const;
21 QImage *image();
22
23 QRect rect() const;
24
25private:
26 BBitmap *m_buffer;
27 QImage m_image;
28};
29
30QT_END_NAMESPACE
31
32#endif