diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:18:52 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 04:18:52 +0000 |
commit | 648ba4a456d3aad2825193ff8f3bd52a875783b5 (patch) | |
tree | 0b50d2253a0c85238cc4dcba5c4f949de3f0eb15 /kverbos/kverbos/kverbosuser.cpp | |
parent | 98a12d05a48814bec3870b9a6d5865475cfa1c95 (diff) | |
download | tdeedu-648ba4a456d3aad2825193ff8f3bd52a875783b5.tar.gz tdeedu-648ba4a456d3aad2825193ff8f3bd52a875783b5.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1212481 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; |