KIO
kimageio.h
Go to the documentation of this file.00001 /* 00002 * kimageio.h -- Declaration of interface to the KDE Image IO library. 00003 * Copyright (c) 1998 Sirtaj Singh Kang <taj@kde.org> 00004 * 00005 * This library is distributed under the conditions of the GNU LGPL. 00006 */ 00007 00008 #ifndef KIO_KIMAGEIO_H 00009 #define KIO_KIMAGEIO_H 00010 00011 #include <QtCore/QStringList> 00012 #include <QtCore/QString> 00013 00014 #include <kio/kio_export.h> 00015 00046 namespace KImageIO 00047 { 00053 enum Mode { Reading, Writing }; 00054 00065 KIO_EXPORT QString pattern(Mode mode = Reading); 00066 00073 KIO_EXPORT QStringList typeForMime(const QString& mimeType); 00080 KIO_EXPORT QStringList types(Mode mode = Writing); 00081 00088 KIO_EXPORT QStringList mimeTypes( Mode mode = Writing ); 00089 00096 KIO_EXPORT bool isSupported( const QString& mimeType, Mode mode = Writing ); 00097 } 00098 00099 00100 #endif