From kde-commits Tue May 27 21:36:50 2003 From: Falk Brettschneider Date: Tue, 27 May 2003 21:36:50 +0000 To: kde-commits Subject: kdevelop/parts/javasupport X-MARC-Message: https://marc.info/?l=kde-commits&m=105407141708887 CVS commit by falkbr: KDE 3.0 compile fixes M +1 -0 Makefile.am 1.24 M +4 -2 doxydoc.cpp 1.2 --- kdevelop/parts/javasupport/Makefile.am #1.23:1.24 @@ -11,4 +11,5 @@ -I$(top_srcdir)/lib/util \ -I$(top_srcdir)/lib/catalog \ + -I$(top_srcdir)/lib/compat \ $(all_includes) --- kdevelop/parts/javasupport/doxydoc.cpp #1.1:1.2 @@ -17,6 +17,8 @@ #include #include +#include + void DoxyDoc::formatType( QString& str ) { - str.remove( ' ' ); + str.replace( QRegExp(" "),"" ); }; @@ -31,5 +33,5 @@ QString DoxyDoc::functionDescription( co bool foundfile = false; //produce doxygen conform filenames - QString filename = "/class" + scope.replace('_', "__").replace( "::", "_1_1" ) + ".xml"; + QString filename = "/class" + scope.replace(QRegExp("_"), "__").replace( QRegExp("::"), "_1_1" ) + ".xml"; //search for file in all directories for (std::list::const_iterator ci = m_dirs.begin(); !foundfile && ci != m_dirs.end(); ++ci){