00001 #ifndef TYPE_H
00002 #define TYPE_H
00003
00004 #include <QObject>
00005
00006 #include <tools/global.h>
00007
00008 namespace domain
00009 {
00010
00011 struct TypePrivate;
00012 class TaskManagerData;
00013
00019 class DOMAIN_EXPORT Type : public QObject
00020 {
00021 Q_OBJECT
00022 friend class TaskManagerData;
00023
00024 public:
00025
00029 const QString& id() const;
00030
00034 const QString& name() const;
00035
00036 protected:
00037
00041 Type(const QString& id, const QString& name);
00042 virtual ~Type();
00043
00044 private:
00045
00046 TypePrivate* d;
00047 Type(const Type& type);
00048 Type& operator=(const Type&);
00049 };
00050
00051
00052
00053 }
00054
00055 #endif
00056