kjsembed
KJSObjectModel Class Reference
#include <kjs_object_model.h>
Inheritance diagram for KJSObjectModel:
Public Member Functions | |
KJSObjectModel (KJS::Interpreter *js, QObject *parent=0) | |
~KJSObjectModel () | |
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
QVariant | data (const QModelIndex &index, int role) const |
Qt::ItemFlags | flags (const QModelIndex &index) const |
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
QModelIndex | parent (const QModelIndex &index) const |
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
void | updateModel (KJS::JSObject *m_root) |
Detailed Description
Definition at line 35 of file kjs_object_model.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 38 of file kjs_object_model.cpp.
KJSObjectModel::~KJSObjectModel | ( | ) |
Definition at line 49 of file kjs_object_model.cpp.
Member Function Documentation
int KJSObjectModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 75 of file kjs_object_model.cpp.
QVariant KJSObjectModel::data | ( | const QModelIndex & | index, |
int | role | ||
) | const |
Definition at line 154 of file kjs_object_model.cpp.
Qt::ItemFlags KJSObjectModel::flags | ( | const QModelIndex & | index | ) | const |
Definition at line 53 of file kjs_object_model.cpp.
QVariant KJSObjectModel::headerData | ( | int | section, |
Qt::Orientation | orientation, | ||
int | role = Qt::DisplayRole |
||
) | const |
Definition at line 81 of file kjs_object_model.cpp.
QModelIndex KJSObjectModel::index | ( | int | row, |
int | column, | ||
const QModelIndex & | parent = QModelIndex() |
||
) | const |
Definition at line 93 of file kjs_object_model.cpp.
QModelIndex KJSObjectModel::parent | ( | const QModelIndex & | index | ) | const |
Definition at line 130 of file kjs_object_model.cpp.
int KJSObjectModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 61 of file kjs_object_model.cpp.
void KJSObjectModel::updateModel | ( | KJS::JSObject * | m_root | ) |
Definition at line 43 of file kjs_object_model.cpp.
The documentation for this class was generated from the following files:
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
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.