KDevelop API Documentation

ProblemReporter Class Reference

#include <problemreporter.h>

Inheritance diagram for ProblemReporter:

QListView KListView KListView QListView QListView QListView List of all members.

Public Slots

void reparse ()
void configure ()
void configWidget (KDialogBase *)
void reparse ()
void configure ()
void configWidget (KDialogBase *)
void reparse ()
void configure ()
void configWidget (KDialogBase *)
void reparse ()
void configure ()
void configWidget (KDialogBase *)

Public Member Functions

 ProblemReporter (AdaSupportPart *part, QWidget *parent=0, const char *name=0)
virtual ~ProblemReporter ()
virtual void reportError (QString message, QString filename, int line, int column)
virtual void reportWarning (QString message, QString filename, int line, int column)
virtual void reportMessage (QString message, QString filename, int line, int column)
 ProblemReporter (CppSupportPart *part, QWidget *parent=0, const char *name=0)
virtual ~ProblemReporter ()
void removeAllProblems (const QString &filename)
void reportProblem (const QString &fileName, const Problem &p)
 ProblemReporter (JavaSupportPart *part, QWidget *parent=0, const char *name=0)
virtual ~ProblemReporter ()
void removeAllProblems (const QString &filename)
void reportProblem (const QString &fileName, const Problem &p)
 ProblemReporter (PascalSupportPart *part, QWidget *parent=0, const char *name=0)
virtual ~ProblemReporter ()
virtual void reportError (QString message, QString filename, int line, int column)
virtual void reportWarning (QString message, QString filename, int line, int column)
virtual void reportMessage (QString message, QString filename, int line, int column)

Private Slots

void slotPartAdded (KParts::Part *)
void slotPartRemoved (KParts::Part *)
void slotActivePartChanged (KParts::Part *)
void slotTextChanged ()
void slotSelected (QListViewItem *)
void slotPartAdded (KParts::Part *)
void slotPartRemoved (KParts::Part *)
void slotActivePartChanged (KParts::Part *)
void slotTextChanged ()
void slotSelected (QListViewItem *)
void slotFileParsed (const QString &fileName)
void slotPartAdded (KParts::Part *)
void slotPartRemoved (KParts::Part *)
void slotActivePartChanged (KParts::Part *)
void slotTextChanged ()
void slotSelected (QListViewItem *)
void slotPartAdded (KParts::Part *)
void slotPartRemoved (KParts::Part *)
void slotActivePartChanged (KParts::Part *)
void slotTextChanged ()
void slotSelected (QListViewItem *)

Private Member Functions

QString levelToString (int level) const
int levelToMarkType (int level) const
QString levelToString (int level) const
int levelToMarkType (int level) const

Private Attributes

AdaSupportPartm_adaSupport
KTextEditor::EditInterfacem_editor
KTextEditor::Documentm_document
KTextEditor::MarkInterfacem_markIface
QTimerm_timer
QString m_filename
int m_active
int m_delay
BackgroundParserm_bgParser
CppSupportPartm_cppSupport
QGuardedPtr< KTextEditor::Documentm_document
KTextEditor::MarkInterfacem_markIface
QTimerm_timer
QString m_fileName
int m_canParseFile
JavaSupportPartm_javaSupport
QGuardedPtr< KTextEditor::Documentm_document
KTextEditor::MarkInterfacem_markIface
QTimerm_timer
PascalSupportPartm_pascalSupport
KTextEditor::EditInterfacem_editor
KTextEditor::Documentm_document
KTextEditor::MarkInterfacem_markIface
QTimerm_timer
BackgroundParserm_bgParser

Constructor & Destructor Documentation

ProblemReporter::ProblemReporter AdaSupportPart part,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 78 of file problemreporter.cpp.

References configure(), m_timer, KDevPlugin::partController(), ProblemReporter(), reparse(), slotActivePartChanged(), slotPartAdded(), slotPartRemoved(), and slotSelected().

Referenced by ProblemReporter().

ProblemReporter::~ProblemReporter  )  [virtual]
 

Definition at line 114 of file problemreporter.cpp.

References m_bgParser.

