Changeset View
Changeset View
Standalone View
Standalone View
src/file/extractor/result.h
Show All 34 Lines | 33 | public: | |||
---|---|---|---|---|---|
35 | Result(const QString& url, const QString& mimetype, const Flags& flags = ExtractEverything); | 35 | Result(const QString& url, const QString& mimetype, const Flags& flags = ExtractEverything); | ||
36 | 36 | | |||
37 | void add(KFileMetaData::Property::Property property, const QVariant& value) override; | 37 | void add(KFileMetaData::Property::Property property, const QVariant& value) override; | ||
38 | void append(const QString& text) override; | 38 | void append(const QString& text) override; | ||
39 | void addType(KFileMetaData::Type::Type type) override; | 39 | void addType(KFileMetaData::Type::Type type) override; | ||
40 | 40 | | |||
41 | void setDocument(const Baloo::Document& doc); | 41 | void setDocument(const Baloo::Document& doc); | ||
42 | 42 | | |||
43 | QVariantMap map() const; | | |||
44 | | ||||
45 | Baloo::Document& document() { | 43 | Baloo::Document& document() { | ||
46 | return m_doc; | 44 | return m_doc; | ||
47 | } | 45 | } | ||
48 | 46 | | |||
49 | /** | 47 | /** | ||
50 | * Applies the finishing touches on the document, and makes | 48 | * Applies the finishing touches on the document, and makes | ||
51 | * it ready to be pushed into the db | 49 | * it ready to be pushed into the db | ||
52 | */ | 50 | */ | ||
Show All 11 Lines |