OSDN Git Service

adjust integer's signedness
[tjqt4port/tj2qt4.git] / taskjuggler / CoreAttributes.h
index d14810c..210648f 100644 (file)
@@ -14,7 +14,7 @@
 #define _CoreAttributes_h_
 
 #include <qstring.h>
-#include <qdict.h>
+#include <q3dict.h>
 
 #include "FlagList.h"
 #include "CustomAttribute.h"
@@ -56,6 +56,7 @@ public:
 
     void setHierarchIndex(uint no);
     QString getHierarchIndex() const;
+    QString getHierarchLevel() const;
 
     Project* getProject() const { return project; }
 
@@ -86,12 +87,12 @@ public:
 
     void addCustomAttribute(const QString& id, CustomAttribute* ca);
     const CustomAttribute* getCustomAttribute(const QString& id) const;
-    const QDict<CustomAttribute>& getCustomAttributeDict() const
+    const Q3Dict<CustomAttribute>& getCustomAttributeDict() const
     {
         return customAttributes;
     }
     void inheritCustomAttributes
-        (const QDict<CustomAttributeDefinition>& dict);
+        (const Q3Dict<CustomAttributeDefinition>& dict);
 
 protected:
     /// A pointer to access information that are global to the project.
@@ -145,7 +146,7 @@ protected:
     FlagList flags;
 
     /// User defined, optional attributes.
-    QDict<CustomAttribute> customAttributes;
+    Q3Dict<CustomAttribute> customAttributes;
 } ;
 
 #endif