summaryrefslogtreecommitdiffstats
path: root/src/modules/action/libkviaction.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:20 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:20 -0600
commitc6611272c2bc4a42580848946c8c5d81bb0409c7 (patch)
tree0fd5b58844663dfcd00fb2b79cf67dd0fd429c62 /src/modules/action/libkviaction.cpp
parent805c2821ceaddada48b346c6d11bd0dc1351a539 (diff)
downloadkvirc-c6611272c2bc4a42580848946c8c5d81bb0409c7.tar.gz
kvirc-c6611272c2bc4a42580848946c8c5d81bb0409c7.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 805c2821ceaddada48b346c6d11bd0dc1351a539.
Diffstat (limited to 'src/modules/action/libkviaction.cpp')
-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 9404b8bc..ead09cd5 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").arg(szName));
+ c->warning(__tr2qs("The action \"%1\" is disabled").tqarg(szName));
}
} else {
- c->warning(__tr2qs("The action \"%1\" does not exist").arg(szName));
+ c->warning(__tr2qs("The action \"%1\" does not exist").tqarg(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").arg(szName));
+ c->warning(__tr2qs("The action \"%1\" does not exist").tqarg(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").arg(szName));
+ c->warning(__tr2qs("The action \"%1\" does not exist").tqarg(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").arg(szName));
+ c->warning(__tr2qs("The action \"%1\" is a core action and cannot be destroyed").tqarg(szName));
}
} else {
if(!c->switches()->find('q',"quiet"))
- c->warning(__tr2qs("The action \"%1\" does not exist").arg(szName));
+ c->warning(__tr2qs("The action \"%1\" does not exist").tqarg(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").arg(szName));
+ c->warning(__tr2qs("The action \"%1\" is already defined as core action and cannot be overridden").tqarg(szName));
return false;
}
}