summaryrefslogtreecommitdiffstats
path: root/src/modules/action
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:40:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:40:04 -0600
commitf91149819be7e7f45e68f22876f3c0062a11d4b9 (patch)
treeea2e0b384a225b9fcedd5ec44e08d1ad2fc2570b /src/modules/action
parent32a249baaef1b910bffd79734c78cac3671f00f2 (diff)
downloadkvirc-f91149819be7e7f45e68f22876f3c0062a11d4b9.tar.gz
kvirc-f91149819be7e7f45e68f22876f3c0062a11d4b9.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/modules/action')
-rw-r--r--src/modules/action/libkviaction.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/action/libkviaction.cpp b/src/modules/action/libkviaction.cpp
index ead09cd5..9404b8bc 100644
--- a/src/modules/action/libkviaction.cpp
+++ b/src/modules/action/libkviaction.cpp
@@ -109,10 +109,10 @@ static bool action_kvs_cmd_trigger(KviKvsModuleCommandCall * c)
a->activate();
} else {
if(!c->switches()->find('q',"quiet"))
- c->warning(__tr2qs("The action \"%1\" is disabled").tqarg(szName));
+ c->warning(__tr2qs("The action \"%1\" is disabled").arg(szName));
}
} else {
- c->warning(__tr2qs("The action \"%1\" does not exist").tqarg(szName));
+ c->warning(__tr2qs("The action \"%1\" does not exist").arg(szName));
}
return true;
@@ -158,7 +158,7 @@ static bool action_kvs_cmd_enable(KviKvsModuleCommandCall * c)
if(!a->isEnabled())a->setEnabled(true);
} else {
if(!c->switches()->find('q',"quiet"))
- c->warning(__tr2qs("The action \"%1\" does not exist").tqarg(szName));
+ c->warning(__tr2qs("The action \"%1\" does not exist").arg(szName));
}
return true;
@@ -206,7 +206,7 @@ static bool action_kvs_cmd_disable(KviKvsModuleCommandCall * c)
if(a->isEnabled())a->setEnabled(false);
} else {
if(!c->switches()->find('q',"quiet"))
- c->warning(__tr2qs("The action \"%1\" does not exist").tqarg(szName));
+ c->warning(__tr2qs("The action \"%1\" does not exist").arg(szName));
}
return true;
@@ -252,11 +252,11 @@ static bool action_kvs_cmd_destroy(KviKvsModuleCommandCall * c)
a->suicide();
} else {
if(!c->switches()->find('q',"quiet"))
- c->warning(__tr2qs("The action \"%1\" is a core action and cannot be destroyed").tqarg(szName));
+ c->warning(__tr2qs("The action \"%1\" is a core action and cannot be destroyed").arg(szName));
}
} else {
if(!c->switches()->find('q',"quiet"))
- c->warning(__tr2qs("The action \"%1\" does not exist").tqarg(szName));
+ c->warning(__tr2qs("The action \"%1\" does not exist").arg(szName));
}
return true;
@@ -417,7 +417,7 @@ static bool action_kvs_cmd_create(KviKvsModuleCallbackCommandCall * c)
if(old->isKviUserActionNeverOverrideThis())
old->suicide();
else {
- c->warning(__tr2qs("The action \"%1\" is already defined as core action and cannot be overridden").tqarg(szName));
+ c->warning(__tr2qs("The action \"%1\" is already defined as core action and cannot be overridden").arg(szName));
return false;
}
}