ProblemReporter::ProblemReporter CppSupportPart part,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 81 of file problemreporter.cpp.

References KParts::PartManager::activePart(), configure(), m_canParseFile, m_timer, KDevPlugin::partController(), ProblemReporter(), reparse(), slotActivePartChanged(), slotFileParsed(), slotPartAdded(), slotPartRemoved(), and slotSelected().

virtual ProblemReporter::~ProblemReporter  )  [virtual]
 

ProblemReporter::ProblemReporter JavaSupportPart part,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 82 of file problemreporter.cpp.

References configure(), m_timer, KDevPlugin::partController(), ProblemReporter(), reparse(), slotActivePartChanged(), slotPartAdded(), slotPartRemoved(), and slotSelected().

virtual ProblemReporter::~ProblemReporter  )  [virtual]
 

ProblemReporter::ProblemReporter PascalSupportPart part,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 76 of file problemreporter.cpp.

References configure(), m_timer, KDevPlugin::partController(), ProblemReporter(), reparse(), slotActivePartChanged(), slotPartAdded(), slotPartRemoved(), and slotSelected().

virtual ProblemReporter::~ProblemReporter  )  [virtual]
 


Member Function Documentation

void ProblemReporter::configure  )  [slot]
 

void ProblemReporter::configure  )  [slot]
 

void ProblemReporter::configure  )  [slot]
 

void ProblemReporter::configure  )  [slot]
 

Definition at line 243 of file problemreporter.cpp.

References endl(), kdDebug(), m_active, m_delay, KConfigBase::readBoolEntry(), KConfigBase::readNumEntry(), and KConfigBase::setGroup().

Referenced by configWidget(), and ProblemReporter().

void ProblemReporter::configWidget KDialogBase  )  [slot]
 

void ProblemReporter::configWidget KDialogBase  )  [slot]
 

void ProblemReporter::configWidget KDialogBase  )  [slot]
 

void ProblemReporter::configWidget KDialogBase dlg  )  [slot]
 

Definition at line 252 of file problemreporter.cpp.

References KDialogBase::addVBoxPage(), configure(), configWidget(), endl(), and kdDebug().

Referenced by configWidget().

int ProblemReporter::levelToMarkType int  level  )  const [private]
 

int ProblemReporter::levelToMarkType int  level  )  const [private]
 

Definition at line 292 of file problemreporter.cpp.

References levelToMarkType().

Referenced by levelToMarkType(), and reportProblem().

QString ProblemReporter::levelToString int  level  )  const [private]
 

QString ProblemReporter::levelToString int  level  )  const [private]
 

Definition at line 275 of file problemreporter.cpp.

References levelToString().

Referenced by levelToString(), and reportProblem().

void ProblemReporter::removeAllProblems const QString filename  ) 
 

void ProblemReporter::removeAllProblems const QString filename  ) 
 

Definition at line 176 of file problemreporter.cpp.

References m_document, m_markIface, KTextEditor::MarkInterface::marks(), removeAllProblems(), and KTextEditor::MarkInterface::removeMark().

Referenced by JavaDriver::fileParsed(), CppDriver::fileParsed(), and removeAllProblems().

void ProblemReporter::reparse  )  [slot]
 

void ProblemReporter::reparse  )  [slot]
 

void ProblemReporter::reparse  )  [slot]
 

void ProblemReporter::reparse  )  [slot]
 

Definition at line 152 of file problemreporter.cpp.

References endl(), kdDebug(), m_bgParser, m_delay, m_editor, m_filename, m_markIface, m_timer, KTextEditor::MarkInterface::marks(), KTextEditor::MarkInterface::removeMark(), and KTextEditor::EditInterface::text().

Referenced by ProblemReporter(), and slotActivePartChanged().

virtual void ProblemReporter::reportError QString  message,
QString  filename,
int  line,
int  column
[virtual]
 

void ProblemReporter::reportError QString  message,
QString  filename,
int  line,
int  column
[virtual]
 

Definition at line 203 of file problemreporter.cpp.

References KTextEditor::MarkInterface::addMark(), m_markIface, message(), and reportError().

