KDevelop API Documentation

GDBDebugger::GDBBreakpointWidget Class Reference

#include <gdbbreakpointwidget.h>

Inheritance diagram for GDBDebugger::GDBBreakpointWidget:

QHBox List of all members.

Public Slots

void slotToggleBreakpoint (const QString &filename, int lineNum)
void slotToggleBreakpointEnabled (const QString &fileName, int lineNum)
void slotToggleWatchpoint (const QString &varName)
void slotSetPendingBPs ()
void slotUnableToSetBPNow (int BPNo)
void slotParseGDBBrkptList (char *str)
void slotParseGDBBreakpointSet (char *str, int BPKey)
void slotRefreshBP (const QString &filename)

Signals

void publishBPState (const Breakpoint &brkpt)
void refreshBPState (const Breakpoint &brkpt)
void gotoSourcePosition (const QString &fileName, int lineNum)
void clearAllBreakpoints ()

Public Member Functions

 GDBBreakpointWidget (QWidget *parent=0, const char *name=0)
virtual ~GDBBreakpointWidget ()
void reset ()
void savePartialProjectSession (QDomElement *el)
void restorePartialProjectSession (const QDomElement *el)

Private Slots

void slotRemoveBreakpoint ()
void slotRemoveAllBreakpoints ()
void slotEditBreakpoint (const QString &fileName, int lineNum)
void slotEditBreakpoint ()
void slotAddBreakpoint ()
void slotAddBlankBreakpoint (int idx)
void slotRowSelected (int row, int col, int button, const QPoint &mousePos)
void slotEditRow (int row, int col, const QPoint &mousePos)
void slotNewValue (int row, int col)

Private Member Functions

BreakpointTableRowfind (Breakpoint *bp)
BreakpointTableRowfindId (int id)
BreakpointTableRowfindKey (int BPKey)
void setActive ()
BreakpointTableRowaddBreakpoint (Breakpoint *bp)
void removeBreakpoint (BreakpointTableRow *btr)

Private Attributes

GDBTablem_table
QToolButtonm_add
QToolButtonm_delete
QToolButtonm_edit
QToolButtonm_removeAll

Constructor & Destructor Documentation

GDBDebugger::GDBBreakpointWidget::GDBBreakpointWidget QWidget parent = 0,
const char *  name = 0
 

Definition at line 174 of file gdbbreakpointwidget.cpp.

References GDBDebugger::BP_TYPE_Address, GDBDebugger::BP_TYPE_FilePos, GDBDebugger::BP_TYPE_Function, GDBDebugger::BP_TYPE_Watchpoint, GDBDebugger::Condition, GDBDebugger::Control, GDBDebugger::Enable, GDBDebugger::Hits, I18N_NOOP, GDBDebugger::IgnoreCount, GDBDebugger::Location, m_add, m_delete, m_edit, m_removeAll, m_table, numCols, slotAddBlankBreakpoint(), slotAddBreakpoint(), slotEditBreakpoint(), slotNewValue(), slotRemoveAllBreakpoints(), slotRemoveBreakpoint(), slotRowSelected(), GDBDebugger::Status, and GDBDebugger::Type.

GDBDebugger::GDBBreakpointWidget::~GDBBreakpointWidget  )  [virtual]
 

Definition at line 271 of file gdbbreakpointwidget.cpp.

References m_table.


Member Function Documentation

BreakpointTableRow * GDBDebugger::GDBBreakpointWidget::addBreakpoint Breakpoint bp  )  [private]
 

Definition at line 359 of file gdbbreakpointwidget.cpp.

References m_table, and publishBPState().

Referenced by restorePartialProjectSession(), slotAddBlankBreakpoint(), slotToggleBreakpoint(), and slotToggleWatchpoint().

void GDBDebugger::GDBBreakpointWidget::clearAllBreakpoints  )  [signal]
 

BreakpointTableRow * GDBDebugger::GDBBreakpointWidget::find Breakpoint bp  )  [private]
 

Definition at line 311 of file gdbbreakpointwidget.cpp.

References GDBDebugger::Control, m_table, and GDBDebugger::BreakpointTableRow::match().

Referenced by restorePartialProjectSession(), slotEditBreakpoint(), slotToggleBreakpoint(), slotToggleBreakpointEnabled(), and slotToggleWatchpoint().

