diff options
Diffstat (limited to 'umbrello/umbrello/codegenerationpolicy.cpp')
-rw-r--r-- | umbrello/umbrello/codegenerationpolicy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/umbrello/umbrello/codegenerationpolicy.cpp b/umbrello/umbrello/codegenerationpolicy.cpp index 273018b6..9cac6c3a 100644 --- a/umbrello/umbrello/codegenerationpolicy.cpp +++ b/umbrello/umbrello/codegenerationpolicy.cpp @@ -23,7 +23,7 @@ // qt includes #include <tqstringlist.h> #include <tqregexp.h> -#include <textstream.h> +#include <tqtextstream.h> #include <tqdatetime.h> // kde includes @@ -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::currentDate().toString()); + retstr.replace( TQRegExp("%date%"), TQDate::tqcurrentDate().toString()); // the replace filepath, time parts are also in the code document updateHeader method // (which is not a virtual function)... |