diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-06-23 09:46:45 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-06-23 09:46:45 (GMT) |
commit | c454a5400393a54586d81517c42f7419b43b3f23 (patch) | |
tree | c485ad24b61429cd10455b2d438236483a47c189 /addon | |
parent | 784e2b65dc675f89c8f21b3c7b306f5fb1bfa4ca (diff) | |
download | Doxygen-c454a5400393a54586d81517c42f7419b43b3f23.zip Doxygen-c454a5400393a54586d81517c42f7419b43b3f23.tar.gz Doxygen-c454a5400393a54586d81517c42f7419b43b3f23.tar.bz2 |
Release-1.2.16-20020623
Diffstat (limited to 'addon')
-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 } |