BreakpointTableRow * GDBDebugger::GDBBreakpointWidget::findId int  id  )  [private]
 

Definition at line 330 of file gdbbreakpointwidget.cpp.

References GDBDebugger::BreakpointTableRow::breakpoint(), GDBDebugger::Control, GDBDebugger::Breakpoint::dbgId(), and m_table.

Referenced by slotParseGDBBrkptList(), and slotUnableToSetBPNow().

BreakpointTableRow * GDBDebugger::GDBBreakpointWidget::findKey int  BPKey  )  [private]
 

Definition at line 345 of file gdbbreakpointwidget.cpp.

References GDBDebugger::BreakpointTableRow::breakpoint(), GDBDebugger::Control, GDBDebugger::Breakpoint::key(), and m_table.

Referenced by slotParseGDBBreakpointSet().

void GDBDebugger::GDBBreakpointWidget::gotoSourcePosition const QString fileName,
int  lineNum
[signal]
 

Referenced by slotRowSelected().

void GDBDebugger::GDBBreakpointWidget::publishBPState const Breakpoint brkpt  )  [signal]
 

Referenced by addBreakpoint(), removeBreakpoint(), reset(), slotNewValue(), slotParseGDBBreakpointSet(), slotParseGDBBrkptList(), slotSetPendingBPs(), and slotToggleBreakpointEnabled().

void GDBDebugger::GDBBreakpointWidget::refreshBPState const Breakpoint brkpt  )  [signal]
 

Referenced by slotRefreshBP().

void GDBDebugger::GDBBreakpointWidget::removeBreakpoint BreakpointTableRow btr  )  [private]
 

Definition at line 369 of file gdbbreakpointwidget.cpp.

References GDBDebugger::BreakpointTableRow::breakpoint(), GDBDebugger::Breakpoint::isDbgProcessing(), GDBDebugger::Breakpoint::isPending(), m_table, publishBPState(), GDBDebugger::Breakpoint::setActionClear(), GDBDebugger::Breakpoint::setActionDie(), GDBDebugger::Breakpoint::setPending(), and GDBDebugger::BreakpointTableRow::setRow().

Referenced by slotParseGDBBrkptList(), slotRemoveAllBreakpoints(), slotRemoveBreakpoint(), slotToggleBreakpoint(), and slotToggleWatchpoint().

void GDBDebugger::GDBBreakpointWidget::reset  ) 
 

Definition at line 278 of file gdbbreakpointwidget.cpp.

References GDBDebugger::BreakpointTableRow::breakpoint(), GDBDebugger::Control, m_table, publishBPState(), and GDBDebugger::BreakpointTableRow::reset().

Referenced by slotUnableToSetBPNow().

void GDBDebugger::GDBBreakpointWidget::restorePartialProjectSession const QDomElement el  ) 
 

Definition at line 839 of file gdbbreakpointwidget.cpp.

References addBreakpoint(), GDBDebugger::BP_TYPE_Address, GDBDebugger::BP_TYPE_FilePos, GDBDebugger::BP_TYPE_Function, GDBDebugger::BP_TYPE_Watchpoint, GDBDebugger::BP_TYPES, find(), GDBDebugger::Breakpoint::setConditional(), GDBDebugger::Breakpoint::setEnabled(), and GDBDebugger::Breakpoint::setLocation().

void GDBDebugger::GDBBreakpointWidget::savePartialProjectSession QDomElement el  ) 
 

Definition at line 809 of file gdbbreakpointwidget.cpp.

References GDBDebugger::BreakpointTableRow::breakpoint(), GDBDebugger::Breakpoint::conditional(), GDBDebugger::Control, GDBDebugger::Breakpoint::isEnabled(), GDBDebugger::Breakpoint::location(), m_table, and GDBDebugger::Breakpoint::type().

void GDBDebugger::GDBBreakpointWidget::setActive  )  [private]
 

void GDBDebugger::GDBBreakpointWidget::slotAddBlankBreakpoint int  idx  )  [private, slot]
 

Definition at line 602 of file gdbbreakpointwidget.cpp.

References addBreakpoint(), GDBDebugger::BP_TYPE_Address, GDBDebugger::BP_TYPE_FilePos, GDBDebugger::BP_TYPE_Function, GDBDebugger::BP_TYPE_Watchpoint, GDBDebugger::Location, m_table, and numCols.

