cantor/src/lib
#include <helpresult.h>

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
|
virtual |
returns a DomElement, containing the information of the result
- Parameters
-
doc DomDocument used for storing the information
- Returns
- DomElement, containing the information of the result
Implements Cantor::Result.
Definition at line 40 of file helpresult.cpp.
|
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:
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.
KDE API Reference
Public Types inherited from