KDevelop API Documentation

GDBDebugger::VariableTree Class Reference

#include <variablewidget.h>

Inheritance diagram for GDBDebugger::VariableTree:

Inheritance graph
[legend]
Collaboration diagram for GDBDebugger::VariableTree:

Collaboration graph
[legend]
List of all members.

Public Slots

void slotAddWatchVariable (const QString &watchVar)
void slotToggleRadix (QListViewItem *item)

Signals

void toggleWatchpoint (const QString &varName)
void selectFrame (int frameNo, int threadNo)
void expandItem (TrimmableItem *item)
void expandUserItem (VarItem *item, const QCString &request)
void setLocalViewState (bool localsOn)
void varItemConstructed (VarItem *item)
void toggleRadix (QListViewItem *item)

Public Member Functions

 VariableTree (VariableWidget *parent, const char *name=0)
virtual ~VariableTree ()
QListViewItemlastChild () const
int activeFlag () const
void setActiveFlag ()
void setRadix (int r)
QListViewItemfindRoot (QListViewItem *item) const
VarFrameRootfindFrame (int frameNo, int threadNo) const
WatchRootfindWatch ()
void setCurrentThread (int currentThread)
void trim ()
void trimExcessFrames ()
void setLocalViewState (bool localsOn, int frameNo, int threadNo)
virtual void maybeTip (const QPoint &)

Private Slots

void slotContextMenu (KListView *, QListViewItem *item)
void slotDoubleClicked (QListViewItem *item, const QPoint &pos, int c)

Private Attributes

int activeFlag_
int currentThread_
int iOutRadix

Friends

class TrimmableItem
class VarFrameRoot
class VarItem
class WatchRoot

Constructor & Destructor Documentation

GDBDebugger::VariableTree::VariableTree VariableWidget parent,
const char *  name = 0
 

Definition at line 149 of file variablewidget.cpp.

References KListView::addColumn(), KListView::contextMenu(), KListView::setSorting(), slotContextMenu(), slotToggleRadix(), and toggleRadix().

GDBDebugger::VariableTree::~VariableTree  )  [virtual]
 

Definition at line 180 of file variablewidget.cpp.


Member Function Documentation

int GDBDebugger::VariableTree::activeFlag  )  const [inline]
 

Definition at line 87 of file variablewidget.h.

void GDBDebugger::VariableTree::expandItem TrimmableItem item  )  [signal]
 

Referenced by slotAddWatchVariable(), and slotToggleRadix().

void GDBDebugger::VariableTree::expandUserItem VarItem item,
const QCString request
[signal]
 

VarFrameRoot * GDBDebugger::VariableTree::findFrame int  frameNo,
int  threadNo
const
 

Definition at line 294 of file variablewidget.cpp.

References GDBDebugger::VarFrameRoot::matchDetails().

Referenced by GDBDebugger::GDBController::parseBacktraceList(), GDBDebugger::GDBController::parseLocals(), and GDBDebugger::GDBController::slotSelectFrame().

QListViewItem * GDBDebugger::VariableTree::findRoot QListViewItem item  )  const
 

Definition at line 284 of file variablewidget.cpp.

Referenced by GDBDebugger::VariableWidget::clear(), and slotContextMenu().

WatchRoot * GDBDebugger::VariableTree::findWatch  ) 
 

Definition at line 313 of file variablewidget.cpp.

References WatchRoot.

Referenced by GDBDebugger::GDBController::actOnProgramPause(), GDBDebugger::GDBController::configure(), and slotAddWatchVariable().

QListViewItem * GDBDebugger::VariableTree::lastChild  )  const
 

Reimplemented from KListView.

Definition at line 370 of file variablewidget.cpp.

void GDBDebugger::VariableTree::maybeTip const QPoint  )  [virtual]
 

Definition at line 382 of file variablewidget.cpp.

References kdDebug(), and GDBDebugger::VarItem::tipText().

void GDBDebugger::VariableTree::selectFrame int  frameNo,
int  threadNo
[signal]
 

Referenced by setLocalViewState().

void GDBDebugger::VariableTree::setActiveFlag  )  [inline]
 

