2 * Copyright Johannes Sixt
3 * This file is licensed under the GNU General Public License Version 2.
4 * See the file COPYING in the toplevel directory of the source directory.
14 #include "ui_brkptbase.h"
20 class BreakpointTable
: public QWidget
24 BreakpointTable(QWidget
* parent
);
26 void setDebugger(KDebugger
* deb
) { m_debugger
= deb
; }
29 KDebugger
* m_debugger
;
31 std::vector
<QIcon
> m_icons
;
33 void insertBreakpoint(int num
, bool temp
, bool enabled
, QString location
,
34 QString fileName
= 0, int lineNo
= -1,
35 int hits
= 0, uint ignoreCount
= 0,
36 QString condition
= QString());
37 void initListAndIcons();
38 virtual bool eventFilter(QObject
* ob
, QEvent
* ev
);
40 friend class BreakpointItem
;
44 * This signal is emitted when the user wants to go to the source code
45 * where the current breakpoint is in.
47 * @param file specifies the file; this is not necessarily a full path
48 * name, and if it is relative, you won't know relative to what, you
50 * @param lineNo specifies the line number (0-based!).
51 * @param address specifies the exact address of the breakpoint.
53 void activateFileLine(const QString
& file
, int lineNo
, const DbgAddr
& address
);
55 void on_btAddBP_clicked();
56 void on_btAddWP_clicked();
57 void on_btRemove_clicked();
58 void on_btEnaDis_clicked();
59 void on_btViewCode_clicked();
60 void on_btConditional_clicked();
62 void updateBreakList();