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

kio/kio

  • kio
  • kio
kimageio.h
1 /*
2 * kimageio.h -- Declaration of interface to the KDE Image IO library.
3 * Sirtaj Singh Kang <taj@kde.org>, 23 Sep 1998.
4 *
5 * This library is distributed under the conditions of the GNU LGPL.
6 */
7 
8 #ifndef SSK_KIMGIO_H
9 #define SSK_KIMGIO_H
10 
11 #include <tqstringlist.h>
12 
13 #include <kdelibs_export.h>
14 
69 class KIO_EXPORT KImageIO
70 {
71 public:
77  enum Mode { Reading, Writing };
78 
82  static void registerFormats();
83 
89  static bool canWrite(const TQString& type);
90 
96  static bool canRead(const TQString& type);
97 
104  static TQStringList types(Mode mode = Writing);
105 
106 
117  static TQString pattern(Mode mode = Reading);
118 
125  static TQString suffix(const TQString& type);
126 
134  static TQString typeForMime(const TQString& mimeType);
135 
142  static TQString type(const TQString& filename);
143 
150  static TQStringList mimeTypes( Mode mode = Writing );
151 
158  static bool isSupported( const TQString& _mimeType, Mode _mode = Writing );
159 
165  static TQString mimeType( const TQString& _filename );
166 };
167 
168 
169 #endif
170 
KImageIO
Interface to the KDE Image IO plugin architecture.
Definition: kimageio.h:69
KImageIO::Mode
Mode
Possible image file access modes.
Definition: kimageio.h:77

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

kio/kio

Skip menu "kio/kio"
  • 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
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kio/kio by doxygen 1.8.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |