1// Copyright (C) 2017 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 QPKMHANDLER_H
5#define QPKMHANDLER_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include "qtexturefilehandler_p.h"
19
20QT_BEGIN_NAMESPACE
21
22class QPkmHandler : public QTextureFileHandler
23{
24public:
25 using QTextureFileHandler::QTextureFileHandler;
26 ~QPkmHandler() override;
27
28 static bool canRead(const QByteArray &suffix, const QByteArray &block);
29
30 QTextureFileData read() override;
31};
32
33QT_END_NAMESPACE
34
35#endif // QPKMHANDLER_H
36

source code of qtbase/src/gui/util/qpkmhandler_p.h