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

Kross

  • Kross
  • EcmaPlugin
Public Member Functions | List of all members
Kross::EcmaPlugin Class Reference

#include <plugin.h>

Inheritance diagram for Kross::EcmaPlugin:
Inheritance graph
[legend]

Public Member Functions

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

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
parentOptional 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
keyThe key to differ between etensions. We provide the extension which key is "kross".
engineThe QScriptEngine instance.

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Kross

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal