kig
KigFilterCabri Class Reference
#include <cabri-filter.h>

Detailed Description
This is an import filter for the output of the commercial program Cabri ("CAhier de BRouillon Interactif" or something like that), which is being pushed by Texas Instruments, but only exists for the Winblows(tm) platform and some TI scientific calculator...
- Note:
- This is completely free code, i have not looked at any Cabri source code, and have implemented this implementation of the Cabri file format from zero, by just looking at the input and output from a (properly licensed) Cabri program...
Definition at line 36 of file cabri-filter.h.
Public Member Functions | |
| KigDocument * | load (const QString &fromfile) |
| void | publicParseError (const QString &file, const QString &text) const |
| bool | supportMime (const QString &mime) |
Static Public Member Functions | |
| static KigFilterCabri * | instance () |
Member Function Documentation
| KigFilterCabri * KigFilterCabri::instance | ( | ) | [static] |
Definition at line 713 of file cabri-filter.cc.
| KigDocument * KigFilterCabri::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 139 of file cabri-filter.cc.
For internal use only.
Used by the CabriReader to report a parse error dialog to the user.
Definition at line 708 of file cabri-filter.cc.
| bool KigFilterCabri::supportMime | ( | const QString & | mime | ) | [virtual] |
can the filter handle the mimetype mime ?
Reimplemented from KigFilter.
Definition at line 131 of file cabri-filter.cc.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference