summaryrefslogtreecommitdiffstats
path: root/krename/datetime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krename/datetime.cpp')
-rw-r--r--krename/datetime.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/krename/datetime.cpp b/krename/datetime.cpp
index 077e82d..7c9319f 100644
--- a/krename/datetime.cpp
+++ b/krename/datetime.cpp
@@ -149,7 +149,7 @@ TQString MyDatePlugin::processFile( BatchRenamer* b, int i, TQString, int )
f = fopen((const char *)filename, "r");
if( f == NULL )
- return TQString( i18n("Can't change date of file %1.") ).tqarg(filename);
+ return TQString( i18n("Can't change date of file %1.") ).arg(filename);
fclose( f );
@@ -165,16 +165,16 @@ TQString MyDatePlugin::processFile( BatchRenamer* b, int i, TQString, int )
ti = mktime( &tmp );
if( ti == -1 )
- return TQString( i18n("Can't change date of file %1.") ).tqarg(filename);
+ return TQString( i18n("Can't change date of file %1.") ).arg(filename);
if( stat( (const char *)filename, &st ) == -1 )
- return TQString( i18n("Can't change date of file %1.") ).tqarg(filename);
+ return TQString( i18n("Can't change date of file %1.") ).arg(filename);
t->actime = st.st_atime;
t->modtime = ti;
if(utime( (const char *)filename, t ) != 0)
- return TQString( i18n("Can't change date of file %1.") ).tqarg(filename);
+ return TQString( i18n("Can't change date of file %1.") ).arg(filename);
return TQString();
#else
@@ -189,7 +189,7 @@ TQString MyDatePlugin::processFile( BatchRenamer* b, int i, TQString, int )
f = fopen((const char *)filename, "r");
if( f == NULL )
- return TQString( i18n("Can't change date of file %1.") ).tqarg(filename);
+ return TQString( i18n("Can't change date of file %1.") ).arg(filename);
fclose( f );
@@ -204,10 +204,10 @@ TQString MyDatePlugin::processFile( BatchRenamer* b, int i, TQString, int )
ti = mktime( &tmp );
if( ti == -1 )
- return TQString( i18n("Can't change date of file %1.") ).tqarg(filename);
+ return TQString( i18n("Can't change date of file %1.") ).arg(filename);
if( stat( (const char *)filename, &st ) == -1 )
- return TQString( i18n("Can't change date of file %1.") ).tqarg(filename);
+ return TQString( i18n("Can't change date of file %1.") ).arg(filename);
if(dvals.changeAccess)
t->actime = ti;
@@ -220,7 +220,7 @@ TQString MyDatePlugin::processFile( BatchRenamer* b, int i, TQString, int )
t->modtime = st.st_mtime;
if(utime( (const char *)filename, t ) != 0)
- return TQString( i18n("Can't change date of file %1.") ).tqarg(filename);
+ return TQString( i18n("Can't change date of file %1.") ).arg(filename);
return TQString();
#endif