Public Methods
Detailed Description
Returned by KMimeMagic find...Type methods.
It contains the mimetype and the encoding of
the file or buffer read.
| const QString mimeType ()
|
Retrieve the mimetype (e.g. "text/html") of the file or buffer parsed.
| const QString encoding ()
|
Retrieve the encoding (e.g. "8bit", see 'magic' file) of the file or buffer parsed.
Retrievee the accuracy of the matching.
Returns whether the result is valid (i.e. mimetype not empty).
| void setMimeType ( const QString& _mime )
|
| void setEncoding ( const QString& _encoding)
|
| void setAccuracy ( int _accuracy )
|