• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • KDevelop Debugger Support Library
 

KDevelop Debugger Support Library

  • languages
  • lib
  • debugger
kdevdebugger.h
1 /* This file is part of the KDE project
2  Copyright (C) 2002 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
3  Copyright (C) 2002 John Firebaugh <jfirebaugh@kde.org>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 #ifndef _KDEVDEBUGGER_H_
21 #define _KDEVDEBUGGER_H_
22 
23 
24 #include <tqobject.h>
25 #include <tqpixmap.h>
26 
27 
28 #include <kurl.h>
29 
34 class KDevDebugger : public TQObject
35 {
36  Q_OBJECT
37 
38 
39 public:
40 
41  KDevDebugger(TQObject *parent=0, const char *name=0);
42  ~KDevDebugger();
43 
48  virtual void setBreakpoint(const TQString &fileName, int lineNum,
49  int id, bool enabled, bool pending) = 0;
50 
56  virtual void gotoExecutionPoint(const KURL &url, int lineNum=0) = 0;
57 
61  virtual void clearExecutionPoint() = 0;
62 
63  static const TQPixmap* inactiveBreakpointPixmap();
64  static const TQPixmap* activeBreakpointPixmap();
65  static const TQPixmap* reachedBreakpointPixmap();
66  static const TQPixmap* disabledBreakpointPixmap();
67  static const TQPixmap* executionPointPixmap();
68 
69 signals:
70 
74  void toggledBreakpoint(const TQString &fileName, int lineNum);
75 
76  /*
77  * The user wants to edit the properties of a breakpoint.
78  */
79  void editedBreakpoint(const TQString &fileName, int lineNum);
80 
84  void toggledBreakpointEnabled(const TQString &fileName, int lineNum);
85 
86 };
87 
88 
89 #endif
KDevDebugger::toggledBreakpoint
void toggledBreakpoint(const TQString &fileName, int lineNum)
The user has toggled a breakpoint.
KDevDebugger::clearExecutionPoint
virtual void clearExecutionPoint()=0
Clear the execution point.
KDevDebugger::setBreakpoint
virtual void setBreakpoint(const TQString &fileName, int lineNum, int id, bool enabled, bool pending)=0
Sets a breakpoint in the editor document belong to fileName.
KDevDebugger
Base class to handle signals from the editor that relate to breakpoints and the execution point of th...
Definition: kdevdebugger.h:34
KDevDebugger::gotoExecutionPoint
virtual void gotoExecutionPoint(const KURL &url, int lineNum=0)=0
Goes to a given location in a source file and marks the line.
KDevDebugger::toggledBreakpointEnabled
void toggledBreakpointEnabled(const TQString &fileName, int lineNum)
The user wants to enable/disable a breakpoint.

KDevelop Debugger Support Library

Skip menu "KDevelop Debugger Support Library"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDevelop Debugger Support Library

Skip menu "KDevelop Debugger Support Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for KDevelop Debugger Support Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.