Logo Search packages:      
Sourcecode: cantor version File versions  Download package

Public Types | Signals | Public Member Functions | Protected Member Functions

LoadedExpression Class Reference

#include <loadedexpression.h>

Inheritance diagram for LoadedExpression:
Inheritance graph
Collaboration diagram for LoadedExpression:
Collaboration graph

List of all members.

Public Types

enum  FinishingBehavior { DoNotDelete, DeleteOnFinish }
enum  Status { Computing, Done, Error, Interrupted }


void gotResult ()
void idChanged ()
void needsAdditionalInformation (const QString &question)
void statusChanged (Cantor::Expression::Status status)

Public Member Functions

virtual void addInformation (const QString &information)
void clearResult ()
QString command ()
QString errorMessage ()
void evaluate ()
FinishingBehavior finishingBehavior ()
int id ()
void interrupt ()
 LoadedExpression (Cantor::Session *session)
void loadFromXml (const QDomElement &xml, const KZip &file)
Resultresult ()
void saveAdditionalData (KZip *archive)
Sessionsession ()
void setCommand (const QString &cmd)
void setErrorMessage (const QString &cmd)
void setFinishingBehavior (FinishingBehavior behavior)
void setId (int id)
Status status ()
QDomElement toXml (QDomDocument &doc)

Protected Member Functions

virtual QString additionalLatexHeaders ()
void setResult (Result *result)
void setStatus (Status status)

Detailed Description

This class is used to hold expressions loaded from a file. they can't be evauluated and only show the result, they loaded from xml. this is used to avoid most exceptions when dealing with loaded Worksheets instead of newly created ones.

Definition at line 36 of file loadedexpression.h.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index