KDevelop API Documentation

languages/php/phperrorview.h

Go to the documentation of this file.
00001 /*************************************************************************** 00002 phperrorview.h - description 00003 ------------------- 00004 begin : Sat May 26 2001 00005 copyright : (C) 2001 by 00006 email : 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef PHPERRORVIEW_H 00019 #define PHPERRORVIEW_H 00020 00021 #include <qwidget.h> 00022 #include <qlistbox.h> 00023 #include <qintdict.h> 00024 #include <qstring.h> 00025 00026 class PHPSupportPart; 00027 00028 class ErrorItem { 00029 public: 00030 QString filename; 00031 int line; 00032 }; 00033 00038 class PHPErrorView : public QListBox { 00039 Q_OBJECT 00040 public: 00041 PHPErrorView(PHPSupportPart *part); 00042 ~PHPErrorView(); 00043 void parse(QString& phpOutput); 00044 00045 signals: 00046 void fileSelected(const QString& fileName,int lineNumber); 00047 00048 private slots: 00049 void slotItemSelected(int); 00050 00051 00052 private: 00053 QIntDict<ErrorItem> errorDict; 00054 }; 00055 00056 #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:05 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003