diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 551fb6d0d8c5d2ed90363a1017816d252b03d9bd (patch) | |
tree | 80f1396a23fdc417726dcf1d8b4b3aba82588068 /src/function.cpp | |
parent | 1b7882c63e0e5e7926595444122726270617279b (diff) | |
download | abakus-551fb6d0d8c5d2ed90363a1017816d252b03d9bd.tar.gz abakus-551fb6d0d8c5d2ed90363a1017816d252b03d9bd.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/abakus@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/function.cpp')
-rw-r--r-- | src/function.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/function.cpp b/src/function.cpp index a61b8f9..9cab08a 100644 --- a/src/function.cpp +++ b/src/function.cpp @@ -89,8 +89,8 @@ bool FunctionManager::addFunction(const TQString &name, function_t fn, const TQS newFn->description = desc; newFn->fn = fn; newFn->userDefined = false; - newFn->returnsTrig = fnName.tqcontains(returnTrigRE); - newFn->needsTrig = fnName.tqcontains(needsTrigRE); + newFn->returnsTrig = fnName.contains(returnTrigRE); + newFn->needsTrig = fnName.contains(needsTrigRE); m_dict.insert(name, newFn); @@ -179,10 +179,10 @@ bool FunctionManager::addFunction(BaseFunction *fn, const TQString &dependantVar fnTabEntry->needsTrig = false; fnTabEntry->userDefined = true; - if(m_dict.tqfind(fn->name())) + if(m_dict.find(fn->name())) emit signalFunctionRemoved(fn->name()); - m_dict.tqreplace(fn->name(), fnTabEntry); + m_dict.replace(fn->name(), fnTabEntry); emit signalFunctionAdded(fn->name()); return true; |