.TH "KMimeMagicResult" 3 "28 Jan 2004" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KMimeMagicResult \- \fBThis class or method is obsolete, it is provided for compatibility only.\fP Use \fBKMimeType::findByContent()\fP instead May be removed in \fBKDE\fP 4.0 Returned by \fBKMimeMagic\fP \fCfind\fP...Type methods.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kmimemagic.h>\fP
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBQString\fP \fBmimeType\fP () const "
.br
.RI "\fIRetrieve the mimetype (e.g. \fP"
.ti -1c
.RI "int \fBaccuracy\fP () const "
.br
.RI "\fIRetrieve the accuracy of the matching. \fP"
.ti -1c
.RI "bool \fBisValid\fP () const "
.br
.RI "\fIReturns whether the result is valid (i.e. \fP"
.ti -1c
.RI "void \fBsetMimeType\fP (const  \fBQString\fP &_mime)"
.br
.ti -1c
.RI "void \fBsetAccuracy\fP (int _accuracy)"
.br
.ti -1c
.RI "void \fBsetInvalid\fP ()"
.br
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "\fBQString\fP \fBm_strMimeType\fP"
.br
.ti -1c
.RI "int \fBm_iAccuracy\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBThis class or method is obsolete, it is provided for compatibility only.\fP Use \fBKMimeType::findByContent()\fP instead May be removed in \fBKDE\fP 4.0 Returned by \fBKMimeMagic\fP \fCfind\fP...Type methods. 

It contains the mimetype and the encoding of the file or buffer read. 
.PP
Definition at line 45 of file kmimemagic.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBQString\fP KMimeMagicResult::mimeType () const\fC [inline]\fP"
.PP
Retrieve the mimetype (e.g. 'text/html') of the file or buffer parsed. Definition at line 54 of file kmimemagic.h.
.PP
Referenced by KMimeType::findByContent(), KMimeType::findByFileContent(), and KMimeType::findByURL().
.SS "int KMimeMagicResult::accuracy () const\fC [inline]\fP"
.PP
Retrieve the accuracy of the matching. Definition at line 58 of file kmimemagic.h.
.PP
Referenced by KMimeType::findByContent(), and KMimeType::findByFileContent().
.SS "bool KMimeMagicResult::isValid () const\fC [inline]\fP"
.PP
Returns whether the result is valid (i.e. mimetype not empty). Definition at line 62 of file kmimemagic.h.
.PP
References QString::isEmpty().
.PP
Referenced by KMimeType::findByContent(), KMimeType::findByFileContent(), and KMimeType::findByURL().

.SH "Author"
.PP 
Generated automatically by Doxygen for kio Library from the source code.
