示例#1
0
文件: kjs_field.cpp 项目: KDE/okular
// Field.readonly (setter)
static void fieldSetReadOnly( KJSContext *context, void *object, KJSObject value )
{
#if 0
    FormField *field = reinterpret_cast< FormField * >( object );
    bool b = value.toBoolean( context );
    field->setReadOnly( b );
#else
    Q_UNUSED( context );
    Q_UNUSED( object );
    Q_UNUSED( value );
    qCDebug(OkularCoreDebug) << "Not implemented: setting readonly property";
#endif
}