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

kig

KigExporter Class Reference

#include <exporter.h>

Inheritance diagram for KigExporter:

Inheritance graph
[legend]

List of all members.


Detailed Description

Base class for a Kig exporter.

Subclass it and implement its methods to have it working.

Definition at line 63 of file exporter.h.


Public Member Functions

virtual QString exportToStatement () const =0
virtual QString menuEntryName () const =0
virtual QString menuIcon () const =0
virtual void run (const KigPart &doc, KigWidget &w)=0
virtual ~KigExporter ()

Constructor & Destructor Documentation

KigExporter::~KigExporter (  )  [virtual]

Definition at line 61 of file exporter.cc.


Member Function Documentation

virtual QString KigExporter::exportToStatement (  )  const [pure virtual]

Returns a statement like i18n( "Export to image" ).

Implemented in ImageExporter, LatexExporter, SVGExporter, and XFigExporter.

virtual QString KigExporter::menuEntryName (  )  const [pure virtual]

Returns a string like i18n( "Image..." ).

Implemented in ImageExporter, LatexExporter, SVGExporter, and XFigExporter.

virtual QString KigExporter::menuIcon (  )  const [pure virtual]

Returns a string with the name of the icon.

Implemented in ImageExporter, LatexExporter, SVGExporter, and XFigExporter.

virtual void KigExporter::run ( const KigPart &  doc,
KigWidget &  w 
) [pure virtual]

Do what you need to do.

It's up to the individual exporters to ask the user for which file to export to etc., because they can do a much better job at that..

Implemented in ImageExporter, LatexExporter, SVGExporter, and XFigExporter.


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