Public Methods
Protected Members
Returned by KMimeMagic find
...Type methods.
It contains the mimetype and the encoding of
the file or buffer read.
KMimeMagicResult ()
| KMimeMagicResult |
~KMimeMagicResult ()
| ~KMimeMagicResult |
Retrieve the mimetype (e.g. "text/html") of the file or buffer parsed.
Retrieve the accuracy of the matching.
Returns whether the result is valid (i.e. mimetype not empty).
void setMimeType ( const QString& _mime )
| setMimeType |
void setAccuracy ( int _accuracy )
| setAccuracy |
void setInvalid ()
| setInvalid |
void setEncoding ( const QString&)
| setEncoding |
QString m_strMimeType
| m_strMimeType |
[protected]
int m_iAccuracy
| m_iAccuracy |
[protected]
Generated by: dfaure on kde.faure.org on Thu Jan 17 22:16:53 2002, using kdoc 2.0a53. |