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

cantor/src/lib

  • Cantor
  • AnimationResult
Public Types | Public Member Functions | List of all members
Cantor::AnimationResult Class Reference

#include <animationresult.h>

Inheritance diagram for Cantor::AnimationResult:
Inheritance graph
[legend]

Public Types

enum  { Type =6 }
 

Public Member Functions

 AnimationResult (const KUrl &url, const QString &alt=QString())
 
 ~AnimationResult ()
 
QVariant data ()
 
QString mimeType ()
 
void save (const QString &filename)
 
void saveAdditionalData (KZip *archive)
 
QString toHtml ()
 
QDomElement toXml (QDomDocument &doc)
 
int type ()
 
KUrl url ()
 
- Public Member Functions inherited from Cantor::Result
 Result ()
 
virtual ~Result ()
 
virtual QString toLatex ()
 

Detailed Description

Definition at line 30 of file animationresult.h.

Member Enumeration Documentation

anonymous enum
Enumerator
Type 

Definition at line 33 of file animationresult.h.

Constructor & Destructor Documentation

AnimationResult::AnimationResult ( const KUrl &  url,
const QString &  alt = QString() 
)
explicit

Definition at line 45 of file animationresult.cpp.

AnimationResult::~AnimationResult ( )

Definition at line 54 of file animationresult.cpp.

Member Function Documentation

QVariant AnimationResult::data ( )
virtual

returns data associated with this result (text/images/etc)

Returns
data associated with this result

Implements Cantor::Result.

Definition at line 65 of file animationresult.cpp.

QString AnimationResult::mimeType ( )
virtual

returns the mimetype, this result is

Returns
the mimetype, this result is

Implements Cantor::Result.

Definition at line 80 of file animationresult.cpp.

void AnimationResult::save ( const QString &  filename)
virtual

saves this to a file

Parameters
filenamename of the file

Implements Cantor::Result.

Definition at line 103 of file animationresult.cpp.

void AnimationResult::saveAdditionalData ( KZip *  archive)
virtual

saves all the data, that can't be saved in xml in an extra file in the archive.

Reimplemented from Cantor::Result.

Definition at line 98 of file animationresult.cpp.

QString AnimationResult::toHtml ( )
virtual

returns html code, that represents this result, e.g.

an img tag for images

Returns
html code representing this result

Implements Cantor::Result.

Definition at line 60 of file animationresult.cpp.

QDomElement AnimationResult::toXml ( QDomDocument &  doc)
virtual

returns a DomElement, containing the information of the result

Parameters
docDomDocument used for storing the information
Returns
DomElement, containing the information of the result

Implements Cantor::Result.

Definition at line 87 of file animationresult.cpp.

int AnimationResult::type ( )
virtual

returns an unique number, representing the type of this result.

Every subclass should define their own Type.

Returns
the type of this result

Implements Cantor::Result.

Definition at line 75 of file animationresult.cpp.

KUrl AnimationResult::url ( )
virtual

returns an url, data for this result resides at

Returns
an url, data for this result resides at

Reimplemented from Cantor::Result.

Definition at line 70 of file animationresult.cpp.


The documentation for this class was generated from the following files:
  • animationresult.h
  • animationresult.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

cantor/src/lib

Skip menu "cantor/src/lib"
  • 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