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

kcachegrind

Public Member Functions | Protected Slots | Protected Member Functions | List of all members
SourceView Class Reference

#include <sourceview.h>

Inheritance diagram for SourceView:
Inheritance graph
[legend]

Public Member Functions

 SourceView (TraceItemView *parentView, QWidget *parent=0)
 
int arrowLevels ()
 
QString whatsThis () const
 
QWidget * widget ()
 
- Public Member Functions inherited from TraceItemView
 TraceItemView (TraceItemView *parentView, TopLevelBase *top=0)
 
virtual ~TraceItemView ()
 
bool activate (CostItem *i)
 
virtual void activated (TraceItemView *sender, CostItem *)
 
TraceFunction * activeFunction ()
 
CostItem * activeItem () const
 
void addEventTypeMenu (QMenu *, bool withCost2=true)
 
void addGoMenu (QMenu *)
 
TraceData * data () const
 
virtual void directionActivated (TraceItemView *sender, Direction)
 
EventType * eventType () const
 
EventType * eventType2 () const
 
ProfileContext::Type groupType () const
 
void notifyChange (int changeType)
 
const TracePartList & partList () const
 
virtual void partsSelected (TraceItemView *sender, const TracePartList &)
 
Position position () const
 
virtual void restoreLayout (const QString &prefix, const QString &postfix)
 
virtual void restoreOptions (const QString &prefix, const QString &postfix)
 
virtual void saveLayout (const QString &prefix, const QString &postfix)
 
virtual void saveOptions (const QString &prefix, const QString &postfix)
 
void select (CostItem *i)
 
virtual void selected (TraceItemView *sender, CostItem *)
 
virtual void selectedEventType (TraceItemView *sender, EventType *)
 
virtual void selectedEventType2 (TraceItemView *sender, EventType *)
 
virtual void selectedGroupType (TraceItemView *sender, ProfileContext::Type)
 
CostItem * selectedItem () const
 
void set (ProfileContext::Type g)
 
void set (const TracePartList &l)
 
bool set (int, TraceData *, EventType *, EventType *, ProfileContext::Type, const TracePartList &, CostItem *, CostItem *)
 
virtual void setData (TraceData *d)
 
void setEventType (EventType *t)
 
void setEventType2 (EventType *t)
 
void setMergeUpdates (bool b)
 
void setPosition (Position p)
 
void setTitle (QString t)
 
void setTopLevel (TopLevelBase *t)
 
int status () const
 
QString title () const
 
TopLevelBase * topLevel () const
 
void updateView (bool force=false)
 

Protected Slots

void activatedSlot (QTreeWidgetItem *, int)
 
void context (const QPoint &)
 
void headerClicked (int)
 
void selectedSlot (QTreeWidgetItem *, QTreeWidgetItem *)
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event)
 
- Protected Member Functions inherited from TraceItemView
void activated (CostItem *)
 
void directionActivated (TraceItemView::Direction)
 
virtual bool isViewVisible ()
 
void partsSelected (const TracePartList &)
 
void selected (CostItem *)
 
void selectedEventType (EventType *)
 
void selectedEventType2 (EventType *)
 
void selectedGroupType (ProfileContext::Type)
 

Additional Inherited Members

- Public Types inherited from TraceItemView
enum  {
  nothingChanged = 0, eventTypeChanged = 1, eventType2Changed = 2, groupTypeChanged = 4,
  partsChanged = 8, activeItemChanged = 16, selectedItemChanged = 32, dataChanged = 64,
  configChanged = 128
}
 
enum  Direction { None, Back, Forward, Up }
 
enum  Position {
  Hidden, Top, Right, Left,
  Bottom
}
 
- Protected Attributes inherited from TraceItemView
CostItem * _activeItem
 
TraceData * _data
 
EventType * _eventType
 
EventType * _eventType2
 
ProfileContext::Type _groupType
 
TraceItemView * _parentView
 
TracePartList _partList
 
CostItem * _selectedItem
 
TopLevelBase * _topLevel
 

Detailed Description

Definition at line 31 of file sourceview.h.

Constructor & Destructor Documentation

SourceView::SourceView ( TraceItemView *  parentView,
QWidget *  parent = 0 
)
explicit

Definition at line 45 of file sourceview.cpp.

Member Function Documentation

void SourceView::activatedSlot ( QTreeWidgetItem *  i,
int   
)
protectedslot

Definition at line 177 of file sourceview.cpp.

int SourceView::arrowLevels ( )
inline

Definition at line 43 of file sourceview.h.

void SourceView::context ( const QPoint &  p)
protectedslot

Definition at line 107 of file sourceview.cpp.

void SourceView::headerClicked ( int  col)
protectedslot

Definition at line 943 of file sourceview.cpp.

void SourceView::keyPressEvent ( QKeyEvent *  event)
protected

Definition at line 198 of file sourceview.cpp.

void SourceView::selectedSlot ( QTreeWidgetItem *  i,
QTreeWidgetItem *   
)
protectedslot

Definition at line 145 of file sourceview.cpp.

QString SourceView::whatsThis ( ) const
virtual

Reimplemented from TraceItemView.

Definition at line 92 of file sourceview.cpp.

QWidget* SourceView::widget ( )
inlinevirtual

Implements TraceItemView.

Definition at line 41 of file sourceview.h.


The documentation for this class was generated from the following files:
  • sourceview.h
  • sourceview.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:28 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
  • 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