diff options
Diffstat (limited to 'kverbos/kverbos/kverbosuser.cpp')
-rw-r--r-- | kverbos/kverbos/kverbosuser.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kverbos/kverbos/kverbosuser.cpp b/kverbos/kverbos/kverbosuser.cpp index 2794b051..64d319af 100644 --- a/kverbos/kverbos/kverbosuser.cpp +++ b/kverbos/kverbos/kverbosuser.cpp @@ -35,7 +35,7 @@ KVerbosUser::KVerbosUser(spanishVerbList* pL, TQString n/*=DEFAULTUSER*/) // try to read the user-information if there is one. int pos; while ((pos = n.find(' ')) != -1) - n.tqreplace(pos, 1, "_"); + n.replace(pos, 1, "_"); TQFile file(locateLocal("data", "/kverbos/data/"+name+".kverbos")); if ( file.open(IO_ReadOnly) ) { @@ -210,7 +210,7 @@ bool KVerbosUser::saveUser(const int& res, const int& num) { int pos; while ((pos = name.find(' ')) != -1) - name.tqreplace(pos, 1, "_"); + name.replace(pos, 1, "_"); TQFile file(locateLocal("data", "/kverbos/data/"+name+".kverbos")); if ( file.open(IO_WriteOnly) ) { @@ -227,7 +227,7 @@ bool KVerbosUser::saveUser(const int& res, const int& num) }; if (j == 1) { - TQDate d = TQDate::tqcurrentDate(); + TQDate d = TQDate::currentDate(); t << d.toString() << endl; t << res << endl; t << num << endl; |