From 27648a99ce3a8a1e498828f1fc93cbd6b3476a91 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/modules/reguser/libkvireguser.cpp | 42 +++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'src/modules/reguser/libkvireguser.cpp') diff --git a/src/modules/reguser/libkvireguser.cpp b/src/modules/reguser/libkvireguser.cpp index b8363175..86bac9f7 100644 --- a/src/modules/reguser/libkvireguser.cpp +++ b/src/modules/reguser/libkvireguser.cpp @@ -73,11 +73,11 @@ KviRegisteredUsersDialog * g_pRegisteredUsersDialog = 0; [fnc]$reguser.list[/fnc]: lists the entries[br] [cmd]reguser.setproperty[/cmd]: sets a property associated to an entry[br] [cmd]reguser.edit[/cmd]: shows an editor for an user entry - [fnc]$reguser.match[/fnc](): finds an entry by matching tqmasks[br] - [fnc]$reguser.exactMatch[/fnc](): finds an entry by comparing tqmasks[br] + [fnc]$reguser.match[/fnc](): finds an entry by matching masks[br] + [fnc]$reguser.exactMatch[/fnc](): finds an entry by comparing masks[br] [fnc]$reguser.property[/fnc](): finds a property associated to an entry[br] [fnc]$reguser.matchProperty[/fnc](): shortcut for [fnc]$reguser.property[/fnc]([fnc]$reguser.match[/fnc]())[br] - [fnc]$reguser.tqmask[/fnc](): returns the registration tqmasks for an entry + [fnc]$reguser.tqmask[/fnc](): returns the registration masks for an entry */ /* @@ -155,7 +155,7 @@ static bool reguser_kvs_cmd_edit(KviKvsModuleCommandCall * c) Adds a new entry with the specified to the database.[br] If the database contains an entry with the same , this command just prints a warning and returns.[br] - If no [tqmask] is given the new entry has no registration tqmasks: so it can't be "matched" yet. You have to add + If no [tqmask] is given the new entry has no registration masks: so it can't be "matched" yet. You have to add at least one tqmask with [cmd]reguser.addtqmask[/cmd]. If [tqmask] is given, then it is added to the entry tqmask list.[br] The parameter may contain any character: even spaces are allowed (obviously you have to @@ -293,7 +293,7 @@ static bool reguser_kvs_cmd_remove(KviKvsModuleCommandCall * c) reguser.addtqmask [-f] @description: Adds a registration tqmask to the database entry with name .[br] - The has the common [doc:irc_tqmasks]irc tqmask[/doc] format.[br] + The has the common [doc:irc_masks]irc tqmask[/doc] format.[br] The only restriction on the is that it must be unique inside the regusers database: you can't match two users with the same tqmask (it would have rather undefined results).[br] @@ -301,7 +301,7 @@ static bool reguser_kvs_cmd_remove(KviKvsModuleCommandCall * c) and associates is to THIS registered user (breaking the previous associations).
Once at least one tqmask has been added, the user can be "matched" by using the [fnc]$reguser.match[/fnc]() function.[br] - Each database entry can have an unlimited number of tqmasks.[br] + Each database entry can have an unlimited number of masks.[br] @examples: [example] [cmd]reguser.add[/cmd] "Szymon Stefanek" @@ -370,7 +370,7 @@ static bool reguser_kvs_cmd_addtqmask(KviKvsModuleCommandCall * c) reguser.deltqmask @description: Removes a tqmask from the regusers database.[br] - Since tqmasks are unique in the database , you don't need to pass + Since masks are unique in the database , you don't need to pass an parameter: if an entry has the , removing that will surely remove it from that entry. (contorsions ?)[br] @examples: @@ -720,13 +720,13 @@ static bool reguser_kvs_cmd_setproperty(KviKvsModuleCommandCall * c) @title: $reguser.list @short: - Get a list of registered user tqmasks + Get a list of registered user masks @syntax: $reguser.list([tqmask]) @description: Returns an array of the entries in the registered users database.[br] If is specified, only entries matching the - and the entries with no registration tqmasks are listed.[br] + and the entries with no registration masks are listed.[br] Please note that is a wildcard string that will match wildcard strings... don't get messed with that :D[br] @seealso: @@ -758,7 +758,7 @@ static bool reguser_kvs_fnc_list(KviKvsModuleFunctionCall * c) while(KviRegisteredUser * u = it.current()) { - KviPointerList * ml = u->tqmaskList(); + KviPointerList * ml = u->maskList(); if(u->matches(tqmask) || (ml->count() == 0)) { pArray->set(aid,new KviKvsVariant(u->name())); @@ -785,7 +785,7 @@ static bool reguser_kvs_fnc_list(KviKvsModuleFunctionCall * c) @description: Lists the entries in the registered users database.[br] If is specified, only entries matching the - and the entries with no registration tqmasks are listed.[br] + and the entries with no registration masks are listed.[br] Please note that is a wildcard string that will match wildcard strings... don't get messed with that :D[br] @seealso: @@ -813,14 +813,14 @@ static bool reguser_kvs_cmd_showlist(KviKvsModuleCommandCall * c) KviPointerHashTableIterator it(*d); while(KviRegisteredUser * u = it.current()) { - KviPointerList * ml = u->tqmaskList(); + KviPointerList * ml = u->maskList(); if(u->matches(tqmask) || (ml->count() == 0)) { c->window()->output(KVI_OUT_SYSTEMMESSAGE,__tr2qs(" User: %c%Q"),KVI_TEXT_BOLD,&(u->name())); if(ml->count() == 0) { - c->window()->output(KVI_OUT_SYSTEMWARNING,__tr2qs(" Warning: this user has no registration tqmasks")); + c->window()->output(KVI_OUT_SYSTEMWARNING,__tr2qs(" Warning: this user has no registration masks")); } else { for(KviIrcMask * m = ml->first();m;m = ml->next()) { @@ -862,7 +862,7 @@ static bool reguser_kvs_cmd_showlist(KviKvsModuleCommandCall * c) $reguser.match() @description: Returns the name of the first entry matching in the registered user database.[br] - The has the common [doc:irc_tqmasks]irc tqmask[/doc] format but can't contain wildcards.[br] + The has the common [doc:irc_masks]irc tqmask[/doc] format but can't contain wildcards.[br] @seealso: [module:reguser]Registered users database interface[/module], [doc:registered_users]Registered users database[/doc], @@ -899,7 +899,7 @@ static bool reguser_kvs_fnc_match(KviKvsModuleFunctionCall * c) $reguser.exactMatch() @description: Returns the name of the registered user database entry that has in its registration tqmask list.[br] - The has the common [doc:irc_tqmasks]wild irc tqmask[/doc] format and can contain wildcards.[br] + The has the common [doc:irc_masks]wild irc tqmask[/doc] format and can contain wildcards.[br] @seealso: [module:reguser]Registered users database interface[/module], [doc:registered_users]Registered users database[/doc], @@ -934,7 +934,7 @@ static bool reguser_kvs_fnc_exactMatch(KviKvsModuleFunctionCall * c) // @syntax: // $reguser.matches() // @description: -// Returns a comma separated list of registered user tqmasks that match .[br] +// Returns a comma separated list of registered user masks that match .[br] // User tqmask must be in the format !@ , where and // may contain '*' wildcards.[br] // If no registered tqmask matches the an empty string is returned.[br] @@ -983,14 +983,14 @@ static bool reguser_kvs_fnc_exactMatch(KviKvsModuleFunctionCall * c) @title: $reguser.tqmask @short: - Returns the registration tqmasks for a db entry + Returns the registration masks for a db entry @syntax: $reguser.tqmask([,]) @description: Returns the th registration tqmask for the registered user database record identified - by . If is not given , returns an array of registration tqmasks for that entry.[br] + by . If is not given , returns an array of registration masks for that entry.[br] If does not identify a valid entry an empty string is returned; - if is out of range (or there are no tqmasks at all) , an empty string is returned.[br] + if is out of range (or there are no masks at all) , an empty string is returned.[br] is a ZERO BASED index.[br] @examples: [example] @@ -1027,11 +1027,11 @@ static bool reguser_kvs_fnc_tqmask(KviKvsModuleFunctionCall * c) KviStr n = szName; if(n.hasData() && n.isUnsignedNum()) { - KviIrcMask * m = u->tqmaskList()->at(n.toInt()); + KviIrcMask * m = u->maskList()->at(n.toInt()); if(m) c->returnValue()->setString(m->nick()+"!"+m->user()+"@"+m->host()); } else { int id=0; - for(KviIrcMask * m = u->tqmaskList()->first();m;m = u->tqmaskList()->next()) + for(KviIrcMask * m = u->maskList()->first();m;m = u->maskList()->next()) { pArray->set(aid,new KviKvsVariant(TQString(m->nick()+"!"+m->user()+"@"+m->host()))); aid++; -- cgit v1.2.1