Referenced by PascalSupportPart::parse(), PascalParser::reportError(), PascalLexer::reportError(), reportError(), and BackgroundParser::run().

virtual void ProblemReporter::reportMessage QString  message,
QString  filename,
int  line,
int  column
[virtual]
 

void ProblemReporter::reportMessage QString  message,
QString  filename,
int  line,
int  column
[virtual]
 

Definition at line 231 of file problemreporter.cpp.

References message(), and reportMessage().

Referenced by PascalParser::reportMessage(), and reportMessage().

void ProblemReporter::reportProblem const QString fileName,
const Problem p
 

void ProblemReporter::reportProblem const QString fileName,
const Problem p
 

Definition at line 220 of file problemreporter.cpp.

References KTextEditor::MarkInterface::addMark(), Problem::column(), Problem::level(), levelToMarkType(), levelToString(), Problem::line(), m_document, m_fileName, m_markIface, reportProblem(), and Problem::text().

Referenced by JavaDriver::fileParsed(), CppDriver::fileParsed(), and reportProblem().

virtual void ProblemReporter::reportWarning QString  message,
QString  filename,
int  line,
int  column
[virtual]
 

void ProblemReporter::reportWarning QString  message,
QString  filename,
int  line,
int  column
[virtual]
 

Definition at line 219 of file problemreporter.cpp.

References message(), and reportWarning().

Referenced by PascalLexer::reportWarning(), and reportWarning().

void ProblemReporter::slotActivePartChanged KParts::Part  )  [private, slot]
 

void ProblemReporter::slotActivePartChanged KParts::Part  )  [private, slot]
 

void ProblemReporter::slotActivePartChanged KParts::Part  )  [private, slot]
 

void ProblemReporter::slotActivePartChanged KParts::Part  )  [private, slot]
 

Definition at line 124 of file problemreporter.cpp.

References m_delay, m_document, m_editor, m_filename, m_markIface, m_timer, KURL::path(), reparse(), slotActivePartChanged(), slotTextChanged(), and KParts::ReadOnlyPart::url().

Referenced by ProblemReporter(), and slotActivePartChanged().

void ProblemReporter::slotFileParsed const QString fileName  )  [private, slot]
 

Definition at line 309 of file problemreporter.cpp.

References m_active, m_canParseFile, m_fileName, and slotFileParsed().

Referenced by ProblemReporter(), and slotFileParsed().

void ProblemReporter::slotPartAdded KParts::Part  )  [private, slot]
 

void ProblemReporter::slotPartAdded KParts::Part  )  [private, slot]
 

void ProblemReporter::slotPartAdded KParts::Part  )  [private, slot]
 

void ProblemReporter::slotPartAdded KParts::Part  )  [private, slot]
 

Definition at line 261 of file problemreporter.cpp.

References KTextEditor::MarkInterfaceExtension::setPixmap(), and slotPartAdded().

Referenced by ProblemReporter(), and slotPartAdded().

void ProblemReporter::slotPartRemoved KParts::Part  )  [private, slot]
 

void ProblemReporter::slotPartRemoved KParts::Part  )  [private, slot]
 

void ProblemReporter::slotPartRemoved KParts::Part  )  [private, slot]
 

void ProblemReporter::slotPartRemoved KParts::Part  )  [private, slot]
 

Definition at line 271 of file problemreporter.cpp.

References endl(), kdDebug(), m_document, m_editor, m_timer, and slotPartRemoved().

Referenced by ProblemReporter(), and slotPartRemoved().

void ProblemReporter::slotSelected QListViewItem  )  [private, slot]
 

void ProblemReporter::slotSelected QListViewItem  )  [private, slot]
 

void ProblemReporter::slotSelected QListViewItem  )  [private, slot]
 

void ProblemReporter::slotSelected QListViewItem  )  [private, slot]
 

Definition at line 195 of file problemreporter.cpp.

References KDevPartController::editDocument(), m_adaSupport, KDevPlugin::partController(), and slotSelected().

Referenced by ProblemReporter(), and slotSelected().

void ProblemReporter::slotTextChanged  )  [private, slot]
 

void ProblemReporter::slotTextChanged  )  [private, slot]
 

