class KMimeMagicResult

# class KMimeMagicResult | More...
Deprecated! use with care
Definition | `#include <kmimemagic.h>`
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KMimeMagicResult ()
- ~KMimeMagicResult ()
- QString mimeType () const
- int accuracy () const
- bool isValid () const
- void setMimeType ( const QString& _mime )
- void setAccuracy ( int _accuracy )
- void setInvalid ()

#### Protected Members

- QString m_strMimeType
- int m_iAccuracy

## Detailed Description

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.

KMimeMagicResult () | ### KMimeMagicResult

~KMimeMagicResult () | ### ~KMimeMagicResult

QString mimeType () | ### mimeType

[const]

Retrieve the mimetype (e.g. "text/html") of the file or buffer parsed.

int accuracy () | ### accuracy

[const]

Retrieve the accuracy of the matching.

bool isValid () | ### isValid

[const]

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

QString m_strMimeType | ### m_strMimeType

[protected]

int m_iAccuracy | ### m_iAccuracy

[protected]

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:57 2003, using kdoc 2.0a54.