kjsembed
qaction_binding.cpp File Reference
#include "qaction_binding.h"
#include "static_binding.h"
#include "kjseglobal.h"
#include <kjs/object.h>
#include <QtCore/QDebug>
#include <QtGui/QAction>
#include <QtUiTools/QUiLoader>
Go to the source code of this file.
Namespaces | |
namespace | KJSEmbed |
Functions | |
if (action) | |
KJSO_END_CTOR | if (args.size()==2) |
QUiLoader * | KJSEmbed::uiLoader () |
Variables | |
QAction * | action = uiLoader()->createAction(parent, actionName) |
QString | actionName = KJSEmbed::extractQString(exec, args, 1) |
else | |
QObject * | parent = KJSEmbed::extractObject<QObject>(exec, args, 0, 0) |
Function Documentation
◆ if() [1/2]
if | ( | action | ) |
Definition at line 52 of file qaction_binding.cpp.
◆ if() [2/2]
else if | ( | args. | size() = = 2 | ) |
Initial value:
{"translate", 1, KJS::DontDelete|KJS::ReadOnly, &calltranslate}
KJS::JSObject *object
Definition at line 73 of file qaction_binding.cpp.
Variable Documentation
◆ action
QAction* action = uiLoader()->createAction(parent, actionName) |
Definition at line 51 of file qaction_binding.cpp.
◆ actionName
QString actionName = KJSEmbed::extractQString(exec, args, 1) |
Definition at line 49 of file qaction_binding.cpp.
◆ else
else |
Initial value:
{
JSObject * throwError(ExecState *e, ErrorType t, const QString &m)
Definition: binding_support.h:241
Definition at line 57 of file qaction_binding.cpp.
◆ parent
QObject* parent = KJSEmbed::extractObject<QObject>(exec, args, 0, 0) |
Definition at line 48 of file qaction_binding.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.