Changeset View
Changeset View
Standalone View
Standalone View
src/extractorcollection.h
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | |||||
43 | public: | 43 | public: | ||
44 | explicit ExtractorCollection(); | 44 | explicit ExtractorCollection(); | ||
45 | virtual ~ExtractorCollection(); | 45 | virtual ~ExtractorCollection(); | ||
46 | 46 | | |||
47 | /** | 47 | /** | ||
48 | * Fetch the extractors which can be used to extract | 48 | * Fetch the extractors which can be used to extract | ||
49 | * data for the respective file with the given mimetype. | 49 | * data for the respective file with the given mimetype. | ||
50 | * | 50 | * | ||
51 | * If no match is found then all the plugins whose mimetype list | 51 | * If no match is found then the best matching plugins | ||
52 | * starts with \p mimetype are returned. | 52 | * are returned, determined by mimetype inheritance. | ||
53 | * | ||||
54 | * \sa QMimeType::allAncestors | ||||
53 | */ | 55 | */ | ||
54 | QList<Extractor*> fetchExtractors(const QString& mimetype) const; | 56 | QList<Extractor*> fetchExtractors(const QString& mimetype) const; | ||
55 | 57 | | |||
56 | private: | 58 | private: | ||
57 | class Private; | 59 | class Private; | ||
58 | Private* d; | 60 | Private* d; | ||
59 | }; | 61 | }; | ||
60 | } | 62 | } | ||
61 | 63 | | |||
62 | #endif | 64 | #endif |