Litle patch for parts/classview

Escuder Nicolas n.escuder at intra-links.com
Fri Apr 29 12:18:03 UTC 2005


Hello,

 

I previously ask about this patch for this impact in the tree, I get no
answer .

 

Anyone want to answer me ???

 

I need this patch for including php include file in the class browser.

 

See You

 

Nicolas

 

 

--- classviewwidget.cpp 2005-02-17 22:24:33.000000000 +0100

+++ /root/kdevelop-3.2.0-atl/parts/classview/classviewwidget.cpp
2005-04-29 09:28:36.000000000 +0200

@@ -166,15 +166,13 @@

 void ClassViewWidget::insertFile( const QString& fileName )

 {

     QString fn = URLUtil::canonicalPath( fileName );

-    if( !m_part->project()->isProjectFile(fn) )

-       return;

     //kdDebug() << "======================== insertFile(" << fn << ")" <<
endl;

 

     FileDom dom = m_part->codeModel()->fileByName( fn );

     if( !dom )

        return;

 

-    fn = m_part->project()->relativeProjectFile( fn );

+    fn = URLUtil::relativePathToFile(m_part->project()->projectDirectory(),
fn);

     QStringList path;

 

     switch( viewMode() )

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20050429/75b84f8c/attachment.html>


More information about the KDevelop-devel mailing list