kjsembed
font.cpp
Go to the documentation of this file.
value setFixedPitch(arg0)
static void publish(KJS::ExecState *exec, KJS::JSObject *object, const Method *methods)
Publishes an array of Methods to an object.
Definition: static_binding.cpp:60
KJS::JSValue * createVariant(KJS::ExecState *exec, const KJS::UString &className, const T &value)
Can create any known KJSEmbed::VariantBinding object and set the value.
Definition: variant_binding.h:185
value setWeight(arg0)
value setFamily(arg0)
value insertSubstitution(arg0, arg1)
bool KJSEMBED_EXPORT extractBool(KJS::ExecState *exec, const KJS::List &args, int idx, bool defaultValue=false)
Extracts a bool from an argument list.
Definition: binding_support.cpp:149
value setItalic(arg0)
int KJSEMBED_EXPORT extractInt(KJS::ExecState *exec, const KJS::List &args, int idx, int defaultValue=0)
Extracts an integer from an argument list.
Definition: binding_support.cpp:72
value setStretch(arg0)
value setStyleStrategy(arg0)
KJS::JSValue * createQStringList(KJS::ExecState *exec, const QStringList &value)
Create a new KJS::JSValue with the value of the QStringList.
Definition: binding_support.cpp:243
value setStyleHint(arg0, arg1)
value setKerning(arg0)
FontBinding(KJS::ExecState *exec, const QFont &value)
Definition: font.cpp:30
value setRawMode(arg0)
value insertSubstitutions(arg0, arg1)
value setStyle(arg0)
QStringList KJSEMBED_EXPORT extractQStringList(KJS::ExecState *exec, const KJS::List &args, int idx, const QStringList &defaultValue=QStringList())
Extracts a QStringList from an argument list.
Definition: binding_support.cpp:231
value setRawName(arg0)
Definition: font.h:35
value setPointSize(arg0)
value setOverline(arg0)
value removeSubstitution(arg0)
#define END_VARIANT_METHOD
End a variant method started by START_VARIANT_METHOD.
Definition: variant_binding.h:56
Definition: font.cpp:37
value setStrikeOut(arg0)
value setBold(arg0)
#define START_VARIANT_METHOD(METHODNAME, TYPE)
A simple variant syle method.
Definition: variant_binding.h:42
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
Definition: application.h:32
QVariant KJSEMBED_EXPORT extractVariant(KJS::ExecState *exec, KJS::JSValue *value)
Extracts a QVariant from a KJS::JSValue if the conversion fails a QVariant::Null is returned.
Definition: variant_binding.cpp:407
KJS::JSValue * style(KJS::ExecState *exec, KJS::JSObject *self, const KJS::List &args)
Definition: QBrush_bind.cpp:30
value setPixelSize(arg0)
value setUnderline(arg0)
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Mon Aug 12 2019 21:50:28 by doxygen 1.8.15 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2019 The KDE developers.
Generated on Mon Aug 12 2019 21:50:28 by doxygen 1.8.15 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.