kexi

kexiuseractionmethod.h

00001 #ifndef KEXIUSERACTIONMETHOD_H
00002 #define KEXIUSERACTIONMETHOD_H
00003 
00004 #include <qvaluevector.h>
00005 #include <qstring.h>
00006 #include <qvariant.h>
00007 
00008 typedef QValueVector<int> ArgTypes;
00009 typedef QValueVector<QString> ArgNames;
00010 
00012 class KEXICORE_EXPORT KexiUserActionMethod
00013 {
00014     public:
00016         KexiUserActionMethod(int method, ArgTypes types, ArgNames names);
00017 
00019         int method() { return m_method; }
00020 
00022         ArgTypes types() { return m_types; }
00023 
00025         ArgNames names() { return m_names; }
00026 
00027 
00028 
00030         static QString methodName(int method);
00031 
00033         static QString typeName(int type);
00034 
00035     private:
00036         int m_method;
00037         ArgTypes m_types;
00038         ArgNames m_names;
00039 };
00040 
00041 #endif
00042 
KDE Home | KDE Accessibility Home | Description of Access Keys