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

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

Cantor::Backend Class Reference

#include <backend.h>

Inheritance diagram for Cantor::Backend:
Inheritance graph
Collaboration diagram for Cantor::Backend:
Collaboration graph

List of all members.

Public Types

enum  Capability {
  Nothing = 0x0, LaTexOutput = 0x1, InteractiveMode = 0x2, SyntaxHighlighting = 0x4,
  Completion = 0x8, SyntaxHelp = 0x10, VariableManagement = 0x20

Public Member Functions

virtual Capabilities capabilities () const =0
QString comment () const
virtual KConfigSkeleton * config () const
virtual SessioncreateSession ()=0
virtual QString description () const
Extensionextension (const QString &name) const
QStringList extensions () const
virtual KUrl helpUrl () const
QString icon () const
virtual QString id () const =0
bool isEnabled () const
QString name () const
virtual bool requirementsFullfilled () const
void setEnabled (bool enabled)
virtual QWidget * settingsWidget (QWidget *parent) const
QString url () const

Static Public Member Functions

static QList< Backend * > availableBackends ()
static BackendcreateBackend (const QString &name)
static QStringList listAvailableBackends ()

Protected Member Functions

 Backend (QObject *parent=0, const QList< QVariant > args=QList< QVariant >())
virtual ~Backend ()

Private Attributes


Detailed Description

The Backend class provides access to information about the backend. It provides access to what features are supported by the backend, and a factory method to create a new Session It needs to be subclassed by all Backends.

Alexander Rieder

Definition at line 52 of file backend.h.

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

Generated by  Doxygen 1.6.0   Back to index