KDevelop API Documentation

GDBDebugger::VariableTree Class Reference

#include <variablewidget.h>

Inheritance diagram for GDBDebugger::VariableTree:

KListView QToolTip QListView List of all members.

Public Slots

void slotAddWatchVariable (const QString &watchVar)

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)

Public Member Functions

 VariableTree (VariableWidget *parent, const char *name=0)
virtual ~VariableTree ()
QListViewItemlastChild () const
int activeFlag () const
void setActiveFlag ()
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_

Constructor & Destructor Documentation

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

Definition at line 137 of file variablewidget.cpp.

References slotContextMenu().

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

Definition at line 167 of file variablewidget.cpp.


Member Function Documentation

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

Definition at line 80 of file variablewidget.h.

References activeFlag_.

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

Referenced by slotAddWatchVariable().

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

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

Definition at line 278 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 268 of file variablewidget.cpp.

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

WatchRoot * GDBDebugger::VariableTree::findWatch  ) 
 

Definition at line 297 of file variablewidget.cpp.

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

QListViewItem * GDBDebugger::VariableTree::lastChild  )  const
 

Reimplemented from KListView.

Definition at line 354 of file variablewidget.cpp.

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

Definition at line 366 of file variablewidget.cpp.

References endl(), 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 81 of file variablewidget.h.

References activeFlag_.

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

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

Definition at line 86 of file variablewidget.h.

References currentThread_, and setCurrentThread().

Referenced by GDBDebugger::GDBController::parseThreadList(), and setCurrentThread().

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

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

Definition at line 244 of file variablewidget.cpp.

References selectFrame(), and setLocalViewState().

Referenced by setLocalViewState().

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

Definition at line 216 of file variablewidget.cpp.

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

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

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

Definition at line 173 of file variablewidget.cpp.

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

Referenced by VariableTree().

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

Definition at line 226 of file variablewidget.cpp.

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

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

Referenced by slotContextMenu().

void GDBDebugger::VariableTree::trim  ) 
 

Definition at line 313 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 335 of file variablewidget.cpp.

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

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

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


Member Data Documentation

int GDBDebugger::VariableTree::activeFlag_ [private]
 

Definition at line 117 of file variablewidget.h.

Referenced by activeFlag(), and setActiveFlag().

int GDBDebugger::VariableTree::currentThread_ [private]
 

Definition at line 118 of file variablewidget.h.

Referenced by setCurrentThread(), and trimExcessFrames().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:09 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003