summaryrefslogtreecommitdiffstats
path: root/certmanager/lib/tests/test.data
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /certmanager/lib/tests/test.data
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'certmanager/lib/tests/test.data')
-rw-r--r--certmanager/lib/tests/test.data4
1 files changed, 2 insertions, 2 deletions
diff --git a/certmanager/lib/tests/test.data b/certmanager/lib/tests/test.data
index f09481ba5..b4bce1a93 100644
--- a/certmanager/lib/tests/test.data
+++ b/certmanager/lib/tests/test.data
@@ -116,7 +116,7 @@ static int status( void * void_ctx, const char * line ) {
static int inquire( void * void_ctx, const char * keyword ) {
assuan_context_t ctx = (assuan_context_t)void_ctx;
assert( ctx );
- const std::map<std::string,std::string>::const_iterator it = inquireData.tqfind( keyword );
+ const std::map<std::string,std::string>::const_iterator it = inquireData.find( keyword );
if ( it == inquireData.end() )
return gpg_error( GPG_ERR_UNKNOWN_COMMAND );
@@ -179,7 +179,7 @@ int main( int argc, char * argv[] ) {
options.push_back( argv[++optind] );
} else if ( qstrcmp( arg, "--inquire" ) == 0 ) {
const std::string inqval = argv[++optind];
- const size_t pos = inqval.tqfind( '=' );
+ const size_t pos = inqval.find( '=' );
// ### implement indirection with "@file"...
inquireData[inqval.substr( 0, pos )] = inqval.substr( pos+1 );
} else {