.TH "KMimeMagicResult" kde3 "11 Jun 2005" "Version Version 3.4.1" "kio Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KMimeMagicResult \- 
.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
.ti -1c
.RI "int \fBaccuracy\fP () const "
.br
.ti -1c
.RI "bool \fBisValid\fP () const "
.br
.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 
\fBDeprecated\fP
.RS 4
Use \fBKMimeType::findByContent()\fP instead May be removed in \fBKDE\fP 4.0. Returned by \fBKMimeMagic\fP \fCfind\fP...Type methods. 
.RE
.PP
It contains the mimetype and the encoding of the file or buffer read. 
.PP
Definition at line 46 of file kmimemagic.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBQString\fP KMimeMagicResult::mimeType () const\fC [inline]\fP"
.PP
Retrieve the mimetype (e.g. 
.PP
'text/html') of the file or buffer parsed. 
.PP
Definition at line 55 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. 
.PP
Definition at line 59 of file kmimemagic.h.
.PP
Referenced by KMimeMagic::findBufferType(), KMimeType::findByContent(), KMimeType::findByFileContent(), and KMimeMagic::findFileType().
.SS "bool KMimeMagicResult::isValid () const\fC [inline]\fP"
.PP
Returns whether the result is valid (i.e. 
.PP
mimetype not empty). 
.PP
Definition at line 63 of file kmimemagic.h.
.PP
Referenced by KMimeType::findByContent(), KMimeType::findByFileContent(), and KMimeType::findByURL().

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