KDevelop API Documentation

lib/interfaces/kdevdebugger.h

Go to the documentation of this file.
00001 /* This file is part of the KDE project 00002 Copyright (C) 2002 Matthias Hoelzer-Kluepfel <hoelzer@kde.org> 00003 Copyright (C) 2002 John Firebaugh <jfirebaugh@kde.org> 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License as published by the Free Software Foundation; either 00008 version 2 of the License, or (at your option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 You should have received a copy of the GNU Library General Public License 00016 along with this library; see the file COPYING.LIB. If not, write to 00017 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00018 Boston, MA 02111-1307, USA. 00019 */ 00020 #ifndef _KDEVDEBUGGER_H_ 00021 #define _KDEVDEBUGGER_H_ 00022 00023 00024 #include <qobject.h> 00025 #include <qpixmap.h> 00026 00027 00028 #include <kurl.h> 00029 00030 00031 class KDevDebugger : public QObject 00032 { 00033 Q_OBJECT 00034 00035 public: 00036 00037 KDevDebugger(QObject *parent=0, const char *name=0); 00038 ~KDevDebugger(); 00039 00044 virtual void setBreakpoint(const QString &fileName, int lineNum, 00045 int id, bool enabled, bool pending) = 0; 00046 00052 virtual void gotoExecutionPoint(const KURL &url, int lineNum=0) = 0; 00053 00057 virtual void clearExecutionPoint() = 0; 00058 00059 static const QPixmap* inactiveBreakpointPixmap(); 00060 static const QPixmap* activeBreakpointPixmap(); 00061 static const QPixmap* reachedBreakpointPixmap(); 00062 static const QPixmap* disabledBreakpointPixmap(); 00063 static const QPixmap* executionPointPixmap(); 00064 00065 signals: 00066 00070 void toggledBreakpoint(const QString &fileName, int lineNum); 00071 00072 /* 00073 * The user wants to edit the properties of a breakpoint. 00074 */ 00075 void editedBreakpoint(const QString &fileName, int lineNum); 00076 00080 void toggledBreakpointEnabled(const QString &fileName, int lineNum); 00081 00082 }; 00083 00084 00085 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:08 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003