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
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
12
14{
15public:
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
31
32#endif
BBitmap * nativeBuffer() const
const QImage * image() const
QRect rect() const
\inmodule QtGui
Definition qimage.h:37
\inmodule QtCore\reentrant
Definition qrect.h:30
Combined button and popup list for selecting options.
GLenum GLuint buffer