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

okteta

  • Kasten2
  • StructTreeModel
Public Slots | Public Member Functions | List of all members
Kasten2::StructTreeModel Class Reference

#include <structtreemodel.h>

Inheritance diagram for Kasten2::StructTreeModel:
Inheritance graph
[legend]

Public Slots

void onChildrenAboutToBeInserted (DataInformation *sender, uint startIndex, uint endIndex)
 
void onChildrenAboutToBeRemoved (DataInformation *sender, uint startIndex, uint endIndex)
 
void onChildrenInserted (const DataInformation *sender, uint startIndex, uint endIndex)
 
void onChildrenRemoved (const DataInformation *sender, uint startIndex, uint endIndex)
 
void onToolDataChange (int row, void *data)
 
void onToolDataClear ()
 

Public Member Functions

 StructTreeModel (StructTool *tool, QObject *parent=NULL)
 
virtual ~StructTreeModel ()
 
int columnCount (const QModelIndex &parent=QModelIndex()) const
 
QVariant data (const QModelIndex &index, int role) const
 
Qt::ItemFlags flags (const QModelIndex &index) const
 
virtual bool hasChildren (const QModelIndex &parent=QModelIndex()) 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
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
 

Detailed Description

Definition at line 36 of file structtreemodel.h.

Constructor & Destructor Documentation

Kasten2::StructTreeModel::StructTreeModel ( StructTool *  tool,
QObject *  parent = NULL 
)
explicit

Definition at line 35 of file structtreemodel.cpp.

Kasten2::StructTreeModel::~StructTreeModel ( )
virtual

Definition at line 51 of file structtreemodel.cpp.

Member Function Documentation

int Kasten2::StructTreeModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 105 of file structtreemodel.cpp.

QVariant Kasten2::StructTreeModel::data ( const QModelIndex &  index,
int  role 
) const

Definition at line 111 of file structtreemodel.cpp.

Qt::ItemFlags Kasten2::StructTreeModel::flags ( const QModelIndex &  index) const

Definition at line 160 of file structtreemodel.cpp.

bool Kasten2::StructTreeModel::hasChildren ( const QModelIndex &  parent = QModelIndex()) const
virtual

Definition at line 235 of file structtreemodel.cpp.

QVariant Kasten2::StructTreeModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const

Definition at line 168 of file structtreemodel.cpp.

QModelIndex Kasten2::StructTreeModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

Definition at line 178 of file structtreemodel.cpp.

void Kasten2::StructTreeModel::onChildrenAboutToBeInserted ( DataInformation *  sender,
uint  startIndex,
uint  endIndex 
)
slot

Definition at line 92 of file structtreemodel.cpp.

void Kasten2::StructTreeModel::onChildrenAboutToBeRemoved ( DataInformation *  sender,
uint  startIndex,
uint  endIndex 
)
slot

Definition at line 79 of file structtreemodel.cpp.

void Kasten2::StructTreeModel::onChildrenInserted ( const DataInformation *  sender,
uint  startIndex,
uint  endIndex 
)
slot

Definition at line 67 of file structtreemodel.cpp.

void Kasten2::StructTreeModel::onChildrenRemoved ( const DataInformation *  sender,
uint  startIndex,
uint  endIndex 
)
slot

Definition at line 55 of file structtreemodel.cpp.

void Kasten2::StructTreeModel::onToolDataChange ( int  row,
void *  data 
)
slot

Definition at line 255 of file structtreemodel.cpp.

void Kasten2::StructTreeModel::onToolDataClear ( )
slot

Definition at line 260 of file structtreemodel.cpp.

QModelIndex Kasten2::StructTreeModel::parent ( const QModelIndex &  index) const

Definition at line 202 of file structtreemodel.cpp.

int Kasten2::StructTreeModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 219 of file structtreemodel.cpp.

bool Kasten2::StructTreeModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)

Definition at line 139 of file structtreemodel.cpp.


The documentation for this class was generated from the following files:
  • structtreemodel.h
  • structtreemodel.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okteta

Skip menu "okteta"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

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