#include <kmimemagic.h>
Public Methods | |
| QString | mimeType () const |
| int | accuracy () const |
| bool | isValid () const |
find...Type methods.It contains the mimetype and the encoding of the file or buffer read.
Definition at line 45 of file kmimemagic.h.
|
|
Retrieve the accuracy of the matching. Definition at line 58 of file kmimemagic.h. |
|
|
Returns whether the result is valid (i.e. mimetype not empty). Definition at line 62 of file kmimemagic.h. |
|
|
Retrieve the mimetype (e.g. "text/html") of the file or buffer parsed. Definition at line 54 of file kmimemagic.h. |
1.2.18