kjsembed
quiloader_binding.cpp
Go to the documentation of this file.
122 return KJS::throwError(exec, KJS::GeneralError, i18n("Could not open file '%1': %2", fileName, uiFile.errorString() ) );
#define KJSO_SIMPLE_BINDING_CTOR(NAME, TYPE, BASENAME)
Definition binding_support.h:113
Definition qobject_binding.h:80
if(file->open((QIODevice::OpenModeFlag) KJSEmbed::extractInt(exec, args, 0)))
Definition fileio.cpp:64
Definition application.h:33
QString KJSEMBED_EXPORT extractQString(KJS::ExecState *exec, const KJS::List &args, int idx, const QString defaultValue=QString())
Extracts a QString from an argument list.
Definition binding_support.cpp:34
T * extractObject(KJS::ExecState *exec, KJS::JSValue *arg, T *defaultValue)
Extracts a pointer based type from an ObjectBinding object.
Definition object_binding.h:158
KJSEMBED_EXPORT KJS::JSValue * convertToValue(KJS::ExecState *exec, const QVariant &value)
Convert a QVariant to a KJS::JSValue.
Definition variant_binding.cpp:298
KJSEMBED_EXPORT KJS::JSObject * createQObject(KJS::ExecState *exec, QObject *value, KJSEmbed::ObjectBinding::Ownership owner=KJSEmbed::ObjectBinding::JSOwned)
Returns a binding object for the specified QObject.
Definition qobject_binding.cpp:735
JSObject * throwError(ExecState *e, ErrorType t, const QString &m)
Definition binding_support.h:241
Definition quiloader_binding.cpp:61
START_QOBJECT_METHOD(createAction, QUiLoader)
Definition quiloader_binding.cpp:62
#define START_QOBJECT_METHOD(METHODNAME, TYPE)
A simple pointer syle method.
Definition qobject_binding.h:45
#define END_QOBJECT_METHOD
End a variant method started by START_QOBJECT_METHOD.
Definition qobject_binding.h:60
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.