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

kig

Public Member Functions | Static Public Member Functions | List of all members
KigFilterCabri Class Reference

#include <cabri-filter.h>

Inheritance diagram for KigFilterCabri:
Inheritance graph
[legend]

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

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 141 of file cabri-filter.cc.

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

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 133 of file cabri-filter.cc.


The documentation for this class was generated from the following files:
  • cabri-filter.h
  • cabri-filter.cc
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kig

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal