File indexing completed on 2024-04-14 03:54:12

0001 /*
0002     SPDX-FileCopyrightText: 2009 Canonical
0003     SPDX-FileContributor: Aurélien Gâteau <aurelien.gateau@canonical.com>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-only OR LGPL-3.0-only
0006 */
0007 
0008 #ifndef IMAGECONVERTER_H
0009 #define IMAGECONVERTER_H
0010 
0011 class QVariant;
0012 class QImage;
0013 
0014 namespace ImageConverter
0015 {
0016 /**
0017  * Returns a variant representing an image using the format describe in the
0018  * freedesktop.org spec
0019  */
0020 QVariant variantForImage(const QImage &image);
0021 
0022 } // namespace
0023 
0024 #endif /* IMAGECONVERTER_H */