From 8362bf63dea22bbf6736609b0f49c152f975eb63 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 20 Jan 2010 01:29:50 +0000 Subject: Added old abandoned KDE3 version of koffice git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1077364 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kexi/core/kexiuseractionmethod.h | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 kexi/core/kexiuseractionmethod.h (limited to 'kexi/core/kexiuseractionmethod.h') diff --git a/kexi/core/kexiuseractionmethod.h b/kexi/core/kexiuseractionmethod.h new file mode 100644 index 000000000..5bfae22ce --- /dev/null +++ b/kexi/core/kexiuseractionmethod.h @@ -0,0 +1,42 @@ +#ifndef KEXIUSERACTIONMETHOD_H +#define KEXIUSERACTIONMETHOD_H + +#include +#include +#include + +typedef QValueVector ArgTypes; +typedef QValueVector ArgNames; + +/*! describes a UserActionCommand */ +class KEXICORE_EXPORT KexiUserActionMethod +{ + public: + /*! constructs a UserActionCommand describtion */ + KexiUserActionMethod(int method, ArgTypes types, ArgNames names); + + /*! \return method id of this method */ + int method() { return m_method; } + + /*! \return argument type information of this method */ + ArgTypes types() { return m_types; } + + /*! \return i18n argument names of this method */ + ArgNames names() { return m_names; } + + + + /*! \return i18n method name for \a method */ + static QString methodName(int method); + + /*! \return an i18n string for \a type */ + static QString typeName(int type); + + private: + int m_method; + ArgTypes m_types; + ArgNames m_names; +}; + +#endif + -- cgit v1.2.3