• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdeio
 

tdeio/tdeio

KMimeMagicResult Class Reference

#include <kmimemagic.h>

List of all members.

Public Member Functions

TQString mimeType () const
int accuracy () const
bool isValid () const
void setMimeType (const TQString &_mime)
void setAccuracy (int _accuracy)
void setInvalid ()

Protected Attributes

TQString m_strMimeType
int m_iAccuracy

Detailed Description

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.


Member Function Documentation

int KMimeMagicResult::accuracy (  )  const [inline]

Retrieve the accuracy of the matching.

Definition at line 59 of file kmimemagic.h.

bool KMimeMagicResult::isValid (  )  const [inline]

Returns whether the result is valid (i.e.

mimetype not empty).

Definition at line 63 of file kmimemagic.h.

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.


The documentation for this class was generated from the following file:
  • kmimemagic.h

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.6.3
This website is maintained by Timothy Pearson.