KFileMetaData

pngextractor.h
1/*
2 SPDX-FileCopyrightText: 2022 Kai Uwe Broulik <kde@broulik.de>
3
4 SPDX-License-Identifier: LGPL-2.1-or-later
5*/
6
7#ifndef PNGEXTRACTOR_H
8#define PNGEXTRACTOR_H
9
10#include "extractorplugin.h"
11
12namespace KFileMetaData
13{
14
15class PngExtractor : public ExtractorPlugin
16{
18 Q_PLUGIN_METADATA(IID "org.kde.kf5.kfilemetadata.ExtractorPlugin"
19 FILE "pngextractor.json")
21
22public:
23 explicit PngExtractor(QObject *parent = nullptr);
24
25 void extract(ExtractionResult *result) override;
26 QStringList mimetypes() const override;
27};
28
29} // namespace KFileMetaData
30
31#endif // PNGEXTRACTOR_H
The ExtractorPlugin is the base class for all file metadata extractors.
The KFileMetaData namespace.
Q_INTERFACES(...)
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:12:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.