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

kcachegrind

Public Member Functions | List of all members
CallMapCallingItem Class Reference

#include <callmapview.h>

Inheritance diagram for CallMapCallingItem:
Inheritance graph
[legend]

Public Member Functions

 CallMapCallingItem (double factor, TraceCall *c)
 
QColor backColor () const
 
int borderWidth () const
 
TreeMapItemList * children ()
 
TraceFunction * function ()
 
void init ()
 
bool isMarked (int) const
 
QPixmap pixmap (int) const
 
int rtti () const
 
double sum () const
 
QString text (int) const
 
double value () const
 
- Public Member Functions inherited from TreeMapItem
 TreeMapItem (TreeMapItem *parent=0, double value=1.0)
 
 TreeMapItem (TreeMapItem *parent, double value, const QString &text1, const QString &text2=QString(), const QString &text3=QString(), const QString &text4=QString())
 
virtual ~TreeMapItem ()
 
void addFreeRect (const QRect &r)
 
void addItem (TreeMapItem *)
 
void clear ()
 
void clearFreeRects ()
 
void clearItemRect ()
 
TreeMapItem * commonParent (TreeMapItem *item)
 
int depth () const
 
virtual const QFont & font () const
 
const QList< QRect > & freeRects () const
 
int height () const
 
int index () const
 
bool initialized ()
 
bool isChildOf (TreeMapItem *)
 
const QRect & itemRect () const
 
TreeMapItem * parent () const
 
QStringList path (int) const
 
virtual Position position (int) const
 
void redraw ()
 
void refresh ()
 
void resort (bool recursive=true)
 
void setIndex (int i)
 
void setItemRect (const QRect &r)
 
void setParent (TreeMapItem *p)
 
void setSorting (int textNo, bool ascending=true)
 
void setSum (double s)
 
void setValue (double s)
 
void setWidget (TreeMapWidget *w)
 
virtual int sorting (bool *ascending) const
 
virtual SplitMode splitMode () const
 
TreeMapWidget * widget () const
 
int width () const
 
- Public Member Functions inherited from StoredDrawParams
 StoredDrawParams ()
 
 StoredDrawParams (const QColor &c, bool selected=false, bool current=false)
 
QColor backColor () const
 
bool current () const
 
bool drawFrame () const
 
void drawFrame (bool b)
 
int fieldCount () const
 
int maxLines (int) const
 
QPixmap pixmap (int) const
 
bool rotated () const
 
bool selected () const
 
void setBackColor (const QColor &c)
 
void setCurrent (bool b)
 
void setField (int f, const QString &t, const QPixmap &pm=QPixmap(), Position p=Default, int maxLines=0)
 
void setMaxLines (int f, int)
 
void setPixmap (int f, const QPixmap &)
 
void setPosition (int f, Position)
 
void setRotated (bool b)
 
void setSelected (bool b)
 
void setShaded (bool b)
 
void setText (int f, const QString &)
 
bool shaded () const
 
QString text (int) const
 
- Public Member Functions inherited from DrawParams
virtual ~DrawParams ()
 

Additional Inherited Members

- Public Types inherited from TreeMapItem
enum  SplitMode {
  Bisection, Columns, Rows, AlwaysBest,
  Best, HAlternate, VAlternate, Horizontal,
  Vertical
}
 
- Public Types inherited from DrawParams
enum  Position {
  TopLeft, TopCenter, TopRight, BottomLeft,
  BottomCenter, BottomRight, Default, Unknown
}
 
- Protected Attributes inherited from TreeMapItem
TreeMapItemList * _children
 
double _sum
 
double _value
 
- Protected Attributes inherited from StoredDrawParams
QColor _backColor
 
bool _current:1
 
bool _drawFrame:1
 
bool _rotated:1
 
bool _selected:1
 
bool _shaded:1
 

Detailed Description

Definition at line 108 of file callmapview.h.

Constructor & Destructor Documentation

CallMapCallingItem::CallMapCallingItem ( double  factor,
TraceCall *  c 
)

Definition at line 720 of file callmapview.cpp.

Member Function Documentation

QColor CallMapCallingItem::backColor ( ) const
virtual

Reimplemented from DrawParams.

Definition at line 836 of file callmapview.cpp.

int CallMapCallingItem::borderWidth ( ) const
inlinevirtual

Reimplemented from TreeMapItem.

Definition at line 114 of file callmapview.h.

TreeMapItemList * CallMapCallingItem::children ( )
virtual

Reimplemented from TreeMapItem.

Definition at line 794 of file callmapview.cpp.

TraceFunction* CallMapCallingItem::function ( )
inline

Definition at line 115 of file callmapview.h.

void CallMapCallingItem::init ( )

Definition at line 726 of file callmapview.cpp.

bool CallMapCallingItem::isMarked ( int  ) const
virtual

Reimplemented from TreeMapItem.

Definition at line 788 of file callmapview.cpp.

QPixmap CallMapCallingItem::pixmap ( int  i) const
virtual

Implements DrawParams.

Definition at line 763 of file callmapview.cpp.

int CallMapCallingItem::rtti ( ) const
inlinevirtual

Reimplemented from TreeMapItem.

Definition at line 113 of file callmapview.h.

double CallMapCallingItem::sum ( ) const
virtual

Reimplemented from TreeMapItem.

Definition at line 783 of file callmapview.cpp.

QString CallMapCallingItem::text ( int  textNo) const
virtual

Implements DrawParams.

Definition at line 736 of file callmapview.cpp.

double CallMapCallingItem::value ( ) const
virtual

Reimplemented from TreeMapItem.

Definition at line 776 of file callmapview.cpp.


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