diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-06-23 09:46:45 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-06-23 09:46:45 (GMT) |
commit | 54bcd31ff103383c6c75ed87b00f846ec29b8040 (patch) | |
tree | c485ad24b61429cd10455b2d438236483a47c189 /addon/doxmlparser/examples | |
parent | f7c4c021594300b449c3991de8c0918ad7f965af (diff) | |
download | Doxygen-54bcd31ff103383c6c75ed87b00f846ec29b8040.zip Doxygen-54bcd31ff103383c6c75ed87b00f846ec29b8040.tar.gz Doxygen-54bcd31ff103383c6c75ed87b00f846ec29b8040.tar.bz2 |
Release-1.2.16-20020623
Diffstat (limited to 'addon/doxmlparser/examples')
-rw-r--r-- | addon/doxmlparser/examples/metrics/main.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/addon/doxmlparser/examples/metrics/main.cpp b/addon/doxmlparser/examples/metrics/main.cpp index 6c2ad1a..9553172 100644 --- a/addon/doxmlparser/examples/metrics/main.cpp +++ b/addon/doxmlparser/examples/metrics/main.cpp @@ -92,7 +92,7 @@ int main(int argc,char **argv) ICompound *comp; for (cli->toFirst();(comp=cli->current());cli->toNext()) { - printf("Processing %s...\n",comp->name().data()); + printf("Processing %s...\n",comp->name()->latin1()); bool hasDocs = isDocumented(comp->briefDescription(),comp->detailedDescription()); switch (comp->kind()) { @@ -108,7 +108,6 @@ int main(int argc,char **argv) case ICompound::File: numFiles++; break; case ICompound::Group: numGroups++; break; case ICompound::Page: numPages++; break; - case ICompound::Package: numPackages++; break; default: break; } @@ -120,7 +119,7 @@ int main(int argc,char **argv) IMember *mem; for (mli->toFirst();(mem=mli->current());mli->toNext()) { - IParamIterator *pli = mem->params(); + IParamIterator *pli = mem->parameters(); IParam *par; if (comp->kind()==ICompound::Class || comp->kind()==ICompound::Struct || @@ -203,7 +202,7 @@ int main(int argc,char **argv) { numParams++; } - if (mem->typeString()!="void") + if (QString(mem->typeString()->latin1())!="void") { numParams++; // count non-void return types as well } |