KDevelop API Documentation

GDBDebugger::VarItem Class Reference

#include <variablewidget.h>

Inheritance diagram for GDBDebugger::VarItem:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 VarItem (TrimmableItem *parent, const QString &varName, DataType dataType)
virtual ~VarItem ()
QString varPath () const
QString fullName () const
DataType getDataType () const
void updateValue (char *data)
void updateType (char *data)
void setCache (const QCString &value)
QCString getCache ()
void setOpen (bool open)
void setText (int column, const QString &text)
void handleDoubleClicked (const QPoint &pos, int c)
QString tipText () const

Private Member Functions

void checkForRequests ()
void paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align)

Private Attributes

QCString cache_
DataType dataType_
bool highlight_
QCString originalValueType_

Constructor & Destructor Documentation

GDBDebugger::VarItem::VarItem TrimmableItem parent,
const QString varName,
DataType  dataType
 

Definition at line 612 of file variablewidget.cpp.

References kdDebug(), setText(), and GDBDebugger::VarNameCol.

GDBDebugger::VarItem::~VarItem  )  [virtual]
 

Definition at line 631 of file variablewidget.cpp.


Member Function Documentation

void GDBDebugger::VarItem::checkForRequests  )  [private]
 

Todo:
  • hardcoded for now - these should get read from config

- This handling is not that good - but it works sufficiently well

Definition at line 807 of file variablewidget.cpp.

References cache_, fullName(), and GDBDebugger::TrimmableItem::waitingForData().

Referenced by setCache().

QString GDBDebugger::VarItem::fullName  )  const
 

Definition at line 660 of file variablewidget.cpp.

References GDBDebugger::TrimmableItem::getName(), and varPath().

Referenced by checkForRequests(), GDBDebugger::VariableTree::slotContextMenu(), and GDBDebugger::GDBController::slotVarItemConstructed().

QCString GDBDebugger::VarItem::getCache  )  [virtual]
 

Reimplemented from GDBDebugger::TrimmableItem.

Definition at line 800 of file variablewidget.cpp.

DataType GDBDebugger::VarItem::getDataType  )  const [virtual]
 

Reimplemented from GDBDebugger::TrimmableItem.

Definition at line 859 of file variablewidget.cpp.

References GDBDebugger::DataType.

Referenced by GDBDebugger::GDBController::slotExpandItem(), and varPath().

void GDBDebugger::VarItem::handleDoubleClicked const QPoint pos,
int  c
[virtual]
 

Reimplemented from GDBDebugger::TrimmableItem.

Definition at line 755 of file variablewidget.cpp.

References kdDebug(), and GDBDebugger::VarTypeCol.

void GDBDebugger::VarItem::paintCell QPainter p,
const QColorGroup cg,
int  column,
int  width,
int  align
[private, virtual]
 

Reimplemented from GDBDebugger::TrimmableItem.

Definition at line 867 of file variablewidget.cpp.

References GDBDebugger::ValueCol.

void GDBDebugger::VarItem::setCache const QCString value  )  [virtual]
 

Reimplemented from GDBDebugger::TrimmableItem.

Definition at line 767 of file variablewidget.cpp.

References cache_, checkForRequests(), GDBDebugger::TrimmableItem::setActive(), and setOpen().

void GDBDebugger::VarItem::setOpen bool  open  ) 
 

Definition at line 779 of file variablewidget.cpp.

References cache_, dataType_, GDBDebugger::TrimmableItem::trim(), GDBDebugger::typePointer, and GDBDebugger::TrimmableItem::waitingForData().

Referenced by setCache().

void GDBDebugger::VarItem::setText int  column,
const QString text
 

Definition at line 675 of file variablewidget.cpp.

References dataType_, highlight_, GDBDebugger::TrimmableItem::isActive(), GDBDebugger::TrimmableItem::setActive(), text(), and GDBDebugger::TrimmableItem::waitingForData().

Referenced by updateType(), and VarItem().

QString GDBDebugger::VarItem::tipText  )  const
 

Definition at line 883 of file variablewidget.cpp.

References text().

Referenced by GDBDebugger::VariableTree::maybeTip().

void GDBDebugger::VarItem::updateType char *  data  ) 
 

Definition at line 737 of file variablewidget.cpp.

References eq, kdDebug(), originalValueType_, setText(), and GDBDebugger::VarTypeCol.

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

void GDBDebugger::VarItem::updateValue char *  data  )  [virtual]
 

Reimplemented from GDBDebugger::TrimmableItem.

Definition at line 697 of file variablewidget.cpp.

References dataType_, GDBDebugger::TrimmableItem::getName(), GDBDebugger::TrimmableItem::setActive(), and GDBDebugger::typePointer.

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

QString GDBDebugger::VarItem::varPath  )  const
 

Definition at line 637 of file variablewidget.cpp.

References getDataType(), and GDBDebugger::VarNameCol.

Referenced by fullName().


Member Data Documentation

QCString GDBDebugger::VarItem::cache_ [private]
 

Definition at line 221 of file variablewidget.h.

Referenced by checkForRequests(), setCache(), and setOpen().

DataType GDBDebugger::VarItem::dataType_ [private]
 

Definition at line 222 of file variablewidget.h.

Referenced by setOpen(), setText(), and updateValue().

bool GDBDebugger::VarItem::highlight_ [private]
 

Definition at line 223 of file variablewidget.h.

Referenced by setText().

QCString GDBDebugger::VarItem::originalValueType_ [private]
 

Definition at line 226 of file variablewidget.h.

Referenced by updateType().


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:37 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003