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

Public Types | Signals | Public Member Functions | Protected Member Functions | Private Attributes

Cantor::Session Class Reference

#include <session.h>

Inheritance diagram for Cantor::Session:
Inheritance graph
[legend]
Collaboration diagram for Cantor::Session:
Collaboration graph
[legend]

List of all members.

Public Types

enum  Status { Running, Done }

Signals

void error (const QString &msg)
void ready ()
void statusChanged (Cantor::Session::Status newStatus)

Public Member Functions

Backendbackend ()
virtual CompletionObjectcompletionFor (const QString &cmd)
virtual ExpressionevaluateExpression (const QString &command, Expression::FinishingBehavior finishingBehavior)=0
ExpressionevaluateExpression (const QString &command)
virtual void interrupt ()=0
bool isTypesettingEnabled ()
virtual void login ()=0
virtual void logout ()=0
int nextExpressionId ()
 Session (Backend *backend)
virtual void setTypesettingEnabled (bool enable)
Cantor::Session::Status status ()
virtual SyntaxHelpObjectsyntaxHelpFor (const QString &cmd)
virtual QSyntaxHighlighter * syntaxHighlighter (QTextEdit *parent)
virtual QAbstractItemModel * variableModel ()
 ~Session ()

Protected Member Functions

void changeStatus (Cantor::Session::Status newStatus)

Private Attributes

SessionPrivated

Detailed Description

The Session object is the main class used to interact with a Backend. It is used to evaluate Expressions, get completions, syntax highlighting, etc.

Author:
Alexander Rieder

Definition at line 50 of file session.h.


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

Generated by  Doxygen 1.6.0   Back to index