Referenced by GDBBreakpointWidget().

void GDBDebugger::GDBBreakpointWidget::slotAddBreakpoint  )  [private, slot]
 

Definition at line 896 of file gdbbreakpointwidget.cpp.

References m_add.

Referenced by GDBBreakpointWidget().

void GDBDebugger::GDBBreakpointWidget::slotEditBreakpoint  )  [private, slot]
 

Definition at line 802 of file gdbbreakpointwidget.cpp.

References GDBDebugger::Location, and m_table.

Referenced by GDBBreakpointWidget().

void GDBDebugger::GDBBreakpointWidget::slotEditBreakpoint const QString fileName,
int  lineNum
[private, slot]
 

Definition at line 782 of file gdbbreakpointwidget.cpp.

References find(), GDBDebugger::Location, m_table, and numCols.

void GDBDebugger::GDBBreakpointWidget::slotEditRow int  row,
int  col,
const QPoint mousePos
[private, slot]
 

Definition at line 683 of file gdbbreakpointwidget.cpp.

References GDBDebugger::Condition, GDBDebugger::Control, GDBDebugger::IgnoreCount, GDBDebugger::Location, and m_table.

void GDBDebugger::GDBBreakpointWidget::slotNewValue int  row,
int  col
[private, slot]
 

Definition at line 696 of file gdbbreakpointwidget.cpp.

References GDBDebugger::BreakpointTableRow::breakpoint(), GDBDebugger::Condition, GDBDebugger::Breakpoint::conditional(), GDBDebugger::Control, GDBDebugger::Enable, GDBDebugger::Hits, GDBDebugger::Breakpoint::ignoreCount(), GDBDebugger::IgnoreCount, GDBDebugger::Breakpoint::isEnabled(), GDBDebugger::Breakpoint::location(), GDBDebugger::Location, m_table, publishBPState(), GDBDebugger::Breakpoint::setActionAdd(), GDBDebugger::Breakpoint::setActionDie(), GDBDebugger::Breakpoint::setActionModify(), GDBDebugger::Breakpoint::setConditional(), GDBDebugger::Breakpoint::setEnabled(), GDBDebugger::Breakpoint::setIgnoreCount(), GDBDebugger::Breakpoint::setLocation(), GDBDebugger::Breakpoint::setPending(), GDBDebugger::BreakpointTableRow::setRow(), GDBDebugger::Status, and GDBDebugger::Type.

Referenced by GDBBreakpointWidget().

void GDBDebugger::GDBBreakpointWidget::slotParseGDBBreakpointSet char *  str,
int  BPKey
[slot]
 

Definition at line 563 of file gdbbreakpointwidget.cpp.

References GDBDebugger::BreakpointTableRow::breakpoint(), findKey(), GDBDebugger::m_activeFlag, publishBPState(), GDBDebugger::Breakpoint::setActive(), GDBDebugger::Breakpoint::setDbgProcessing(), GDBDebugger::Breakpoint::setHardwareBP(), and GDBDebugger::BreakpointTableRow::setRow().

void GDBDebugger::GDBBreakpointWidget::slotParseGDBBrkptList char *  str  )  [slot]
 

Definition at line 473 of file gdbbreakpointwidget.cpp.

References GDBDebugger::BreakpointTableRow::breakpoint(), GDBDebugger::Control, findId(), GDBDebugger::Breakpoint::isActive(), GDBDebugger::m_activeFlag, m_table, publishBPState(), removeBreakpoint(), GDBDebugger::Breakpoint::setActive(), GDBDebugger::Breakpoint::setConditional(), GDBDebugger::Breakpoint::setHits(), GDBDebugger::Breakpoint::setIgnoreCount(), and GDBDebugger::BreakpointTableRow::setRow().

void GDBDebugger::GDBBreakpointWidget::slotRefreshBP const QString filename  )  [slot]
 

Definition at line 295 of file gdbbreakpointwidget.cpp.

References GDBDebugger::BreakpointTableRow::breakpoint(), GDBDebugger::Control, GDBDebugger::FilePosBreakpoint::fileName(), m_table, and refreshBPState().

