KDevelop API Documentation

languages/ada/problemreporter.h

Go to the documentation of this file.
00001 /* $Id: problemreporter.h,v 1.1 2003/05/01 23:47:38 okellogg Exp $ 00002 Copyright (C) 2002 by Roberto Raggi <roberto@kdevelop.org> 00003 Copyright (C) 2003 Oliver Kellogg <okellogg@users.sourceforge.net> 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 version 2, License as published by the Free Software Foundation. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Library General Public License for more details. 00013 00014 You should have received a copy of the GNU Library General Public License 00015 along with this library; see the file COPYING.LIB. If not, write to 00016 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00017 Boston, MA 02111-1307, USA. 00018 */ 00019 00020 #ifndef PROBLEMSREPORTER_H 00021 #define PROBLEMSREPORTER_H 00022 00023 #include <qlistview.h> 00024 00025 class AdaSupportPart; 00026 class QTimer; 00027 class KDialogBase; 00028 class BackgroundParser; 00029 00030 namespace KParts{ 00031 class Part; 00032 } 00033 00034 namespace KTextEditor{ 00035 class EditInterface; 00036 class MarkInterface; 00037 class Document; 00038 } 00039 00040 class ProblemReporter: public QListView{ 00041 Q_OBJECT 00042 public: 00043 ProblemReporter( AdaSupportPart* part, QWidget* parent=0, const char* name=0 ); 00044 virtual ~ProblemReporter(); 00045 00046 virtual void reportError( QString message, QString filename, 00047 int line, int column ); 00048 00049 virtual void reportWarning( QString message, QString filename, 00050 int line, int column ); 00051 00052 virtual void reportMessage( QString message, QString filename, 00053 int line, int column ); 00054 00055 public slots: 00056 void reparse(); 00057 void configure(); 00058 void configWidget( KDialogBase* ); 00059 00060 private slots: 00061 void slotPartAdded( KParts::Part* ); 00062 void slotPartRemoved( KParts::Part* ); 00063 void slotActivePartChanged( KParts::Part* ); 00064 void slotTextChanged(); 00065 void slotSelected( QListViewItem* ); 00066 00067 private: 00068 AdaSupportPart* m_adaSupport; 00069 KTextEditor::EditInterface* m_editor; 00070 KTextEditor::Document* m_document; 00071 KTextEditor::MarkInterface* m_markIface; 00072 QTimer* m_timer; 00073 QString m_filename; 00074 int m_active; 00075 int m_delay; 00076 BackgroundParser* m_bgParser; 00077 }; 00078 00079 #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 Tue Oct 19 08:01:41 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003