• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

UNNAMED_READER/corelibrary

UNNAMED_READER::fileFormats

UNNAMED_READER::fileFormats Class Reference

#include <fileFormats.h>

List of all members.


Detailed Description

This class contains information about the file types that UNNAMED_READER supports.

The class contains a number of static methods that can be used to determine the file types or mime types that UNNAMED_READER supports.

Author:
Stefan Kebekus <kebekus@kde.org>

Definition at line 40 of file fileFormats.h.


Public Member Functions

 fileFormats ()

Static Public Member Functions

static QStringList supportedMimeTypes ()
static bool UrlQuickCheckForSupportedFormat (KUrl url)

Constructor & Destructor Documentation

UNNAMED_READER::fileFormats::fileFormats (  ) 


Member Function Documentation

QStringList UNNAMED_READER::fileFormats::supportedMimeTypes (  )  [static]

List of supported mime types.

Returns a list of supported mime types. Entry 2n is the name of the mime type, entry 2n+1 is the name of the library that contains the plugin.

Definition at line 68 of file fileFormats.cpp.

bool UNNAMED_READER::fileFormats::UrlQuickCheckForSupportedFormat ( KUrl  url  )  [static]

quick check if URL points to a supported file

This method implements a quick-and-dirty check if the url likely points to a supported file. It returns 'true' if the url is non-local, or if the url points to a local file that has one of the supported endings

Definition at line 42 of file fileFormats.cpp.


The documentation for this class was generated from the following files:
  • fileFormats.h
  • fileFormats.cpp

UNNAMED_READER/corelibrary

Skip menu "UNNAMED_READER/corelibrary"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  •   corelibrary
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal