KFileMetaData

popplerextractor.h
1 /*
2  SPDX-FileCopyrightText: 2012 Vishesh Handa <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-or-later
5 */
6 
7 
8 #ifndef POPPLEREXTRACTOR_H
9 #define POPPLEREXTRACTOR_H
10 
11 #include "extractorplugin.h"
12 #include <poppler-qt5.h>
13 
14 namespace KFileMetaData
15 {
16 
17 class PopplerExtractor : public ExtractorPlugin
18 {
19  Q_OBJECT
20  Q_PLUGIN_METADATA(IID "org.kde.kf5.kfilemetadata.ExtractorPlugin"
21  FILE "popplerextractor.json")
23 
24 public:
25  explicit PopplerExtractor(QObject* parent = nullptr);
26 
27  QStringList mimetypes() const override;
28  void extract(ExtractionResult* result) override;
29 };
30 }
31 
32 #endif // POPPLEREXTRACTOR_H
The ExtractorPlugin is the base class for all file metadata extractors.
Q_OBJECTQ_OBJECT
Q_INTERFACES(...)
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 23 2021 03:15:05 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.