void ProblemReporter::slotTextChanged  )  [private, slot]
 

void ProblemReporter::slotTextChanged  )  [private, slot]
 

Definition at line 146 of file problemreporter.cpp.

References m_active, m_delay, and m_timer.

Referenced by slotActivePartChanged().


Member Data Documentation

int ProblemReporter::m_active [private]
 

Definition at line 73 of file problemreporter.h.

Referenced by configure(), slotFileParsed(), and slotTextChanged().

AdaSupportPart* ProblemReporter::m_adaSupport [private]
 

Definition at line 68 of file problemreporter.h.

Referenced by slotSelected().

BackgroundParser* ProblemReporter::m_bgParser [private]
 

Definition at line 75 of file problemreporter.h.

BackgroundParser* ProblemReporter::m_bgParser [private]
 

Definition at line 76 of file problemreporter.h.

Referenced by reparse(), and ~ProblemReporter().

int ProblemReporter::m_canParseFile [private]
 

Definition at line 73 of file problemreporter.h.

Referenced by ProblemReporter(), and slotFileParsed().

CppSupportPart* ProblemReporter::m_cppSupport [private]
 

Definition at line 66 of file problemreporter.h.

int ProblemReporter::m_delay [private]
 

Definition at line 74 of file problemreporter.h.

Referenced by configure(), reparse(), slotActivePartChanged(), and slotTextChanged().

KTextEditor::Document* ProblemReporter::m_document [private]
 

Definition at line 69 of file problemreporter.h.

QGuardedPtr<KTextEditor::Document> ProblemReporter::m_document [private]
 

Definition at line 66 of file problemreporter.h.

QGuardedPtr<KTextEditor::Document> ProblemReporter::m_document [private]
 

Definition at line 67 of file problemreporter.h.

KTextEditor::Document* ProblemReporter::m_document [private]
 

Definition at line 70 of file problemreporter.h.

Referenced by removeAllProblems(), reportProblem(), slotActivePartChanged(), and slotPartRemoved().

KTextEditor::EditInterface* ProblemReporter::m_editor [private]
 

Definition at line 68 of file problemreporter.h.

KTextEditor::EditInterface* ProblemReporter::m_editor [private]
 

Definition at line 69 of file problemreporter.h.

Referenced by reparse(), slotActivePartChanged(), and slotPartRemoved().

QString ProblemReporter::m_fileName [private]
 

Definition at line 69 of file problemreporter.h.

Referenced by reportProblem(), and slotFileParsed().

QString ProblemReporter::m_filename [private]
 

Definition at line 72 of file problemreporter.h.

Referenced by reparse(), and slotActivePartChanged().

JavaSupportPart* ProblemReporter::m_javaSupport [private]
 

Definition at line 65 of file problemreporter.h.

KTextEditor::MarkInterface* ProblemReporter::m_markIface [private]
 

Definition at line 70 of file problemreporter.h.

KTextEditor::MarkInterface* ProblemReporter::m_markIface [private]
 

Definition at line 67 of file problemreporter.h.

KTextEditor::MarkInterface* ProblemReporter::m_markIface [private]
 

Definition at line 68 of file problemreporter.h.

KTextEditor::MarkInterface* ProblemReporter::m_markIface [private]
 

Definition at line 71 of file problemreporter.h.

Referenced by removeAllProblems(), reparse(), reportError(), reportProblem(), and slotActivePartChanged().

PascalSupportPart* ProblemReporter::m_pascalSupport [private]
 

Definition at line 67 of file problemreporter.h.

QTimer* ProblemReporter::m_timer [private]
 

Definition at line 71 of file problemreporter.h.

QTimer* ProblemReporter::m_timer [private]
 

Definition at line 68 of file problemreporter.h.

QTimer* ProblemReporter::m_timer [private]
 

Definition at line 69 of file problemreporter.h.

QTimer* ProblemReporter::m_timer [private]
 

Definition at line 72 of file problemreporter.h.

Referenced by ProblemReporter(), reparse(), slotActivePartChanged(), slotPartRemoved(), and slotTextChanged().


The documentation for this class was generated from the following files:
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:02:05 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003