kig
#include <kgeo-filter.h>
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
|
protected |
Definition at line 363 of file kgeo-filter.cc.
|
protected |
Definition at line 367 of file kgeo-filter.cc.
Member Function Documentation
|
static |
Definition at line 371 of file kgeo-filter.cc.
|
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.
|
protected |
Definition at line 65 of file kgeo-filter.cc.
|
protected |
Definition at line 104 of file kgeo-filter.cc.
|
virtual |
This file is part of Kig, a KDE program for Interactive Geometry...
Copyright (C) 2002 Dominique Devriese devri ese@ kde.o 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
|
protected |
Definition at line 52 of file kgeo-filter.h.
|
protected |
Definition at line 51 of file kgeo-filter.h.
|
protected |
Definition at line 49 of file kgeo-filter.h.
|
protected |
Definition at line 50 of file kgeo-filter.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:12:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.