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 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 )
| setMimeType |
void setEncoding ( const QString& _encoding)
| setEncoding |
void setAccuracy ( int _accuracy )
| setAccuracy |
void setInvalid ()
| setInvalid |
QString m_strEncoding
| m_strEncoding |
[protected]
QString m_strMimeType
| m_strMimeType |
[protected]
int m_iAccuracy
| m_iAccuracy |
[protected]
Generated by: root@powerpc.ports.openbsd.org on Tue Apr 24 23:00:42 2001, using kdoc 2.0a53. |