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

okteta

  • Kasten2
  • StructTool
Public Slots | Signals | Public Member Functions | Protected Slots | Protected Attributes | List of all members
Kasten2::StructTool Class Reference

#include <structtool.h>

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

Public Slots

void addChildItem (TopLevelDataInformation *child)
 
void mark (const QModelIndex &idx)
 
void setByteOrder (int order)
 
void setSelectedStructuresInView ()
 
void unmark ()
 
void updateData (const Okteta::ArrayChangeMetricsList &list)
 
void validateAllStructures ()
 

Signals

KDE_DEPRECATED void byteArrayModelChanged (bool modelIsValid)
 
void byteArrayModelChanged (Okteta::AbstractByteArrayModel *model)
 
void byteOrderChanged ()
 
void childrenAboutToBeInserted (DataInformation *sender, uint startIndex, uint endIndex)
 
void childrenAboutToBeRemoved (DataInformation *sender, uint startIndex, uint endIndex)
 
void childrenInserted (const DataInformation *sender, uint startIndex, uint endIndex)
 
void childrenRemoved (const DataInformation *sender, uint startIndex, uint endIndex)
 
void cursorIndexChanged ()
 
void dataChanged (int row, void *data)
 
void dataCleared ()
 
- Signals inherited from Kasten2::AbstractTool
void titleChanged (const QString &newTitle)
 

Public Member Functions

 StructTool ()
 
virtual ~StructTool ()
 
TopLevelDataInformation::List allData () const
 
Okteta::AbstractByteArrayModel * byteArrayModel () const
 
QSysInfo::Endian byteOrder () const
 
bool canStructureBeLocked (const QModelIndex &idx) const
 
DataInformation * childAt (int idx) const
 
int childCount () const
 
KDE_DEPRECATED int columnCount () const
 
QVariant headerData (int column, int role)
 
bool isFileLoaded () const
 
bool isStructureLocked (const QModelIndex &idx) const
 
void lockStructure (const QModelIndex &idx)
 
StructuresManager * manager () const
 
void setByteOrder (QSysInfo::Endian order)
 
bool setData (const QVariant &value, int role, DataInformation *item, uint row)
 
virtual void setTargetModel (AbstractModel *model)
 
virtual QString title () const
 
void unlockStructure (const QModelIndex &idx)
 
- Public Member Functions inherited from Kasten2::AbstractTool
virtual ~AbstractTool ()
 

Protected Slots

void onByteOrderChanged ()
 
void onChildItemDataChanged ()
 
void onContentsChange (const Okteta::ArrayChangeMetricsList &)
 
void onCursorPositionChange (Okteta::Address pos)
 

Protected Attributes

QScopedPointer< StructToolPrivate > d
 
- Protected Attributes inherited from Kasten2::AbstractTool
Private *const d
 

Additional Inherited Members

- Protected Member Functions inherited from Kasten2::AbstractTool
 AbstractTool ()
 

Detailed Description

Definition at line 49 of file structtool.h.

Constructor & Destructor Documentation

Kasten2::StructTool::StructTool ( )

Definition at line 72 of file structtool.cpp.

Kasten2::StructTool::~StructTool ( )
virtual

Definition at line 89 of file structtool.cpp.

Member Function Documentation

void Kasten2::StructTool::addChildItem ( TopLevelDataInformation *  child)
slot

Definition at line 244 of file structtool.cpp.

TopLevelDataInformation::List Kasten2::StructTool::allData ( ) const

Definition at line 446 of file structtool.cpp.

Okteta::AbstractByteArrayModel * Kasten2::StructTool::byteArrayModel ( ) const

Definition at line 431 of file structtool.cpp.

KDE_DEPRECATED void Kasten2::StructTool::byteArrayModelChanged ( bool  modelIsValid)
signal
void Kasten2::StructTool::byteArrayModelChanged ( Okteta::AbstractByteArrayModel *  model)
signal
QSysInfo::Endian Kasten2::StructTool::byteOrder ( ) const

Definition at line 441 of file structtool.cpp.

void Kasten2::StructTool::byteOrderChanged ( )
signal
bool Kasten2::StructTool::canStructureBeLocked ( const QModelIndex &  idx) const

check if there is any ByteArrayModel available to lock the structure

