• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • interfaces
 

interfaces

  • interfaces
  • tdescript
scriptinterface.h
1/* This file is part of the KDE project
2 Copyright (C) 2001 Ian Reinhart Geiser (geiseri@kde.org)
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
18*/
19
28#ifndef __scriptinterface_h__
29#define __scriptinterface_h__
30#include <tqvariant.h>
31#include <tqobject.h>
32#include <tdemacros.h>
33
34//#include <scripclientinterface.h>
35class TQString;
36class TQObject;
37class KScriptClientInterface;
38
39
40//namespace KScriptInterface
41//{
47 class TDE_EXPORT KScriptInterface : public TQObject
48 {
49 TQ_OBJECT
50 public:
55 virtual TQString script() const = 0;
59 virtual void setScript( const TQString &scriptFile ) = 0;
65 virtual void setScript( const TQString &scriptLibFile, const TQString &method ) = 0;
71 virtual void run(TQObject *context = 0, const TQVariant &arg = 0) = 0;
75 virtual void kill() =0;
76 public:
85 KScriptClientInterface *ScriptClientInterface;
86 };
87//};
88#endif
KScriptClientInterface
This class is used for allowing feedback to the main system.
Definition: scriptclientinterface.h:74
KScriptInterface
This class is the base for all script engines.
Definition: scriptinterface.h:48
KScriptInterface::setScript
virtual void setScript(const TQString &scriptLibFile, const TQString &method)=0
Sets the path to the script library that we are going to embed.
KScriptInterface::run
virtual void run(TQObject *context=0, const TQVariant &arg=0)=0
Run the actual script code This can both take a context object that will be shared between the main a...
KScriptInterface::script
virtual TQString script() const =0
Return the current script code data.
KScriptInterface::kill
virtual void kill()=0
Abort the scripts run.
KScriptInterface::ScriptClientInterface
KScriptClientInterface * ScriptClientInterface
This is the method for sending feedback to applications.
Definition: scriptinterface.h:85
KScriptInterface::setScript
virtual void setScript(const TQString &scriptFile)=0
Sets the path to the script library that we are going to embed.

interfaces

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

interfaces

Skip menu "interfaces"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for interfaces by doxygen 1.9.4
This website is maintained by Timothy Pearson.