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

cantor/src/lib

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

#include <helpresult.h>

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

Public Types

enum  { Type =3 }
 
- Public Types inherited from Cantor::TextResult
enum  { Type =1 }
 
enum  Format { PlainTextFormat, LatexFormat }
 

Public Member Functions

 HelpResult (const QString &text)
 
 ~HelpResult ()
 
QDomElement toXml (QDomDocument &doc)
 
int type ()
 
- Public Member Functions inherited from Cantor::TextResult
 TextResult (const QString &text)
 
 TextResult (const QString &text, const QString &plain)
 
 ~TextResult ()
 
QVariant data ()
 
Format format ()
 
QString mimeType ()
 
QString plain ()
 
void save (const QString &filename)
 
void setFormat (Format f)
 
QString toHtml ()
 
QDomElement toXml (QDomDocument &doc)
 
int type ()
 
- Public Member Functions inherited from Cantor::Result
 Result ()
 
virtual ~Result ()
 
virtual void saveAdditionalData (KZip *archive)
 
virtual QString toLatex ()
 
virtual KUrl url ()
 

Detailed Description

this is basically a TextResult, just with a different Type so that the application can show it in another way than the normal results

Definition at line 33 of file helpresult.h.

Member Enumeration Documentation

anonymous enum
Enumerator
Type 

Definition at line 36 of file helpresult.h.

Constructor & Destructor Documentation

HelpResult::HelpResult ( const QString &  text)

Definition at line 25 of file helpresult.cpp.

HelpResult::~HelpResult ( )

Definition at line 30 of file helpresult.cpp.

Member Function Documentation

QDomElement HelpResult::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 40 of file helpresult.cpp.

int HelpResult::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 35 of file helpresult.cpp.


The documentation for this class was generated from the following files:
  • helpresult.h
  • helpresult.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:33 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
  • 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