okular
kjs_field.cpp
Go to the documentation of this file.
126 kDebug(OkularDebug) << "Getting the value of a readonly field" << field->name() << ":" << value.toString( context );
166 kDebug(OkularDebug) << "Trying to change the readonly field" << field->name() << "to" << value.toString( context );
virtual ChoiceType choiceType() const =0
The particular type of the choice field.
virtual QString name() const =0
The internal name of the field, to be used when referring to the field in eg scripts.
static QString fieldGetTypeHelper(const FormField *field)
Definition: kjs_field.cpp:69
A field of variable text. See FormFieldText::TextType.
Definition: form.h:50
QString & insert(int position, QChar ch)
static void fieldSetReadOnly(KJSContext *context, void *object, KJSObject value)
Definition: kjs_field.cpp:55
static KJSObject fieldGetValue(KJSContext *context, void *object)
Definition: kjs_field.cpp:116
static KJSObject fieldGetReadOnly(KJSContext *, void *object)
Definition: kjs_field.cpp:48
static KJSObject wrapField(KJSContext *ctx, FormField *field, Page *page)
Definition: kjs_field.cpp:216
virtual void setText(const QString &text)
Sets the new text in the text field.
Definition: form.cpp:148
static void fieldSetValue(KJSContext *context, void *object, KJSObject value)
Definition: kjs_field.cpp:159
virtual ButtonType buttonType() const =0
The particular type of the button field.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.