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

kio

kimageio.h

Go to the documentation of this file.
00001 /*
00002 * kimageio.h -- Declaration of interface to the KDE Image IO library.
00003 * Sirtaj Singh Kang <taj@kde.org>, 23 Sep 1998.
00004 *
00005 * This library is distributed under the conditions of the GNU LGPL.
00006 */
00007 
00008 #ifndef SSK_KIMGIO_H
00009 #define SSK_KIMGIO_H
00010 
00011 #include <qstringlist.h>
00012 
00013 #include <kdelibs_export.h>
00014 
00069 class KIO_EXPORT KImageIO
00070 {
00071 public:
00077   enum Mode { Reading, Writing };
00078 
00082   static void registerFormats();
00083 
00089   static bool canWrite(const QString& type);
00090 
00096   static bool canRead(const QString& type);
00097 
00104   static QStringList types(Mode mode = Writing);
00105 
00106 
00117   static QString pattern(Mode mode = Reading);
00118 
00125   static QString suffix(const QString& type);
00126 
00134   static QString typeForMime(const QString& mimeType);
00135 
00142   static QString type(const QString& filename);
00143 
00150   static QStringList mimeTypes( Mode mode = Writing );
00151 
00158   static bool isSupported( const QString& _mimeType, Mode _mode = Writing );
00159 
00165   static QString mimeType( const QString& _filename );
00166 };
00167 
00168 
00169 #endif
00170 

kio

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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