1// Copyright (C) 2016 The Qt Company Ltd.
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 QRASTERWINDOW_H
5#define QRASTERWINDOW_H
6
7#include <QtGui/qtguiglobal.h>
8#include <QtGui/QPaintDeviceWindow>
9
10QT_BEGIN_NAMESPACE
11
12class QRasterWindowPrivate;
13
14class Q_GUI_EXPORT QRasterWindow : public QPaintDeviceWindow
15{
16 Q_OBJECT
17 Q_DECLARE_PRIVATE(QRasterWindow)
18
19public:
20 explicit QRasterWindow(QWindow *parent = nullptr);
21 ~QRasterWindow();
22
23protected:
24 int metric(PaintDeviceMetric metric) const override;
25 QPaintDevice *redirected(QPoint *) const override;
26
27private:
28 Q_DISABLE_COPY(QRasterWindow)
29};
30
31QT_END_NAMESPACE
32
33#endif
34

source code of qtbase/src/gui/kernel/qrasterwindow.h