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

kig

KigFilterNative Class Reference

#include <native-filter.h>

Inheritance diagram for KigFilterNative:

Inheritance graph
[legend]

List of all members.


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