languages/pascal/problemreporter.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
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
This file is part of the documentation for KDevelop Version 3.0.4.