kig
#include <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) |
Public Member Functions inherited from KigFilter | |
KigFilter () | |
virtual | ~KigFilter () |
Static Public Member Functions | |
static KigFilterCabri * | 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
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.
Member Function Documentation
|
static |
Definition at line 713 of file cabri-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 141 of file cabri-filter.cc.
Used by the CabriReader to report a parse error dialog to the user.
Definition at line 708 of file cabri-filter.cc.
|
virtual |
can the filter handle the mimetype mime
?
Reimplemented from KigFilter.
Definition at line 133 of file cabri-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.