• 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 | Protected Member Functions | Protected Attributes | List of all members
KigFilterKGeo Class Reference

#include <kgeo-filter.h>

Inheritance diagram for KigFilterKGeo:
Inheritance graph
[legend]

Public Member Functions

KigDocument * load (const QString &from)
 
bool supportMime (const QString &mime)
 
- Public Member Functions inherited from KigFilter
 KigFilter ()
 
virtual ~KigFilter ()
 

Static Public Member Functions

static KigFilterKGeo * instance ()
 

Protected Member Functions

 KigFilterKGeo ()
 
 ~KigFilterKGeo ()
 
void loadMetrics (KConfig *)
 
KigDocument * loadObjects (const QString &file, KConfig *)
 
- 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
 

Protected Attributes

bool axes
 
bool grid
 
int xMax
 
int yMax
 

Detailed Description

This is an import filter for files generated by the program KGeo, which was an interactive geometry program in kdeedu.

Kig is supposed to be its successor, and this import filter is part of my attempt to achieve that :)

Status: a significant part of KGeo's format is supported, not all yet, though..

Definition at line 35 of file kgeo-filter.h.

Constructor & Destructor Documentation

KigFilterKGeo::KigFilterKGeo ( )
protected

Definition at line 363 of file kgeo-filter.cc.

KigFilterKGeo::~KigFilterKGeo ( )
protected

Definition at line 367 of file kgeo-filter.cc.

Member Function Documentation

KigFilterKGeo * KigFilterKGeo::instance ( )
static

Definition at line 371 of file kgeo-filter.cc.

KigDocument * KigFilterKGeo::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 56 of file kgeo-filter.cc.

void KigFilterKGeo::loadMetrics ( KConfig *  c)
protected

Definition at line 65 of file kgeo-filter.cc.

KigDocument * KigFilterKGeo::loadObjects ( const QString &  file,
KConfig *  c 
)
protected

Definition at line 104 of file kgeo-filter.cc.

bool KigFilterKGeo::supportMime ( const QString &  mime)
virtual

This file is part of Kig, a KDE program for Interactive Geometry...

Copyright (C) 2002 Dominique Devriese devri.nosp@m.ese@.nosp@m.kde.o.nosp@m.rg

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Reimplemented from KigFilter.

Definition at line 51 of file kgeo-filter.cc.

Member Data Documentation

bool KigFilterKGeo::axes
protected

Definition at line 52 of file kgeo-filter.h.

bool KigFilterKGeo::grid
protected

Definition at line 51 of file kgeo-filter.h.

int KigFilterKGeo::xMax
protected

Definition at line 49 of file kgeo-filter.h.

int KigFilterKGeo::yMax
protected

Definition at line 50 of file kgeo-filter.h.


The documentation for this class was generated from the following files:
  • kgeo-filter.h
  • kgeo-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