#include <kmimemagic.h>
- Deprecated:
- Use KMimeType::findByContent() instead May be removed in KDE 4.0. Returned by KMimeMagic
find
...Type methods.
It contains the mimetype and the encoding of the file or buffer read.
Definition at line 46 of file kmimemagic.h.
◆ KMimeMagicResult()
KMimeMagicResult::KMimeMagicResult |
( |
| ) |
|
|
inline |
◆ ~KMimeMagicResult()
KMimeMagicResult::~KMimeMagicResult |
( |
| ) |
|
|
inline |
◆ accuracy()
int KMimeMagicResult::accuracy |
( |
| ) |
const |
|
inline |
Retrieve the accuracy of the matching.
Definition at line 59 of file kmimemagic.h.
◆ isValid()
bool KMimeMagicResult::isValid |
( |
| ) |
const |
|
inline |
Returns whether the result is valid (i.e.
mimetype not empty).
Definition at line 63 of file kmimemagic.h.
◆ mimeType()
TQString KMimeMagicResult::mimeType |
( |
| ) |
const |
|
inline |
Retrieve the mimetype (e.g.
"text/html") of the file or buffer parsed.
Definition at line 55 of file kmimemagic.h.
◆ setAccuracy()
void KMimeMagicResult::setAccuracy |
( |
int |
_accuracy | ) |
|
|
inline |
◆ setInvalid()
void KMimeMagicResult::setInvalid |
( |
| ) |
|
|
inline |
◆ setMimeType()
void KMimeMagicResult::setMimeType |
( |
const TQString & |
_mime | ) |
|
|
inline |
◆ m_iAccuracy
int KMimeMagicResult::m_iAccuracy |
|
protected |
◆ m_strMimeType
TQString KMimeMagicResult::m_strMimeType |
|
protected |
The documentation for this class was generated from the following file: