diff options
Diffstat (limited to 'umbrello/umbrello/codegenerationpolicy.cpp')
-rw-r--r-- | umbrello/umbrello/codegenerationpolicy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/umbrello/umbrello/codegenerationpolicy.cpp b/umbrello/umbrello/codegenerationpolicy.cpp index 9cac6c3a..fcb9043c 100644 --- a/umbrello/umbrello/codegenerationpolicy.cpp +++ b/umbrello/umbrello/codegenerationpolicy.cpp @@ -552,7 +552,7 @@ TQString CodeGenerationPolicy::getHeadingFile(const TQString& str) { retstr.replace( TQRegExp("%author%"),TQString(getenv("USER"))); //get the user name from some where else retstr.replace( TQRegExp("%headingpath%"),filename ); retstr.replace( TQRegExp("%time%"), TQTime::currentTime().toString()); - retstr.replace( TQRegExp("%date%"), TQDate::tqcurrentDate().toString()); + retstr.replace( TQRegExp("%date%"), TQDate::currentDate().toString()); // the replace filepath, time parts are also in the code document updateHeader method // (which is not a virtual function)... |