kig
#include <native-filter.h>

Public Member Functions | |
| KigDocument * | load (const QString &file) |
| bool | save (const KigDocument &data, const QString &file) |
| bool | supportMime (const QString &mime) |
Public Member Functions inherited from KigFilter | |
| KigFilter () | |
| virtual | ~KigFilter () |
Static Public Member Functions | |
| static KigFilterNative * | instance () |
Additional Inherited Members | |
Protected Member Functions inherited from KigFilter | |
| void | fileNotFound (const QString &file) const |
| void | notSupported (const QString &file, const QString &explanation) const |
| void | parseError (const QString &file, const QString &explanation=QString()) const |
| void | warning (const QString &explanation) const |
Detailed Description
Kig's native format.
Between versions 0.3.1 and 0.4, there was a change in the file format. This filter no longer supports pre-0.4 formats, it did up until Kig 0.6.
Definition at line 33 of file native-filter.h.
Member Function Documentation
|
static |
Definition at line 382 of file native-filter.cc.
|
virtual |
load file fromfile and build a KigDocument from it.
. If this function returns 0, that means that an error occurred while loading ( implementations of this function are responsible for showing an error message themselves, using the above error functions ). If this functions returns non-0, the caller owns the returned KigDocument ( that was allocated with "new" ).
Implements KigFilter.
Definition at line 108 of file native-filter.cc.
| bool KigFilterNative::save | ( | const KigDocument & | data, |
| const QString & | file | ||
| ) |
Definition at line 728 of file native-filter.cc.
|
virtual |
can the filter handle the mimetype mime ?
Reimplemented from KigFilter.
Definition at line 103 of file native-filter.cc.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from