kimageio.h
/*
* kimageio.h -- Declaration of interface to the KDE Image IO library.
* Sirtaj Singh Kang <taj@kde.org>, 23 Sep 1998.
*
* This library is distributed under the conditions of the GNU LGPL.
*/
#ifndef SSK_KIMGIO_H
#define SSK_KIMGIO_H
#include <qstringlist.h>
#include <kdelibs_export.h>
class KIO_EXPORT KImageIO
{
public:
enum Mode { Reading, Writing };
static void registerFormats();
static bool canWrite(const QString& type);
static bool canRead(const QString& type);
static QStringList types(Mode mode = Writing);
static QString pattern(Mode mode = Reading);
static QString suffix(const QString& type);
static QString typeForMime(const QString& mimeType);
static QString type(const QString& filename);
static QStringList mimeTypes( Mode mode = Writing );
static bool isSupported( const QString& _mimeType, Mode _mode = Writing );
static QString mimeType( const QString& _filename );
};
#endif
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

KDE Home | KDE Accessibility Home | Description of Access Keys