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

Kross

  • kross
  • qts
qts/plugin.h
Go to the documentation of this file.
1/***************************************************************************
2 * plugin.h
3 * This file is part of the KDE project
4 * copyright (C)2007 by Sebastian Sauer (mail@dipe.org)
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public License
15 * along with this program; see the file COPYING. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18 ***************************************************************************/
19
20#ifndef KROSS_ECMAPLUGIN_H
21#define KROSS_ECMAPLUGIN_H
22
23#include <QScriptEngine>
24#include <QScriptExtensionPlugin>
25//#include <QtCore/QVariant>
26//#include <QtCore/QObject>
27//#include <QtCore/QDir>
28//#include <QtXml/QDomAttr>
29//#include <QtGui/QAction>
30//#include <QtCore/QUrl>
31
32#include <kdemacros.h>
33//#include "errorinterface.h"
34//#include "childreninterface.h"
35
36#define KROSSQTSPLUGIN_EXPORT KDE_EXPORT
37
38namespace Kross {
39
45 class KROSSQTSPLUGIN_EXPORT EcmaPlugin : public QScriptExtensionPlugin
46 {
47 public:
48
54 EcmaPlugin(QObject* parent = 0);
55
59 virtual ~EcmaPlugin();
60
68 virtual void initialize(const QString& key, QScriptEngine* engine);
69
76 virtual QStringList keys() const;
77
78 private:
80 class Private;
82 Private* const d;
83 };
84
85}
86
87#endif
88
Kross::EcmaPlugin
Kross QtScript Extension that provides access to the Kross Scripting Framework within the QtScript sc...
Definition: qts/plugin.h:46
QObject
QScriptExtensionPlugin
Kross
Definition: action.cpp:36
KROSSQTSPLUGIN_EXPORT
#define KROSSQTSPLUGIN_EXPORT
Definition: qts/plugin.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 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-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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