diff options
Diffstat (limited to 'src/modules/config/libkviconfig.cpp')
-rw-r--r-- | src/modules/config/libkviconfig.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/modules/config/libkviconfig.cpp b/src/modules/config/libkviconfig.cpp index 348dbe8f..97c92ec8 100644 --- a/src/modules/config/libkviconfig.cpp +++ b/src/modules/config/libkviconfig.cpp @@ -92,12 +92,12 @@ static bool config_kvs_fnc_open(KviKvsModuleFunctionCall * c) KviConfig::FileMode fileMode; - if(szMode.tqcontains('r')) + if(szMode.contains('r')) { - if(szMode.tqcontains('w'))fileMode = KviConfig::ReadWrite; + if(szMode.contains('w'))fileMode = KviConfig::ReadWrite; else fileMode = KviConfig::Read; } else { - if(szMode.tqcontains('w'))fileMode = KviConfig::Write; + if(szMode.contains('w'))fileMode = KviConfig::Write; else fileMode = KviConfig::ReadWrite; } @@ -211,7 +211,7 @@ static bool config_kvs_fnc_read(KviKvsModuleFunctionCall * c) KVSM_PARAMETER("default",KVS_PT_STRING,KVS_PF_OPTIONAL,szDefault) KVSM_PARAMETERS_END(c) - KviConfig * cfg = g_pConfigDict->tqfind(szId); + KviConfig * cfg = g_pConfigDict->find(szId); if(cfg) { @@ -247,7 +247,7 @@ static bool config_kvs_fnc_section(KviKvsModuleFunctionCall * c) KVSM_PARAMETER("id",KVS_PT_STRING,0,szId) KVSM_PARAMETERS_END(c) - KviConfig * cfg = g_pConfigDict->tqfind(szId); + KviConfig * cfg = g_pConfigDict->find(szId); if(cfg) { @@ -285,7 +285,7 @@ static bool config_kvs_fnc_readonly(KviKvsModuleFunctionCall * c) KVSM_PARAMETER("id",KVS_PT_STRING,0,szId) KVSM_PARAMETERS_END(c) - KviConfig * cfg = g_pConfigDict->tqfind(szId); + KviConfig * cfg = g_pConfigDict->find(szId); if(cfg) { @@ -323,7 +323,7 @@ static bool config_kvs_fnc_filename(KviKvsModuleFunctionCall * c) KVSM_PARAMETER("id",KVS_PT_STRING,0,szId) KVSM_PARAMETERS_END(c) - KviConfig * cfg = g_pConfigDict->tqfind(szId); + KviConfig * cfg = g_pConfigDict->find(szId); if(cfg) { @@ -360,7 +360,7 @@ static bool config_kvs_fnc_hassection(KviKvsModuleFunctionCall * c) KVSM_PARAMETER("id",KVS_PT_STRING,0,szSect) KVSM_PARAMETERS_END(c) - KviConfig * cfg = g_pConfigDict->tqfind(szId); + KviConfig * cfg = g_pConfigDict->find(szId); if(cfg) { @@ -396,7 +396,7 @@ static bool config_kvs_fnc_sectionlist(KviKvsModuleFunctionCall * c) KVSM_PARAMETER("id",KVS_PT_STRING,0,szId) KVSM_PARAMETERS_END(c) - KviConfig * cfg = g_pConfigDict->tqfind(szId); + KviConfig * cfg = g_pConfigDict->find(szId); if(cfg) { @@ -440,11 +440,11 @@ static bool config_kvs_fnc_keylist(KviKvsModuleFunctionCall * c) KVSM_PARAMETER("id",KVS_PT_STRING,0,szId) KVSM_PARAMETERS_END(c) - KviConfig * cfg = g_pConfigDict->tqfind(szId); + KviConfig * cfg = g_pConfigDict->find(szId); if(cfg) { - KviConfigGroup * d = cfg->dict()->tqfind(cfg->group()); + KviConfigGroup * d = cfg->dict()->find(cfg->group()); if(!d)return true; KviConfigGroupIterator it(*d); @@ -528,7 +528,7 @@ static bool config_kvs_cmd_close(KviKvsModuleCommandCall * c) KVSM_PARAMETER("id",KVS_PT_STRING,0,szId) KVSM_PARAMETERS_END(c) - KviConfig * cfg = g_pConfigDict->tqfind(szId); + KviConfig * cfg = g_pConfigDict->find(szId); if(cfg) { @@ -575,7 +575,7 @@ static bool config_kvs_cmd_flush(KviKvsModuleCommandCall * c) KVSM_PARAMETER("id",KVS_PT_STRING,0,szId) KVSM_PARAMETERS_END(c) - KviConfig * cfg = g_pConfigDict->tqfind(szId); + KviConfig * cfg = g_pConfigDict->find(szId); if(cfg) { @@ -619,7 +619,7 @@ static bool config_kvs_cmd_clear(KviKvsModuleCommandCall * c) KVSM_PARAMETER("id",KVS_PT_STRING,0,szId) KVSM_PARAMETERS_END(c) - KviConfig * cfg = g_pConfigDict->tqfind(szId); + KviConfig * cfg = g_pConfigDict->find(szId); if(cfg) { @@ -663,7 +663,7 @@ static bool config_kvs_cmd_clearsection(KviKvsModuleCommandCall * c) KVSM_PARAMETER("section",KVS_PT_STRING,0,szSect) KVSM_PARAMETERS_END(c) - KviConfig * cfg = g_pConfigDict->tqfind(szId); + KviConfig * cfg = g_pConfigDict->find(szId); if(cfg) { @@ -713,7 +713,7 @@ static bool config_kvs_cmd_write(KviKvsModuleCommandCall * c) KVSM_PARAMETER("value",KVS_PT_STRING,0,szVal) KVSM_PARAMETERS_END(c) - KviConfig * cfg = g_pConfigDict->tqfind(szId); + KviConfig * cfg = g_pConfigDict->find(szId); if(cfg) { @@ -756,7 +756,7 @@ static bool config_kvs_cmd_setsection(KviKvsModuleCommandCall * c) KVSM_PARAMETER("section",KVS_PT_STRING,0,szSect) KVSM_PARAMETERS_END(c) - KviConfig * cfg = g_pConfigDict->tqfind(szId); + KviConfig * cfg = g_pConfigDict->find(szId); if(cfg) { |