ScriptFunction

Search for usage in LXR

ScriptFunction Class Reference

#include <scriptfunction.h>

Public Member Functions

 ScriptFunction (const QString &name, const QString &desc, bool clockfcn=false, const QString &at1=QString(), const QString &an1=QString(), const QString &at2=QString(), const QString &an2=QString(), const QString &at3=QString(), const QString &an3=QString(), const QString &at4=QString(), const QString &an4=QString(), const QString &at5=QString(), const QString &an5=QString(), const QString &at6=QString(), const QString &an6=QString())
 
 ScriptFunction (ScriptFunction *sf)
 
QString argDBusType (unsigned int n) const
 
QString argName (unsigned int n) const
 
QString argType (unsigned int n) const
 
QString argVal (unsigned int n) const
 
bool checkArgs ()
 
QString DBusType (const QString &type)
 
QString description () const
 
QString INDIProperty () const
 
bool isClockFunction () const
 
QString name () const
 
int numArgs () const
 
QString prototype () const
 
QString scriptLine () const
 
void setArg (unsigned int n, QString newVal)
 
void setClockFunction (bool b=true)
 
void setINDIProperty (QString prop)
 
void setValid (bool b)
 
bool valid () const
 

Detailed Description

Jason Harris.

Definition at line 15 of file scriptfunction.h.

Constructor & Destructor Documentation

◆ ScriptFunction() [1/2]

ScriptFunction::ScriptFunction ( const QString & name,
const QString & desc,
bool clockfcn = false,
const QString & at1 = QString(),
const QString & an1 = QString(),
const QString & at2 = QString(),
const QString & an2 = QString(),
const QString & at3 = QString(),
const QString & an3 = QString(),
const QString & at4 = QString(),
const QString & an4 = QString(),
const QString & at5 = QString(),
const QString & an5 = QString(),
const QString & at6 = QString(),
const QString & an6 = QString() )

Definition at line 12 of file scriptfunction.cpp.

◆ ScriptFunction() [2/2]

ScriptFunction::ScriptFunction ( ScriptFunction * sf)
explicit

Definition at line 110 of file scriptfunction.cpp.

Member Function Documentation

◆ argDBusType()

QString ScriptFunction::argDBusType ( unsigned int n) const
inline

Definition at line 32 of file scriptfunction.h.

◆ argName()

QString ScriptFunction::argName ( unsigned int n) const
inline

Definition at line 30 of file scriptfunction.h.

◆ argType()

QString ScriptFunction::argType ( unsigned int n) const
inline

Definition at line 29 of file scriptfunction.h.

◆ argVal()

QString ScriptFunction::argVal ( unsigned int n) const
inline

Definition at line 31 of file scriptfunction.h.

◆ DBusType()

QString ScriptFunction::DBusType ( const QString & type)

Definition at line 130 of file scriptfunction.cpp.

◆ description()

QString ScriptFunction::description ( ) const
inline

Definition at line 28 of file scriptfunction.h.

◆ INDIProperty()

QString ScriptFunction::INDIProperty ( ) const
inline

Definition at line 47 of file scriptfunction.h.

◆ isClockFunction()

bool ScriptFunction::isClockFunction ( ) const
inline

Definition at line 38 of file scriptfunction.h.

◆ name()

QString ScriptFunction::name ( ) const
inline

Definition at line 26 of file scriptfunction.h.

◆ numArgs()

int ScriptFunction::numArgs ( ) const
inline

Definition at line 42 of file scriptfunction.h.

◆ prototype()

QString ScriptFunction::prototype ( ) const

Definition at line 146 of file scriptfunction.cpp.

◆ scriptLine()

QString ScriptFunction::scriptLine ( ) const

Definition at line 195 of file scriptfunction.cpp.

◆ setArg()

void ScriptFunction::setArg ( unsigned int n,
QString newVal )
inline

Definition at line 40 of file scriptfunction.h.

◆ setClockFunction()

void ScriptFunction::setClockFunction ( bool b = true)
inline

Definition at line 37 of file scriptfunction.h.

◆ setINDIProperty()

void ScriptFunction::setINDIProperty ( QString prop)
inline

Definition at line 46 of file scriptfunction.h.

◆ setValid()

void ScriptFunction::setValid ( bool b)
inline

Definition at line 34 of file scriptfunction.h.

◆ valid()

bool ScriptFunction::valid ( ) const
inline

Definition at line 35 of file scriptfunction.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:09:54 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.