KDevelop API Documentation

languages/pascal/problemreporter.h

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