kjsembed
KJS Namespace Reference
Detailed Description
Implement QString-KJSUString conversion methods.These methods are declared by KJS, but libkjs doesn't actually contain their implementations. because we link against khtml , those functions are already implemented there.
Functions | |
| END_STATIC_OBJECT_METHOD if(QFile::copy(KJSEmbed::extractQString(exec, args, 0), KJSEmbed::extractQString(exec, args, 0))) return KJS return | jsBoolean (false) |
| END_STATIC_OBJECT_METHOD return | jsBoolean (QFile::copy(KJSEmbed::extractQString(exec, args, 0), KJSEmbed::extractQString(exec, args, 0))) |
| END_STATIC_OBJECT_METHOD return | jsBoolean (QFile::remove(KJSEmbed::extractQString(exec, args, 0))) |
| return | jsNull () |
| KJS::JSCell * | jsString (const QString &s) |
| if(actionGroup) return KJSEmbed else return | throwError (exec, KJS::GeneralError, i18n("Failed to create ActionGroup.")) |
| return | throwError (exec, KJS::GeneralError, i18n("Must supply a filename.")) |
| throwError (exec, KJS::GeneralError, i18n("Could not create temporary file.")) | |
| throwError (exec, KJS::TypeError, i18n("Could not open file '%1'", KJSEmbed::extractQString(exec, args, 0))) | |
| JSObject * | throwError (ExecState *e, ErrorType t, const QString &m) |
Function Documentation
| END_STATIC_OBJECT_METHOD if ( QFile::copy(KJSEmbed::extractQString( exec, args, 0),KJSEmbed::extractQString( exec, args, 0) ) ) return KJS return KJS::jsBoolean | ( | false | ) |
| END_STATIC_OBJECT_METHOD return KJS::jsBoolean | ( | QFile:: | copyKJSEmbed::extractQString(exec, args, 0), KJSEmbed::extractQString(exec, args, 0) | ) |
| END_STATIC_OBJECT_METHOD return KJS::jsBoolean | ( | QFile:: | removeKJSEmbed::extractQString(exec, args, 0) | ) |
| return KJS::jsNull | ( | ) |
| KJS::JSCell* KJS::jsString | ( | const QString & | s | ) | [inline] |
Definition at line 76 of file kjseglobal.h.
| if ( actionGroup ) return KJSEmbed else return KJS::throwError | ( | exec | , | |
| KJS::GeneralError | , | |||
| i18n("Failed to create ActionGroup.") | ||||
| ) |
| return KJS::throwError | ( | exec | , | |
| KJS::GeneralError | , | |||
| i18n("Must supply a filename.") | ||||
| ) |
| KJS::throwError | ( | exec | , | |
| KJS::GeneralError | , | |||
| i18n("Could not create temporary file.") | ||||
| ) |
| KJS::throwError | ( | exec | , | |
| KJS::TypeError | , | |||
| i18n("Could not open file '%1'", KJSEmbed::extractQString(exec, args, 0)) | ||||
| ) |
| JSObject* KJS::throwError | ( | ExecState * | e, | |
| ErrorType | t, | |||
| const QString & | m | |||
| ) | [inline] |
Definition at line 241 of file binding_support.h.
KDE 4.1 API Reference