kig
KigFilterNative Class Reference
#include <native-filter.h>

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.
Public Member Functions | |
| KigDocument * | load (const QString &file) |
| bool | save (const KigDocument &data, const QString &file) |
| bool | supportMime (const QString &mime) |
Static Public Member Functions | |
| static KigFilterNative * | instance () |
Member Function Documentation
| KigFilterNative * KigFilterNative::instance | ( | ) | [static] |
Definition at line 382 of file native-filter.cc.
| KigDocument * KigFilterNative::load | ( | const QString & | fromfile | ) | [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.
| bool KigFilterNative::supportMime | ( | const QString & | mime | ) | [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:
KDE 4.2 API Reference