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

kcachegrind

Public Member Functions | Public Attributes | List of all members
SourceItem Class Reference

#include <sourceitem.h>

Inheritance diagram for SourceItem:
Inheritance graph
[legend]

Public Member Functions

 SourceItem (SourceView *sv, QTreeWidget *parent, int fileno, unsigned int lineno, bool inside, const QString &src, TraceLine *line=0)
 
 SourceItem (SourceView *sv, QTreeWidgetItem *parent, int fileno, unsigned int lineno, TraceLine *line, TraceLineCall *lineCall)
 
 SourceItem (SourceView *sv, QTreeWidgetItem *parent, int fileno, unsigned int lineno, TraceLine *line, TraceLineJump *lineJump)
 
int fileNumber () const
 
bool inside () const
 
TraceLineJump * jump (int i) const
 
int jumpCount () const
 
TraceLine * line () const
 
TraceLineCall * lineCall () const
 
TraceLineJump * lineJump () const
 
uint lineno () const
 
bool operator< (const QTreeWidgetItem &other) const
 
void setJumpArray (const QVector< TraceLineJump * > &a)
 
void updateCost ()
 
void updateGroup ()
 
- Public Member Functions inherited from QTreeWidgetItem
 QTreeWidgetItem (int type)
 
 QTreeWidgetItem (const QStringList &strings, int type)
 
 QTreeWidgetItem (QTreeWidget *parent, const QStringList &strings, int type)
 
 QTreeWidgetItem (QTreeWidgetItem *parent, QTreeWidgetItem *preceding, int type)
 
 QTreeWidgetItem (const QTreeWidgetItem &other)
 
 QTreeWidgetItem (QTreeWidget *parent, QTreeWidgetItem *preceding, int type)
 
 QTreeWidgetItem (QTreeWidget *parent, int type)
 
 QTreeWidgetItem (QTreeWidgetItem *parent, int type)
 
 QTreeWidgetItem (QTreeWidgetItem *parent, const QStringList &strings, int type)
 
virtual  ~QTreeWidgetItem ()
 
void addChild (QTreeWidgetItem *child)
 
void addChildren (const QList< QTreeWidgetItem * > &children)
 
QBrush background (int column) const
 
QColor backgroundColor (int column) const
 
Qt::CheckState checkState (int column) const
 
QTreeWidgetItem * child (int index) const
 
int childCount () const
 
QTreeWidgetItem::ChildIndicatorPolicy childIndicatorPolicy () const
 
virtual QTreeWidgetItem * clone () const
 
int columnCount () const
 
virtual QVariant data (int column, int role) const
 
Qt::ItemFlags flags () const
 
QFont font (int column) const
 
QBrush foreground (int column) const
 
QIcon icon (int column) const
 
int indexOfChild (QTreeWidgetItem *child) const
 
void insertChild (int index, QTreeWidgetItem *child)
 
void insertChildren (int index, const QList< QTreeWidgetItem * > &children)
 
bool isDisabled () const
 
bool isExpanded () const
 
bool isFirstColumnSpanned () const
 
bool isHidden () const
 
bool isSelected () const
 
QTreeWidgetItem & operator= (const QTreeWidgetItem &other)
 
QTreeWidgetItem * parent () const
 
virtual void read (QDataStream &in)
 
void removeChild (QTreeWidgetItem *child)
 
void setBackground (int column, const QBrush &brush)
 
void setBackgroundColor (int column, const QColor &color)
 
void setCheckState (int column, Qt::CheckState state)
 
void setChildIndicatorPolicy (QTreeWidgetItem::ChildIndicatorPolicy policy)
 
virtual void setData (int column, int role, const QVariant &value)
 
void setDisabled (bool disabled)
 
void setExpanded (bool expand)
 
void setFirstColumnSpanned (bool span)
 
void setFlags (QFlags< Qt::ItemFlag > flags)
 
void setFont (int column, const QFont &font)
 
void setForeground (int column, const QBrush &brush)
 
void setHidden (bool hide)
 
void setIcon (int column, const QIcon &icon)
 
void setSelected (bool select)
 
void setSizeHint (int column, const QSize &size)
 
void setStatusTip (int column, const QString &statusTip)
 
void setText (int column, const QString &text)
 
void setTextAlignment (int column, int alignment)
 
void setTextColor (int column, const QColor &color)
 
void setToolTip (int column, const QString &toolTip)
 
void setWhatsThis (int column, const QString &whatsThis)
 
QSize sizeHint (int column) const
 
void sortChildren (int column, Qt::SortOrder order)
 
QString statusTip (int column) const
 
QTreeWidgetItem * takeChild (int index)
 
QList< QTreeWidgetItem * > takeChildren ()
 
QString text (int column) const
 
int textAlignment (int column) const
 
QColor textColor (int column) const
 
QString toolTip (int column) const
 
QTreeWidget * treeWidget () const
 
int type () const
 
QString whatsThis (int column) const
 
virtual void write (QDataStream &out) const
 

Public Attributes

QVector< TraceLineJump * > _jump
 

Additional Inherited Members

- Protected Member Functions inherited from QTreeWidgetItem
void emitDataChanged ()
 

Detailed Description

Definition at line 33 of file sourceitem.h.

Constructor & Destructor Documentation

SourceItem::SourceItem ( SourceView *  sv,
QTreeWidget *  parent,
int  fileno,
unsigned int  lineno,
bool  inside,
const QString &  src,
TraceLine *  line = 0 
)

Definition at line 41 of file sourceitem.cpp.

SourceItem::SourceItem ( SourceView *  sv,
QTreeWidgetItem *  parent,
int  fileno,
unsigned int  lineno,
TraceLine *  line,
TraceLineCall *  lineCall 
)

Definition at line 72 of file sourceitem.cpp.

SourceItem::SourceItem ( SourceView *  sv,
QTreeWidgetItem *  parent,
int  fileno,
unsigned int  lineno,
TraceLine *  line,
TraceLineJump *  lineJump 
)

Definition at line 111 of file sourceitem.cpp.

Member Function Documentation

int SourceItem::fileNumber ( ) const
inline

Definition at line 53 of file sourceitem.h.

bool SourceItem::inside ( ) const
inline

Definition at line 54 of file sourceitem.h.

TraceLineJump* SourceItem::jump ( int  i) const
inline

Definition at line 58 of file sourceitem.h.

int SourceItem::jumpCount ( ) const
inline

Definition at line 59 of file sourceitem.h.

TraceLine* SourceItem::line ( ) const
inline

Definition at line 55 of file sourceitem.h.

TraceLineCall* SourceItem::lineCall ( ) const
inline

Definition at line 56 of file sourceitem.h.

TraceLineJump* SourceItem::lineJump ( ) const
inline

Definition at line 57 of file sourceitem.h.

uint SourceItem::lineno ( ) const
inline

Definition at line 52 of file sourceitem.h.

bool SourceItem::operator< ( const QTreeWidgetItem &  other) const
virtual

Reimplemented from QTreeWidgetItem.

Definition at line 240 of file sourceitem.cpp.

void SourceItem::setJumpArray ( const QVector< TraceLineJump * > &  a)

Definition at line 288 of file sourceitem.cpp.

void SourceItem::updateCost ( )

Definition at line 161 of file sourceitem.cpp.

void SourceItem::updateGroup ( )

Definition at line 152 of file sourceitem.cpp.

Member Data Documentation

QVector<TraceLineJump*> SourceItem::_jump

Definition at line 68 of file sourceitem.h.


The documentation for this class was generated from the following files:
  • sourceitem.h
  • sourceitem.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:39:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kcachegrind

Skip menu "kcachegrind"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • 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