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

kjsembed

  • sources
  • kde-4.12
  • kdelibs
  • kjsembed
  • kjsembed
Namespaces | Functions | Variables
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>
Include dependency graph for qaction_binding.cpp:

Go to the source code of this file.

Namespaces

 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 ( action  )

Definition at line 52 of file qaction_binding.cpp.

else if ( args.  size() = = 2)
Initial value:
{"translate", 1, KJS::DontDelete|KJS::ReadOnly, &calltranslate}
END_METHOD_LUT
KJS::JSObject *object
END_METHOD_LUT
#define END_METHOD_LUT
Definition: binding_support.h:135

Definition at line 73 of file qaction_binding.cpp.

Variable Documentation

QAction* action = uiLoader()->createAction(parent, actionName)

Definition at line 51 of file qaction_binding.cpp.

QString actionName = KJSEmbed::extractQString(exec, args, 1)

Definition at line 49 of file qaction_binding.cpp.

else
Initial value:
{
return KJS::throwError(exec, KJS::GeneralError, i18n("Action takes 2 args."))
KJS::throwError
JSObject * throwError(ExecState *e, ErrorType t, const QString &m)
Definition: binding_support.h:241

Definition at line 58 of file qaction_binding.cpp.

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-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:53 by doxygen 1.8.7 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 API Reference

Skip menu "kdelibs 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
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



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