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

Public Member Functions | Static Public Member Functions | Private Attributes

ScriptManager Class Reference

#include <scriptmanager.h>

Collaboration diagram for ScriptManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addObject (QObject *obj, const QString &name)
void addScriptAction (const QString &name, KAction *action)
void disablePlugin (QString desktopFile)
QStringList enabledScripts ()
QString getScriptFileName (QString desktopFile)
void loadScripts ()
void reloadScripts ()
 ScriptManager (Editor::EditorWindow *editor)
Translatortranslator ()

Static Public Member Functions

static QMap< QString, QString > categories ()
static QStringList getDesktopFiles ()
static QString getScriptEntry (QString desktopFile)

Private Attributes

Editor::EditorWindowm_editor
QList< QAction * > m_scriptActions
Scripting::Parleym_scriptingParley
 script objects (objects that will be used from inside the scripts)
QMap< QString, QObject * > m_scriptObjects
QList< Script * > m_scripts

Detailed Description

This class finds the scripts installed in the application directory and manages loading and unloading of the scripts. For each script an instance of Script class is created.

Author:
Avgoustinos Kadis <avgoustinos.kadis@kdemail.net>

Definition at line 30 of file scriptmanager.h.


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

Generated by  Doxygen 1.6.0   Back to index