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

kio/kio

kimageio.h

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/kio

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

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
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