diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-04-18 13:59:11 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-04-18 13:59:11 (GMT) |
commit | 85b3296309775195f499c1ae43ad2575379a1e55 (patch) | |
tree | 5a45c08fe6f9334d87e18a8b8271d2c8cbb71e93 /src/util.cpp | |
parent | 707831ea739af5ae137c9cc1d04e3ffbbde11a6a (diff) | |
download | Doxygen-85b3296309775195f499c1ae43ad2575379a1e55.zip Doxygen-85b3296309775195f499c1ae43ad2575379a1e55.tar.gz Doxygen-85b3296309775195f499c1ae43ad2575379a1e55.tar.bz2 |
Release-1.6.3-20100418
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/src/util.cpp b/src/util.cpp index 1bb85f2..f6213cd 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -2255,6 +2255,16 @@ QCString fileToString(const char *name,bool filter) QCString dateToString(bool includeTime) { + QDateTime current = QDateTime::currentDateTime(); + return theTranslator->trDateTime(current.date().year(), + current.date().month(), + current.date().day(), + current.date().dayOfWeek(), + current.time().hour(), + current.time().minute(), + current.time().second(), + includeTime); +#if 0 if (includeTime) { return convertToQCString(QDateTime::currentDateTime().toString()); @@ -2269,6 +2279,7 @@ QCString dateToString(bool includeTime) d.year()); return result; } +#endif } QCString yearToString() @@ -3684,7 +3695,7 @@ bool getDefs(const QCString &scName,const QCString &memberName, //printf("mName=%s mn=%p\n",mName.data(),mn); if (!forceEmptyScope && mn && !(scopeName.isEmpty() && mScope.isEmpty())) { - //printf(" >member name found\n"); + //printf(" >member name '%s' found\n",mName.data()); int scopeOffset=scopeName.length(); do { @@ -3695,13 +3706,13 @@ bool getDefs(const QCString &scName,const QCString &memberName, } else if (!mScope.isEmpty()) { - className=mScope.copy(); + className=mScope; } - //printf("Trying class scope %s\n",className.data()); - ClassDef *fcd=0; + ClassDef *fcd=getResolvedClass(Doxygen::globalScope,0,className); + //printf("Trying class scope %s: %p\n",className.data(),fcd); // todo: fill in correct fileScope! - if ((fcd=getResolvedClass(Doxygen::globalScope,0,className)) && // is it a documented class + if (fcd && // is it a documented class fcd->isLinkable() ) { |