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 | 72aaee9802d447ee21340b011856b9b355a58f1a (patch) | |
tree | f97a68e4f75e6c25c8492e03fdfe6983fb0aa199 /src/modules/chan | |
parent | 5d03948cd3558c613fae1fad109635f860babcbb (diff) | |
download | kvirc-72aaee9802d447ee21340b011856b9b355a58f1a.tar.gz kvirc-72aaee9802d447ee21340b011856b9b355a58f1a.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/chan')
-rw-r--r-- | src/modules/chan/libkvichan.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/modules/chan/libkvichan.cpp b/src/modules/chan/libkvichan.cpp index b7600f81..174f28be 100644 --- a/src/modules/chan/libkvichan.cpp +++ b/src/modules/chan/libkvichan.cpp @@ -1094,20 +1094,20 @@ static bool chan_kvs_fnc_users(KviKvsModuleFunctionCall * c) KviUserListEntry * e = ch->userListView()->firstItem(); // Thnx Julien :) bool bCheckMask = !szMask.isEmpty(); - bool bOp = szFlags.tqfind('o',false) != -1; - bool bVoice = szFlags.tqfind('v',false) != -1; - bool bHalfOp = szFlags.tqfind('h',false) != -1; - bool bChanAdmins = szFlags.tqfind('a',false) != -1; - bool bUserOp = szFlags.tqfind('u',false) != -1; - bool bNone = szFlags.tqfind('n',false) != -1; + bool bOp = szFlags.find('o',false) != -1; + bool bVoice = szFlags.find('v',false) != -1; + bool bHalfOp = szFlags.find('h',false) != -1; + bool bChanAdmins = szFlags.find('a',false) != -1; + bool bUserOp = szFlags.find('u',false) != -1; + bool bNone = szFlags.find('n',false) != -1; bool bCheckFlags = bOp || bVoice || bHalfOp || bNone || bChanAdmins || bUserOp; - bool bAddMask = szFlags.tqfind('m',false) != -1; + bool bAddMask = szFlags.find('m',false) != -1; int idx = 0; if(bAddMask || bCheckFlags || bCheckMask) { - bool bMaskMustMatch = szFlags.tqfind('i',false) == -1; + bool bMaskMustMatch = szFlags.find('i',false) == -1; KviIrcMask tqmask(szMask); while(e) |