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

kig

Public Member Functions | List of all members
KigExporter Class Referenceabstract

#include <exporter.h>

Inheritance diagram for KigExporter:
Inheritance graph
[legend]

Public Member Functions

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

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.

Constructor & Destructor Documentation

KigExporter::~KigExporter ( )
virtual

Definition at line 62 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, AsyExporter, LatexExporter, SVGExporter, and XFigExporter.

virtual QString KigExporter::menuEntryName ( ) const
pure virtual

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

Implemented in ImageExporter, AsyExporter, LatexExporter, SVGExporter, and XFigExporter.

virtual QString KigExporter::menuIcon ( ) const
pure virtual

Returns a string with the name of the icon.

Implemented in ImageExporter, AsyExporter, 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, AsyExporter, LatexExporter, SVGExporter, and XFigExporter.


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