• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Kross

Kross::EcmaPlugin

Kross::EcmaPlugin Class Reference

Kross QtScript Extension that provides access to the Kross Scripting Framework within the QtScript scripting language. More...

#include <plugin.h>

Inheritance diagram for Kross::EcmaPlugin:

Inheritance graph
[legend]

List of all members.


Public Member Functions

 EcmaPlugin (QObject *parent=0)
virtual void initialize (const QString &key, QScriptEngine *engine)
virtual QStringList keys () const
virtual ~EcmaPlugin ()

Detailed Description

Kross QtScript Extension that provides access to the Kross Scripting Framework within the QtScript scripting language.

This EcmaPlugin does implement the extension named "kross".

Definition at line 45 of file qts/plugin.h.


Constructor & Destructor Documentation

EcmaPlugin::EcmaPlugin ( QObject *  parent = 0  ) 

Constructor.

Parameters:
parent Optional QObject parent of this QObject.

Definition at line 42 of file qts/plugin.cpp.

EcmaPlugin::~EcmaPlugin (  )  [virtual]

Destructor.

Definition at line 49 of file qts/plugin.cpp.


Member Function Documentation

void EcmaPlugin::initialize ( const QString &  key,
QScriptEngine *  engine 
) [virtual]

Initializes this extension.

Parameters:
key The key to differ between etensions. We provide the extension which key is "kross".
engine The QScriptEngine instance.

Reimplemented from QScriptExtensionPlugin.

Definition at line 55 of file qts/plugin.cpp.

QStringList EcmaPlugin::keys (  )  const [virtual]

Returns the list of keys this plugin supports.

Returns:
a QStringList with the single item "kross" to let QtScript know, that we provide an extension with that key.

Definition at line 71 of file qts/plugin.cpp.


The documentation for this class was generated from the following files:
  • qts/plugin.h
  • qts/plugin.cpp

Kross

Skip menu "Kross"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal