KDevelop API Documentation

javadebuggerpart.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 1999-2001 by John Birch                                 *
00003  *   jbb@kdevelop.org                                                      *
00004  *   Copyright (C) 2001 by Bernd Gehrmann                                  *
00005  *   bernd@kdevelop.org                                                    *
00006  *                                                                         *
00007  *   This program is free software; you can redistribute it and/or modify  *
00008  *   it under the terms of the GNU General Public License as published by  *
00009  *   the Free Software Foundation; either version 2 of the License, or     *
00010  *   (at your option) any later version.                                   *
00011  *                                                                         *
00012  ***************************************************************************/
00013 
00014 #ifndef _DEBUGGERPART_H_
00015 #define _DEBUGGERPART_H_
00016 
00017 #include <qguardedptr.h>
00018 #include "kdevplugin.h"
00019 
00020 #include <kdevgenericfactory.h>
00021 
00022 namespace JAVADebugger
00023 {
00024 
00025 class VariableWidget;
00026 class BreakpointWidget;
00027 class FramestackWidget;
00028 class DisassembleWidget;
00029 class Breakpoint;
00030 class DbgController;
00031 class DbgToolBar;
00032 
00033 
00034 class JavaDebuggerPart : public KDevPlugin
00035 {
00036     Q_OBJECT
00037 
00038 public:
00039     JavaDebuggerPart( QObject *parent, const char *name, const QStringList & );
00040     ~JavaDebuggerPart();
00041 
00042 private slots:
00043     void slotRun();
00044     void slotStop();
00045     void slotPause();
00046     void slotContinue();
00047     void slotStepOver();
00048     void slotStepIntoInstruction();
00049     void slotStepInto();
00050     void slotStepOut();
00051     void slotMemoryView();
00052 
00053     void slotRefreshBPState(Breakpoint *BP);
00054     void slotStatus(const QString &msg, int state);
00055     void slotShowStep(const QString &, int);
00056     void slotGotoSource(const QString &, int);
00057 
00058 private:
00059     void startDebugger();
00060     void setupController();
00061 
00062     QGuardedPtr<VariableWidget> variableWidget;
00063     QGuardedPtr<BreakpointWidget> breakpointWidget;
00064     QGuardedPtr<FramestackWidget> framestackWidget;
00065     QGuardedPtr<DisassembleWidget> disassembleWidget;
00066     DbgController *controller;
00067     //    QGuardedPtr<DbgToolBar> floatingToolBar;
00068 };
00069 
00070 typedef KDevGenericFactory<JavaDebuggerPart> JavaDebuggerFactory;
00071 
00072 }
00073 
00074 #endif
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:03:47 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003