2
Copyright (C) 2002 by Roberto Raggi <roberto@kdevelop.org>
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Library General Public
6
version 2, License as published by the Free Software Foundation.
8
This library is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
Library General Public License for more details.
13
You should have received a copy of the GNU Library General Public License
14
along with this library; see the file COPYING.LIB. If not, write to
15
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16
Boston, MA 02111-1307, USA.
19
#ifndef PROBLEMSREPORTER_H
20
#define PROBLEMSREPORTER_H
22
#include <qlistview.h>
24
class PascalSupportPart;
27
class BackgroundParser;
33
namespace KTextEditor{
39
class ProblemReporter: public QListView{
42
ProblemReporter( PascalSupportPart* part, QWidget* parent=0, const char* name=0 );
43
virtual ~ProblemReporter();
45
virtual void reportError( QString message, QString filename,
46
int line, int column );
48
virtual void reportWarning( QString message, QString filename,
49
int line, int column );
51
virtual void reportMessage( QString message, QString filename,
52
int line, int column );
57
void configWidget( KDialogBase* );
60
void slotPartAdded( KParts::Part* );
61
void slotPartRemoved( KParts::Part* );
62
void slotActivePartChanged( KParts::Part* );
63
void slotTextChanged();
64
void slotSelected( QListViewItem* );
67
PascalSupportPart* m_pascalSupport;
68
KTextEditor::EditInterface* m_editor;
69
KTextEditor::Document* m_document;
70
KTextEditor::MarkInterface* m_markIface;
75
BackgroundParser* m_bgParser;