• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kig

KigFilterCabri Class Reference

#include <cabri-filter.h>

Inheritance diagram for KigFilterCabri:

Inheritance graph
[legend]

List of all members.


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.

void KigFilterCabri::publicParseError ( const QString &  file,
const QString &  text 
) const

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:
  • cabri-filter.h
  • cabri-filter.cc

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal