# KJSEmbed Namespace Reference

Namespace containing the KJSEmbed library. More...

## Compounds

class | JSBuiltIn
| Container class for the built-in objects of KJSEmbed. More...
class | JSConsoleWidget
| A QWidget that provides a console for executing Javascript commands. More...
class | JSFactory
| Factory class for KJSEmbed. More...
class | JSObjectProxy
| A JS object that provides a binding to a QObject. More...
class | JSOpaqueProxy
| Provides a binding to an opaque pointer value. More...
class | KJSEmbedPart
| A KPart for embedding KJS in an application. More...
class | JSProxy
| Base class for all proxy objects. More...
struct | JSProxy::MethodTable
| Structure to store information about a method. More...
class | JSSecurityPolicy
| Implements the default security policy. More...
class | JSValueProxy
| Provides a binding to an opaque value. More...

## Functions

KJS::Value | convertToValue (KJS::ExecState *exec, const QVariant &val)
QVariant | convertToVariant (KJS::ExecState *exec, const KJS::Value &v)
QString | dumpObject (KJS::ExecState *exec, KJS::Object &obj)
QString | dumpQObject (KJS::ExecState *exec, KJS::Object &obj)
QStringList | dumpCompletion (KJS::ExecState *exec, KJS::Object &obj)
QPen | extractQPen (KJS::ExecState *exec, const KJS::List &args, int idx)
QFont | extractQFont (KJS::ExecState *exec, const KJS::List &args, int idx)
QBrush | extractQBrush (KJS::ExecState *exec, const KJS::List &args, int idx)
QPalette | extractQPalette (KJS::ExecState *exec, const KJS::List &args, int idx)
QPixmap | extractQPixmap (KJS::ExecState *exec, const KJS::List &args, int idx)
QImage | extractQImage (KJS::ExecState *exec, const KJS::List &args, int idx)
QString | extractQString (KJS::ExecState *exec, const KJS::List &args, int idx)
int | extractInt (KJS::ExecState *exec, const KJS::List &args, int idx)
QColor | extractQColor (KJS::ExecState *exec, const KJS::List &args, int idx)
QSize | extractQSize (KJS::ExecState *exec, const KJS::List &args, int idx)
bool | extractBool (KJS::ExecState *exec, const KJS::List &args, int idx)
double | extractDouble (KJS::ExecState *exec, const KJS::List &args, int idx)
uint | extractUInt (KJS::ExecState *exec, const KJS::List &args, int idx)
QStringList | extractQStringList (KJS::ExecState *exec, const KJS::List &args, int idx)
QDateTime | extractQDateTime (KJS::ExecState *exec, const KJS::List &args, int idx)
QDate | extractQDate (KJS::ExecState *exec, const KJS::List &args, int idx)
QTime | extractQTime (KJS::ExecState *exec, const KJS::List &args, int idx)
QRect | extractQRect (KJS::ExecState *exec, const KJS::List &args, int idx)
QStrList | extractQStrList (KJS::ExecState *exec, const KJS::List &args, int idx)
QStrList | convertArrayToStrList (KJS::ExecState *exec, const KJS::Value &value)
QStringList | convertArrayToStringList (KJS::ExecState *exec, const KJS::Value &value)
QDateTime | convertDateToDateTime (KJS::ExecState *exec, const KJS::Value &value)

## Detailed Description

Namespace containing the KJSEmbed library.

## Function Documentation

QStringList convertArrayToStringList | ( | KJS::ExecState * | exec,
|  | const KJS::Value & | value
| ) |

QStrList convertArrayToStrList | ( | KJS::ExecState * | exec,
|  | const KJS::Value & | value
| ) |

QDateTime convertDateToDateTime | ( | KJS::ExecState * | exec,
|  | const KJS::Value & | value
| ) |

KJS::Value convertToValue | ( | KJS::ExecState * | exec,
|  | const QVariant & | val
| ) |

| Converts a QVariant to the closest possible KJS::Value.

QVariant convertToVariant | ( | KJS::ExecState * | exec,
|  | const KJS::Value & | v
| ) |

| Converts a KJS::Value to the closest possible QVariant.

QStringList dumpCompletion | ( | KJS::ExecState * | exec,
|  | KJS::Object & | obj
| ) |

| Returns a QStringList that contains all possible properties, methods and slots for use with a completion object.

QString dumpObject | ( | KJS::ExecState * | exec,
|  | KJS::Object & | obj
| ) |

| Returns HTML that documents the specified object.

QString dumpQObject | ( | KJS::ExecState * | exec,
|  | KJS::Object & | obj
| ) |

| Returns HTML that documents the QObject facilities of the specified object.

bool extractBool | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

double extractDouble | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

int extractInt | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QBrush extractQBrush | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QColor extractQColor | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QDate extractQDate | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QDateTime extractQDateTime | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QFont extractQFont | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QImage extractQImage | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QPalette extractQPalette | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QPen extractQPen | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QPixmap extractQPixmap | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QRect extractQRect | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QSize extractQSize | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QString extractQString | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QStringList extractQStringList | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QStrList extractQStrList | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

QTime extractQTime | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |

uint extractUInt | ( | KJS::ExecState * | exec,
|  | const KJS::List & | args,
|  | int | idx
| ) |