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

kcachegrind

  • sources
  • kde-4.12
  • kdesdk
  • kcachegrind
  • libviews
callitem.h
Go to the documentation of this file.
1 /* This file is part of KCachegrind.
2  Copyright (C) 2003 Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
3 
4  KCachegrind is free software; you can redistribute it and/or
5  modify it under the terms of the GNU General Public
6  License as published by the Free Software Foundation, version 2.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; see the file COPYING. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 
19 /*
20  * Items of call view.
21  */
22 
23 #ifndef CALLITEM_H
24 #define CALLITEM_H
25 
26 #include <QTreeWidget>
27 #include "tracedata.h"
28 
29 class CallView;
30 
31 class CallItem: public QTreeWidgetItem
32 {
33 public:
34  CallItem(CallView*, QTreeWidget*, TraceCall* c);
35 
36  bool operator<(const QTreeWidgetItem& other) const;
37  TraceCall* call() { return _call; }
38  CallView* view() { return _view; }
39  void updateCost();
40  void updateGroup();
41 
42 private:
43  SubCost _sum, _sum2;
44  SubCost _cc;
45  TraceCall* _call;
46  CallView* _view;
47  TraceFunction *_active, *_shown;
48 };
49 
50 #endif
CallView
Definition: callview.h:30
QTreeWidget
TraceFunction
A traced function.
Definition: tracedata.h:1122
CallItem::updateGroup
void updateGroup()
Definition: callitem.cpp:64
CallItem::call
TraceCall * call()
Definition: callitem.h:37
CallItem::view
CallView * view()
Definition: callitem.h:38
tracedata.h
CallItem::operator<
bool operator<(const QTreeWidgetItem &other) const
Definition: callitem.cpp:162
QTreeWidgetItem
CallItem
Definition: callitem.h:31
CallItem::updateCost
void updateCost()
Definition: callitem.cpp:70
SubCost
Cost event counter, simple wrapper around a 64bit entity.
Definition: subcost.h:32
CallItem::CallItem
CallItem(CallView *, QTreeWidget *, TraceCall *c)
Definition: callitem.cpp:35
TraceCall
A call from one to another function.
Definition: tracedata.h:835
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:26 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