2
Copyright (C) 2002 by Roberto Raggi <roberto@kdevelop.org>
3
Copyright (C) 2003 Oliver Kellogg <okellogg@users.sourceforge.net>
5
This library is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Library General Public
7
version 2, License as published by the Free Software Foundation.
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Library General Public License for more details.
14
You should have received a copy of the GNU Library General Public License
15
along with this library; see the file COPYING.LIB. If not, write to
16
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
Boston, MA 02111-1307, USA.
20
#ifndef PROBLEMSREPORTER_H
21
#define PROBLEMSREPORTER_H
23
#include <qlistview.h>
28
class BackgroundParser;
34
namespace KTextEditor{
40
class ProblemReporter: public QListView{
43
ProblemReporter( AdaSupportPart* part, QWidget* parent=0, const char* name=0 );
44
virtual ~ProblemReporter();
46
virtual void reportError( QString message, QString filename,
47
int line, int column );
49
virtual void reportWarning( QString message, QString filename,
50
int line, int column );
52
virtual void reportMessage( QString message, QString filename,
53
int line, int column );
58
void configWidget( KDialogBase* );
61
void slotPartAdded( KParts::Part* );
62
void slotPartRemoved( KParts::Part* );
63
void slotActivePartChanged( KParts::Part* );
64
void slotTextChanged();
65
void slotSelected( QListViewItem* );
68
AdaSupportPart* m_adaSupport;
69
KTextEditor::EditInterface* m_editor;
70
KTextEditor::Document* m_document;
71
KTextEditor::MarkInterface* m_markIface;
76
BackgroundParser* m_bgParser;