00001 #ifndef USERTYPE_H
00002 #define USERTYPE_H
00003
00004 #include "type.h"
00005
00006 namespace domain
00007 {
00008
00009 class TaskManagerData;
00010 class User;
00011
00024 class DOMAIN_EXPORT UserType : public Type
00025 {
00026 Q_OBJECT
00027 friend class TaskManagerData;
00028
00029 protected:
00030
00034 UserType(const QString& id, const QString& name);
00035 ~UserType();
00036
00037 };
00038
00045 class DOMAIN_EXPORT AdminUserType : public UserType
00046 {
00047 Q_OBJECT
00048 friend class AdminUser;
00049
00050 private:
00051
00052 AdminUserType();
00053 ~AdminUserType();
00054 };
00055
00056 }
00057
00058 #endif