Definition at line 420 of file structtool.cpp.

DataInformation * Kasten2::StructTool::childAt ( int  idx) const

Definition at line 234 of file structtool.cpp.

int Kasten2::StructTool::childCount ( ) const

Definition at line 229 of file structtool.cpp.

void Kasten2::StructTool::childrenAboutToBeInserted ( DataInformation *  sender,
uint  startIndex,
uint  endIndex 
)
signal

items are inserted before startIndex

void Kasten2::StructTool::childrenAboutToBeRemoved ( DataInformation *  sender,
uint  startIndex,
uint  endIndex 
)
signal

items are removed before startIndex

void Kasten2::StructTool::childrenInserted ( const DataInformation *  sender,
uint  startIndex,
uint  endIndex 
)
signal

items are inserted before startIndex

void Kasten2::StructTool::childrenRemoved ( const DataInformation *  sender,
uint  startIndex,
uint  endIndex 
)
signal

items are inserted before startIndex

int Kasten2::StructTool::columnCount ( ) const

Definition at line 366 of file structtool.cpp.

void Kasten2::StructTool::cursorIndexChanged ( )
signal
void Kasten2::StructTool::dataChanged ( int  row,
void *  data 
)
signal
void Kasten2::StructTool::dataCleared ( )
signal
QVariant Kasten2::StructTool::headerData ( int  column,
int  role 
)

Definition at line 210 of file structtool.cpp.

bool Kasten2::StructTool::isFileLoaded ( ) const

Definition at line 371 of file structtool.cpp.

bool Kasten2::StructTool::isStructureLocked ( const QModelIndex &  idx) const

Definition at line 406 of file structtool.cpp.

void Kasten2::StructTool::lockStructure ( const QModelIndex &  idx)

Definition at line 376 of file structtool.cpp.

StructuresManager * Kasten2::StructTool::manager ( ) const

Definition at line 436 of file structtool.cpp.

void Kasten2::StructTool::mark ( const QModelIndex &  idx)
slot

Definition at line 331 of file structtool.cpp.

void Kasten2::StructTool::onByteOrderChanged ( )
protectedslot

Definition at line 84 of file structtool.cpp.

void Kasten2::StructTool::onChildItemDataChanged ( )
protectedslot

Definition at line 426 of file structtool.cpp.

void Kasten2::StructTool::onContentsChange ( const Okteta::ArrayChangeMetricsList &  list)
protectedslot

Definition at line 156 of file structtool.cpp.

void Kasten2::StructTool::onCursorPositionChange ( Okteta::Address  pos)
protectedslot

Definition at line 134 of file structtool.cpp.

void Kasten2::StructTool::setByteOrder ( QSysInfo::Endian  order)

Definition at line 93 of file structtool.cpp.

void Kasten2::StructTool::setByteOrder ( int  order)
slot

Definition at line 144 of file structtool.cpp.

bool Kasten2::StructTool::setData ( const QVariant &  value,
int  role,
DataInformation *  item,
uint  row 
)

Definition at line 166 of file structtool.cpp.

void Kasten2::StructTool::setSelectedStructuresInView ( )
slot

Definition at line 274 of file structtool.cpp.

void Kasten2::StructTool::setTargetModel ( AbstractModel *  model)
virtual

Implements Kasten2::AbstractTool.

Definition at line 109 of file structtool.cpp.

QString Kasten2::StructTool::title ( ) const
virtual

Implements Kasten2::AbstractTool.

Definition at line 104 of file structtool.cpp.

void Kasten2::StructTool::unlockStructure ( const QModelIndex &  idx)

Definition at line 389 of file structtool.cpp.

void Kasten2::StructTool::unmark ( )
slot

Definition at line 349 of file structtool.cpp.

void Kasten2::StructTool::updateData ( const Okteta::ArrayChangeMetricsList &  list)
slot

Definition at line 189 of file structtool.cpp.

void Kasten2::StructTool::validateAllStructures ( )
slot

Definition at line 355 of file structtool.cpp.

Member Data Documentation

QScopedPointer<StructToolPrivate> Kasten2::StructTool::d
protected

Definition at line 118 of file structtool.h.


The documentation for this class was generated from the following files:
  • structtool.h
  • structtool.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