KDevelop API Documentation

buglistcomponent.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           buglistcomponent.h  -  description
00003                              -------------------
00004     begin                : Sun Dec 10 2000
00005     copyright            : (C) 2000 by Ivan Hawkes
00006     email                : blackhawk@ivanhawkes.com
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef BUGLISTCOMPONENT_H
00019 #define BUGLISTCOMPONENT_H
00020 
00021 #include <qguardedptr.h>
00022 #include <kgenericfactory.h>
00023 #include "kdevplugin.h"
00024 #include "buglist.h"
00025 #include <kaction.h>
00026 //#include <kdevcomponent.h>
00027 //#include <projectspace.h>
00028 
00033 class BugListWidget;
00034 //class KDevLanguageSupport;
00035 //class KDevEditorManager;
00036 //class ProjectSpace;
00037 
00038 class BugListComponent : public KDevPlugin
00039 {
00040 Q_OBJECT
00041 
00042 public:
00043     BugListComponent (QObject *parent, const char *name, const QStringList &args);
00044 //      BugListComponent (QObject *parent=0, const char *name=0);
00045     ~BugListComponent();
00046 //      KDevEditorManager* editorManager();
00047 //      ProjectSpace* projectSpace();
00048         
00049 public slots:   
00050     void slotProjectChanged();
00051     void slotProjectSpaceOpened();
00052     void slotProjectSpaceClosed();
00053     void slotStopButtonClicked();
00054 
00055   // Call this slot to let the widget know to create the buglist editor.
00056     void slotActivate ();
00057 
00058   // Call this slot to let the widget know that the widget is closing itself.
00059     void slotWidgetClosed ();
00060 
00061 protected:
00062     virtual void setupGUI();
00063 
00064 private:
00065     BugList         *m_pBugList;        // The main buglist object.
00066 //    ProjectSpace    *m_pProjectSpace;   // Pointer to the project space.
00067     void             *m_pProjectSpace;   // Pointer to the project space.
00068     KAction         *m_pMenuAction;     // The menu item we add.
00069 
00070     // Configuration info needed by the buglist component.
00071     QString         m_FileName;
00072     QString         m_Initials;
00073     QString         m_UserName;
00074     QString         m_UserEMail;
00075 };
00076 
00077 #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 Tue Feb 22 09:22:38 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003