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"
21 class BreakpointTable
: public QWidget
25 BreakpointTable(QWidget
* parent
);
27 void setDebugger(KDebugger
* deb
) { m_debugger
= deb
; }
30 KDebugger
* m_debugger
;
32 std::vector
<QIcon
> m_icons
;
34 void insertBreakpoint(int num
, bool temp
, bool enabled
, QString location
,
35 QString fileName
= 0, int lineNo
= -1,
36 int hits
= 0, uint ignoreCount
= 0,
37 QString condition
= QString());
38 void initListAndIcons();
39 virtual bool eventFilter(QObject
* ob
, QEvent
* ev
);
41 friend class BreakpointItem
;
45 * This signal is emitted when the user wants to go to the source code
46 * where the current breakpoint is in.
48 * @param file specifies the file; this is not necessarily a full path
49 * name, and if it is relative, you won't know relative to what, you
51 * @param lineNo specifies the line number (0-based!).
52 * @param address specifies the exact address of the breakpoint.
54 void activateFileLine(const QString
& file
, int lineNo
, const DbgAddr
& address
);
56 void on_btAddBP_clicked();
57 void on_btAddWP_clicked();
58 void on_btRemove_clicked();
59 void on_btEnaDis_clicked();
60 void on_btViewCode_clicked();
61 void on_btConditional_clicked();
63 void updateBreakList();