blob: bef945e371a9d80d0ce27706d9ede69128946440 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#include <tdelocale.h>
#include "kexiuseraction.h"
#include "kexiuseractionmethod.h"
KexiUserActionMethod::KexiUserActionMethod(int method, ArgTypes types, ArgNames names)
{
m_method = method;
m_types = types;
m_names = names;
}
TQString
KexiUserActionMethod::methodName(int method)
{
switch(method)
{
case KexiUserAction::OpenObject:
return i18n("Open Object");
case KexiUserAction::CloseObject:
return i18n("Close Object");
case KexiUserAction::DeleteObject:
return i18n("Delete Object");
case KexiUserAction::ExecuteScript:
return i18n("Execute Script");
case KexiUserAction::ExitKexi:
return i18n("Exit Main Application");
default:
return TQString();
}
}
|