KDevelop API Documentation

GDBDebugger::GDBBreakpointWidget Class Reference

#include <gdbbreakpointwidget.h>

Inheritance diagram for GDBDebugger::GDBBreakpointWidget:

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

Collaboration graph
[legend]
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 KURL &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)

Protected Member Functions

virtual void focusInEvent (QFocusEvent *e)

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 175 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 272 of file gdbbreakpointwidget.cpp.


Member Function Documentation

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

Definition at line 360 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 312 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 331 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 346 of file gdbbreakpointwidget.cpp.

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

Referenced by slotParseGDBBreakpointSet().

void GDBDebugger::GDBBreakpointWidget::focusInEvent QFocusEvent e  )  [protected, virtual]
 

Definition at line 910 of file gdbbreakpointwidget.cpp.

References m_table.

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 370 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 279 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 843 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 813 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 603 of file gdbbreakpointwidget.cpp.

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

Referenced by GDBBreakpointWidget().

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

Definition at line 900 of file gdbbreakpointwidget.cpp.

References m_add.

Referenced by GDBBreakpointWidget().

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

Definition at line 806 of file gdbbreakpointwidget.cpp.

References m_table.

Referenced by GDBBreakpointWidget().

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

Definition at line 786 of file gdbbreakpointwidget.cpp.

References find(), and m_table.

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

Definition at line 687 of file gdbbreakpointwidget.cpp.

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

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

Definition at line 700 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 564 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 474 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 KURL filename  )  [slot]
 

Definition at line 296 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 652 of file gdbbreakpointwidget.cpp.

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

Referenced by GDBBreakpointWidget().

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

Definition at line 640 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 666 of file gdbbreakpointwidget.cpp.

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

Referenced by GDBBreakpointWidget().

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

Definition at line 443 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 395 of file gdbbreakpointwidget.cpp.

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

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

Definition at line 411 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 427 of file gdbbreakpointwidget.cpp.

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

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

Definition at line 463 of file gdbbreakpointwidget.cpp.

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


Member Data Documentation

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

Definition at line 97 of file gdbbreakpointwidget.h.

Referenced by GDBBreakpointWidget(), and slotAddBreakpoint().

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

Definition at line 98 of file gdbbreakpointwidget.h.

Referenced by GDBBreakpointWidget().

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

Definition at line 99 of file gdbbreakpointwidget.h.

Referenced by GDBBreakpointWidget().

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

Definition at line 100 of file gdbbreakpointwidget.h.

Referenced by GDBBreakpointWidget().

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

Definition at line 95 of file gdbbreakpointwidget.h.

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


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