void GDBDebugger::GDBBreakpointWidget::slotRemoveAllBreakpoints  )  [private, slot]
 

Definition at line 651 of file gdbbreakpointwidget.cpp.

References GDBDebugger::Control, m_table, and removeBreakpoint().

Referenced by GDBBreakpointWidget().

void GDBDebugger::GDBBreakpointWidget::slotRemoveBreakpoint  )  [private, slot]
 

Definition at line 639 of file gdbbreakpointwidget.cpp.

References GDBDebugger::Control, m_table, and removeBreakpoint().

Referenced by GDBBreakpointWidget().

void GDBDebugger::GDBBreakpointWidget::slotRowSelected int  row,
int  col,
int  button,
const QPoint mousePos
[private, slot]
 

Definition at line 665 of file gdbbreakpointwidget.cpp.

References GDBDebugger::BreakpointTableRow::breakpoint(), GDBDebugger::Condition, GDBDebugger::Control, GDBDebugger::FilePosBreakpoint::fileName(), gotoSourcePosition(), GDBDebugger::IgnoreCount, GDBDebugger::FilePosBreakpoint::lineNum(), GDBDebugger::Location, and m_table.

Referenced by GDBBreakpointWidget().

void GDBDebugger::GDBBreakpointWidget::slotSetPendingBPs  )  [slot]
 

Definition at line 442 of file gdbbreakpointwidget.cpp.

References GDBDebugger::BreakpointTableRow::breakpoint(), GDBDebugger::Control, GDBDebugger::Breakpoint::isDbgProcessing(), GDBDebugger::Breakpoint::isPending(), GDBDebugger::Breakpoint::isValid(), m_table, and publishBPState().

void GDBDebugger::GDBBreakpointWidget::slotToggleBreakpoint const QString filename,
int  lineNum
[slot]
 

Definition at line 394 of file gdbbreakpointwidget.cpp.

References addBreakpoint(), find(), and removeBreakpoint().

void GDBDebugger::GDBBreakpointWidget::slotToggleBreakpointEnabled const QString fileName,
int  lineNum
[slot]
 

Definition at line 410 of file gdbbreakpointwidget.cpp.

References GDBDebugger::BreakpointTableRow::breakpoint(), find(), publishBPState(), and GDBDebugger::Breakpoint::setEnabled().

void GDBDebugger::GDBBreakpointWidget::slotToggleWatchpoint const QString varName  )  [slot]
 

Definition at line 426 of file gdbbreakpointwidget.cpp.

References addBreakpoint(), find(), and removeBreakpoint().

void GDBDebugger::GDBBreakpointWidget::slotUnableToSetBPNow int  BPNo  )  [slot]
 

Definition at line 462 of file gdbbreakpointwidget.cpp.

References findId(), GDBDebugger::BreakpointTableRow::reset(), and reset().


Member Data Documentation

QToolButton* GDBDebugger::GDBBreakpointWidget::m_add [private]
 

Definition at line 93 of file gdbbreakpointwidget.h.

Referenced by GDBBreakpointWidget(), and slotAddBreakpoint().

QToolButton* GDBDebugger::GDBBreakpointWidget::m_delete [private]
 

Definition at line 94 of file gdbbreakpointwidget.h.

Referenced by GDBBreakpointWidget().

QToolButton* GDBDebugger::GDBBreakpointWidget::m_edit [private]
 

Definition at line 95 of file gdbbreakpointwidget.h.

Referenced by GDBBreakpointWidget().

QToolButton* GDBDebugger::GDBBreakpointWidget::m_removeAll [private]
 

Definition at line 96 of file gdbbreakpointwidget.h.

Referenced by GDBBreakpointWidget().

GDBTable* GDBDebugger::GDBBreakpointWidget::m_table [private]
 

Definition at line 91 of file gdbbreakpointwidget.h.

Referenced by addBreakpoint(), find(), findId(), findKey(), GDBBreakpointWidget(), removeBreakpoint(), reset(), savePartialProjectSession(), slotAddBlankBreakpoint(), slotEditBreakpoint(), slotEditRow(), slotNewValue(), slotParseGDBBrkptList(), slotRefreshBP(), slotRemoveAllBreakpoints(), slotRemoveBreakpoint(), slotRowSelected(), slotSetPendingBPs(), and ~GDBBreakpointWidget().


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