kjsembed
KJSObjectModel Class Reference
#include <kjs_object_model.h>
Inheritance diagram for KJSObjectModel:
Public Member Functions | |
| 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 |
| KJSObjectModel (KJS::Interpreter *js, QObject *parent=0) | |
| QModelIndex | parent (const QModelIndex &index) const |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| void | updateModel (KJS::JSObject *m_root) |
| ~KJSObjectModel () | |
Detailed Description
Definition at line 35 of file kjs_object_model.h.
Constructor & Destructor Documentation
| KJSObjectModel::KJSObjectModel | ( | KJS::Interpreter * | js, | |
| QObject * | parent = 0 | |||
| ) | [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:
KDE 4.3 API Reference