#ifndef REDMINEITEMTREEDATA_H #define REDMINEITEMTREEDATA_H #include #include #include class RedmineItemTreeData { private: QList list; QHash id2item; public: RedmineItemTreeData(); QList get(); QJsonObject get ( int item_id ); QList getchildren ( int item_id ); void clear(); void add ( QJsonObject jsonObj ); QHash isToBeUpdated; QHash parent; // TODO: hierarchy should me moved to private QHash> hierarchy; RedmineItemTreeData &operator= ( const RedmineItemTreeData & ); }; #endif // REDMINEITEMTREEDATA_H