• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.10.5 API Reference
  • KDE Home
  • Contact Us
 

kjsembed

  • kjsembed
  • kjsembed
Functions | Variables
qobject_binding.cpp File Reference
#include "qobject_binding.h"
#include <QtCore/QObject>
#include <QtCore/QArgument>
#include <QtCore/QMetaEnum>
#include <QtCore/QMetaType>
#include <QtCore/QVariant>
#include <QtCore/QVector>
#include <QtCore/QUrl>
#include <QtCore/QDebug>
#include <QWidget>
#include "slotproxy.h"
#include "eventproxy.h"
#include "jseventmapper.h"
#include "pointer.h"
#include "variant_binding.h"
#include <kjs/array_instance.h>
#include <kjs/function_object.h>

Go to the source code of this file.

Functions

KJS::JSValue * callConnect (KJS::ExecState *exec, KJS::JSObject *self, const KJS::List &args)
 
QByteArray createSignal (const QByteArray &sig)
 
QByteArray createSlot (const QByteArray &slt)
 
QByteArray extractMemberName (const QMetaMethod &member)
 
PointerBase * getArg (KJS::ExecState *exec, const QList< QByteArray > &types, const KJS::List &args, int idx, QString &errorText)
 
 if (parentImp)
 
 if (childImp)
 
object setParent (parent)
 
END_QOBJECT_METHOD START_METHOD_LUT (QObjectFactory)
 
bool validProperty (const QMetaProperty &property, QObjectBinding::AccessFlags accessflags)
 
bool validSignal (const QMetaMethod &method, QObjectBinding::AccessFlags accessflags)
 
bool validSlot (const QMetaMethod &method, QObjectBinding::AccessFlags accessflags)
 

Variables

QObject * child = object->findChild<QObject*>(childName)
 
KJSEmbed::QObjectBinding * childImp = KJSEmbed::extractBindingImp<KJSEmbed::QObjectBinding>(exec, childObject)
 
KJS::JSObject * childObject = KJSEmbed::createQObject(exec, child)
 
END_QOBJECT_METHOD QByteArray className = KJSEmbed::extractQString(exec, args, 0).toLatin1()
 
 END_QOBJECT_METHOD
 
KJSEmbed::QObjectBinding * parentImp = KJSEmbed::extractBindingImp<KJSEmbed::QObjectBinding>(exec, parentObject)
 
KJS::JSObject * parentObject = KJSEmbed::createQObject(exec, parent)
 
 result = parentObject
 

Function Documentation

KJS::JSValue* callConnect ( KJS::ExecState *  exec,
KJS::JSObject *  self,
const KJS::List &  args 
)

Definition at line 113 of file qobject_binding.cpp.

QByteArray createSignal ( const QByteArray &  sig)

Definition at line 48 of file qobject_binding.cpp.

QByteArray createSlot ( const QByteArray &  slt)

Definition at line 53 of file qobject_binding.cpp.

QByteArray extractMemberName ( const QMetaMethod &  member)

Definition at line 168 of file qobject_binding.cpp.

PointerBase* getArg ( KJS::ExecState *  exec,
const QList< QByteArray > &  types,
const KJS::List &  args,
int  idx,
QString &  errorText 
)

Definition at line 401 of file qobject_binding.cpp.

if ( parentImp  )

Definition at line 822 of file qobject_binding.cpp.

if ( childImp  )

Definition at line 849 of file qobject_binding.cpp.

object setParent ( parent  )
END_QOBJECT_METHOD START_METHOD_LUT ( QObjectFactory  )

Definition at line 856 of file qobject_binding.cpp.

bool validProperty ( const QMetaProperty &  property,
QObjectBinding::AccessFlags  accessflags 
)

Definition at line 102 of file qobject_binding.cpp.

bool validSignal ( const QMetaMethod &  method,
QObjectBinding::AccessFlags  accessflags 
)

Definition at line 80 of file qobject_binding.cpp.

bool validSlot ( const QMetaMethod &  method,
QObjectBinding::AccessFlags  accessflags 
)

Definition at line 58 of file qobject_binding.cpp.

Variable Documentation

QObject* child = object->findChild<QObject*>(childName)

Definition at line 846 of file qobject_binding.cpp.

KJSEmbed::QObjectBinding* childImp = KJSEmbed::extractBindingImp<KJSEmbed::QObjectBinding>(exec, childObject)

Definition at line 848 of file qobject_binding.cpp.

KJS::JSObject* childObject = KJSEmbed::createQObject(exec, child)

Definition at line 847 of file qobject_binding.cpp.

END_QOBJECT_METHOD QByteArray className = KJSEmbed::extractQString(exec, args, 0).toLatin1()

Definition at line 832 of file qobject_binding.cpp.

END_QOBJECT_METHOD
Initial value:
{
QObject *parent = KJSEmbed::extractObject<QObject>(exec, args, 0, 0)
QObject
parent
QObject * parent
Definition: qaction_binding.cpp:48

Definition at line 837 of file qobject_binding.cpp.

KJSEmbed::QObjectBinding* parentImp = KJSEmbed::extractBindingImp<KJSEmbed::QObjectBinding>(exec, parentObject)

Definition at line 821 of file qobject_binding.cpp.

KJS::JSObject* parentObject = KJSEmbed::createQObject(exec, parent)

Definition at line 820 of file qobject_binding.cpp.

result = parentObject

Definition at line 825 of file qobject_binding.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Sat May 31 2014 00:01:31 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kjsembed

Skip menu "kjsembed"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdelibs-4.10.5 API Reference

Skip menu "kdelibs-4.10.5 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal