blob: 0dc953017c58e7f78f0cd41524caab0276f6f833 (
plain) (
blame)
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
|
/*
* This file is part of Fluid.
*
* Copyright (C) 2016 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
*
* $BEGIN_LICENSE:MPL2$
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* $END_LICENSE$
*/
#pragma once
#include <QtQuick/QQuickImageProvider>
class IconsImageProvider : public QQuickImageProvider
{
public:
IconsImageProvider();
QImage requestImage(const QString &id, QSize *realSize, const QSize &requestedSize);
};
|