summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/android/qandroidplatformiconengine.h
blob: 0db31e6d825c11a3930b2b74d5ffa60c06a8c1bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef QANDROIDPLATFORMICONENGINE_H
#define QANDROIDPLATFORMICONENGINE_H

#include <QtGui/private/qfonticonengine_p.h>

#ifndef QT_NO_ICON

QT_BEGIN_NAMESPACE

class QAndroidPlatformIconEngine : public QFontIconEngine
{
public:
    QAndroidPlatformIconEngine(const QString &iconName);
    ~QAndroidPlatformIconEngine();

    QString key() const override;
    QIconEngine *clone() const override;

protected:
    QString string() const override;

private:
    const QString m_glyphs;
};

QT_END_NAMESPACE

#endif // QT_NO_ICON

#endif // QANDROIDPLATFORMICONENGINE_H