Definition at line 88 of file variablewidget.h.

Referenced by GDBDebugger::GDBController::actOnProgramPause(), and GDBDebugger::GDBController::programNoApp().

void GDBDebugger::VariableTree::setCurrentThread int  currentThread  )  [inline]
 

Definition at line 94 of file variablewidget.h.

Referenced by GDBDebugger::GDBController::parseThreadList().

void GDBDebugger::VariableTree::setLocalViewState bool  localsOn  )  [signal]
 

void GDBDebugger::VariableTree::setLocalViewState bool  localsOn,
int  frameNo,
int  threadNo
 

Definition at line 260 of file variablewidget.cpp.

References selectFrame().

void GDBDebugger::VariableTree::setRadix int  r  )  [inline]
 

Definition at line 89 of file variablewidget.h.

Referenced by GDBDebugger::GDBController::configure().

void GDBDebugger::VariableTree::slotAddWatchVariable const QString watchVar  )  [slot]
 

Definition at line 232 of file variablewidget.cpp.

References expandItem(), findWatch(), kdDebug(), GDBDebugger::typeUnknown, and VarItem.

Referenced by GDBDebugger::VariableWidget::slotAddWatchVariable().

void GDBDebugger::VariableTree::slotContextMenu KListView ,
QListViewItem item
[private, slot]
 

Definition at line 186 of file variablewidget.cpp.

References findRoot(), GDBDebugger::VarItem::fullName(), text(), toggleRadix(), toggleWatchpoint(), and GDBDebugger::VarNameCol.

Referenced by VariableTree().

void GDBDebugger::VariableTree::slotDoubleClicked QListViewItem item,
const QPoint pos,
int  c
[private, slot]
 

Definition at line 242 of file variablewidget.cpp.

References GDBDebugger::TrimmableItem::handleDoubleClicked(), and kdDebug().

void GDBDebugger::VariableTree::slotToggleRadix QListViewItem item  )  [slot]
 

Definition at line 400 of file variablewidget.cpp.

References expandItem(), iOutRadix, VarItem, and GDBDebugger::VarNameCol.

Referenced by VariableTree().

void GDBDebugger::VariableTree::toggleRadix QListViewItem item  )  [signal]
 

Referenced by slotContextMenu(), and VariableTree().

void GDBDebugger::VariableTree::toggleWatchpoint const QString varName  )  [signal]
 

Referenced by slotContextMenu().

void GDBDebugger::VariableTree::trim  ) 
 

Definition at line 329 of file variablewidget.cpp.

References GDBDebugger::TrimmableItem::isActive(), and GDBDebugger::TrimmableItem::trim().

Referenced by GDBDebugger::GDBController::parseLocals(), and GDBDebugger::GDBController::programNoApp().

void GDBDebugger::VariableTree::trimExcessFrames  ) 
 

Definition at line 351 of file variablewidget.cpp.

References currentThread_, and GDBDebugger::VarFrameRoot::matchDetails().

Referenced by GDBDebugger::GDBController::parseBacktraceList().

void GDBDebugger::VariableTree::varItemConstructed VarItem item  )  [signal]
 


Friends And Related Function Documentation

friend class TrimmableItem [friend]
 

Definition at line 79 of file variablewidget.h.

friend class VarFrameRoot [friend]
 

Definition at line 135 of file variablewidget.h.

friend class VarItem [friend]
 

Definition at line 136 of file variablewidget.h.

Referenced by slotAddWatchVariable(), and slotToggleRadix().

friend class WatchRoot [friend]
 

Definition at line 137 of file variablewidget.h.

Referenced by findWatch().


Member Data Documentation

int GDBDebugger::VariableTree::activeFlag_ [private]
 

Definition at line 130 of file variablewidget.h.

int GDBDebugger::VariableTree::currentThread_ [private]
 

Definition at line 131 of file variablewidget.h.

Referenced by trimExcessFrames().

int GDBDebugger::VariableTree::iOutRadix [private]
 

Definition at line 132 of file variablewidget.h.

Referenced by slotToggleRadix().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:32:36 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003