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

kcachegrind

  • sources
  • kde-4.14
  • kdesdk
  • kcachegrind
  • libviews
toplevelbase.h
Go to the documentation of this file.
1 /* This file is part of KCachegrind.
2  Copyright (C) 2008 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  * Abstract base class for top level windows
21  * - provides services from the top level main window such as action
22  * bindings for popup menus
23  * - consumes changes to visualization state
24  */
25 
26 #ifndef TOPLEVELBASE_H
27 #define TOPLEVELBASE_H
28 
29 #include "tracedata.h"
30 #include "traceitemview.h"
31 
32 class QMenu;
33 
34 class TopLevelBase
35 {
36 public:
37  virtual ~TopLevelBase();
38 
39  /* notify about changes in the visualization state from profile views */
40  virtual void activePartsChangedSlot(const TracePartList& list) = 0;
41  virtual void setTraceItemDelayed(CostItem*) = 0;
42  virtual void setEventTypeDelayed(EventType*) = 0;
43  virtual void setEventType2Delayed(EventType*) = 0;
44  virtual void setGroupTypeDelayed(ProfileContext::Type) = 0;
45  virtual void setGroupDelayed(TraceCostItem*) = 0;
46  virtual void setDirectionDelayed(TraceItemView::Direction) = 0;
47  virtual void configChanged() = 0;
48 
49  virtual TracePartList hiddenParts() = 0;
50 
51  virtual void addEventTypeMenu(QMenu*,bool) = 0;
52  virtual void addGoMenu(QMenu*) = 0;
53  virtual void showMessage(const QString&, int msec) = 0;
54 };
55 
56 #endif // TOPLEVELBASE_H
TopLevelBase::addEventTypeMenu
virtual void addEventTypeMenu(QMenu *, bool)=0
TopLevelBase::setEventTypeDelayed
virtual void setEventTypeDelayed(EventType *)=0
TraceCostItem
Definition: tracedata.h:980
CostItem
Base class for cost items.
Definition: costitem.h:37
traceitemview.h
EventType
A cost type, e.g.
Definition: eventtype.h:43
tracedata.h
TopLevelBase
Definition: toplevelbase.h:34
TopLevelBase::activePartsChangedSlot
virtual void activePartsChangedSlot(const TracePartList &list)=0
TopLevelBase::hiddenParts
virtual TracePartList hiddenParts()=0
TopLevelBase::~TopLevelBase
virtual ~TopLevelBase()
Definition: toplevelbase.cpp:3
QString
QList< TracePart * >
TopLevelBase::setTraceItemDelayed
virtual void setTraceItemDelayed(CostItem *)=0
QMenu
TopLevelBase::addGoMenu
virtual void addGoMenu(QMenu *)=0
TopLevelBase::setDirectionDelayed
virtual void setDirectionDelayed(TraceItemView::Direction)=0
TraceItemView::Direction
Direction
Definition: traceitemview.h:90
ProfileContext::Type
Type
Definition: context.h:36
TopLevelBase::setGroupDelayed
virtual void setGroupDelayed(TraceCostItem *)=0
TopLevelBase::showMessage
virtual void showMessage(const QString &, int msec)=0
TopLevelBase::configChanged
virtual void configChanged()=0
TopLevelBase::setGroupTypeDelayed
virtual void setGroupTypeDelayed(ProfileContext::Type)=0
TopLevelBase::setEventType2Delayed
virtual void setEventType2Delayed(EventType *)=0
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