diff options
Diffstat (limited to 'krename/dateplugin.cpp')
-rw-r--r-- | krename/dateplugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/krename/dateplugin.cpp b/krename/dateplugin.cpp index e55e7ae..eb4b702 100644 --- a/krename/dateplugin.cpp +++ b/krename/dateplugin.cpp @@ -59,7 +59,7 @@ TQString DatePlugin::processFile(BatchRenamer* b, int i, TQString token, int ) token = token.mid( getPattern().length(), token.length() - getPattern().length() ); - TQDate d = TQDate::tqcurrentDate(); + TQDate d = TQDate::currentDate(); TQTime t = TQTime::currentTime(); TQString tmp, text; TQString format = "dd-MM-yyyy"; @@ -71,7 +71,7 @@ TQString DatePlugin::processFile(BatchRenamer* b, int i, TQString token, int ) token = token.lower(); if( token == "date" ) { - return TQDateTime::tqcurrentDateTime().toString( format ); + return TQDateTime::currentDateTime().toString( format ); } else if( token == "year" ) return TQString( "%1" ).tqarg( d.year() ); else if( token == "month" ) |