kexi

kexiuseractionmethod.h
1#ifndef KEXIUSERACTIONMETHOD_H
2#define KEXIUSERACTIONMETHOD_H
3
4#include <tqvaluevector.h>
5#include <tqstring.h>
6#include <tqvariant.h>
7
8typedef TQValueVector<int> ArgTypes;
9typedef TQValueVector<TQString> ArgNames;
10
12class KEXICORE_EXPORT KexiUserActionMethod
13{
14 public:
16 KexiUserActionMethod(int method, ArgTypes types, ArgNames names);
17
19 int method() { return m_method; }
20
22 ArgTypes types() { return m_types; }
23
25 ArgNames names() { return m_names; }
26
27
28
30 static TQString methodName(int method);
31
33 static TQString typeName(int type);
34
35 private:
36 int m_method;
37 ArgTypes m_types;
38 ArgNames m_names;
39};
40
41#endif
42
static TQString typeName(int type)