• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KIO

  • sources
  • kde-4.14
  • kdelibs
  • kio
  • kio
kimageio.h
Go to the documentation of this file.
1 /*
2 * kimageio.h -- Declaration of interface to the KDE Image IO library.
3 * Copyright (c) 1998 Sirtaj Singh Kang <taj@kde.org>
4 *
5 * This library is distributed under the conditions of the GNU LGPL.
6 */
7 
8 #ifndef KIO_KIMAGEIO_H
9 #define KIO_KIMAGEIO_H
10 
11 #include <QtCore/QStringList>
12 #include <QtCore/QString>
13 
14 #include <kio/kio_export.h>
15 
46 namespace KImageIO
47 {
53  enum Mode { Reading, Writing };
54 
65  KIO_EXPORT QString pattern(Mode mode = Reading);
66 
73  KIO_EXPORT QStringList typeForMime(const QString& mimeType);
80  KIO_EXPORT QStringList types(Mode mode = Writing);
81 
88  KIO_EXPORT QStringList mimeTypes( Mode mode = Writing );
89 
96  KIO_EXPORT bool isSupported( const QString& mimeType, Mode mode = Writing );
97 }
98 
99 
100 #endif
kio_export.h
KImageIO::Writing
Definition: kimageio.h:53
KImageIO::Mode
Mode
Possible image file access modes.
Definition: kimageio.h:53
KImageIO::isSupported
bool isSupported(const QString &mimeType, Mode mode=Writing)
Test to see whether a MIME type is supported to reading/writing.
Definition: kimageio.cpp:96
KImageIO::typeForMime
QStringList typeForMime(const QString &mimeType)
Returns the type of a MIME type.
Definition: kimageio.cpp:51
KImageIO::pattern
QString pattern(Mode mode=Reading)
Returns a list of patterns of all KImageIO supported formats.
Definition: kimageio.cpp:16
QString
QStringList
KImageIO::mimeTypes
QStringList mimeTypes(Mode mode=Writing)
Returns a list of MIME types for all KImageIO supported formats.
Definition: kimageio.cpp:64
KImageIO::Reading
Definition: kimageio.h:53
KImageIO::types
QStringList types(Mode mode=Writing)
Returns a list of all KImageIO supported formats.
Definition: kimageio.cpp:82
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIO

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal