Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
interfaces
interfaces
interfaces
kscript
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 <kdemacros.h>
33
34
//#include <scripclientinterface.h>
35
class
TQString;
36
class
TQObject;
37
class
KScriptClientInterface
;
38
39
40
//namespace KScriptInterface
41
//{
47
class
KDE_EXPORT
KScriptInterface
:
public
TQObject
48
{
49
Q_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
interfaces
Skip menu "interfaces"
Main Page
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
interfaces
Skip menu "interfaces"
arts
dcop
dnssd
interfaces
interface
library
kspeech
ktexteditor
kabc
kate
kcmshell
kdecore
kded
kdefx
kdeprint
kdesu
kdeui
kdoctools
khtml
kimgio
kinit
kio
bookmarks
httpfilter
kfile
kio
kioexec
kpasswdserver
kssl
kioslave
http
kjs
kmdi
kmdi
knewstuff
kparts
krandr
kresources
kspell2
kunittest
kutils
kwallet
libkmid
libkscreensaver