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

kig

KigFilterKGeo Class Reference

#include <kgeo-filter.h>

Inheritance diagram for KigFilterKGeo:

Inheritance graph
[legend]

List of all members.


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.


Public Member Functions

KigDocument * load (const QString &from)
bool supportMime (const QString &mime)

Static Public Member Functions

static KigFilterKGeo * instance ()

Protected Member Functions

 KigFilterKGeo ()
void loadMetrics (KConfig *)
KigDocument * loadObjects (const QString &file, KConfig *)
 ~KigFilterKGeo ()

Protected Attributes

bool axes
bool grid
int xMax
int yMax

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 <devriese@kde.org>

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

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