treeitem.h
changeset 848 e265f07f2173
parent 822 c2ce9944148c
     1.1 --- a/treeitem.h	Wed Jun 09 13:14:08 2010 +0000
     1.2 +++ b/treeitem.h	Mon Jun 14 13:59:17 2010 +0000
     1.3 @@ -15,6 +15,7 @@
     1.4  class FloatImageObj;
     1.5  class ImageItem;
     1.6  class LinkableMapObj;
     1.7 +class QModelIndex;
     1.8  class VymModel;
     1.9  class XLinkItem;
    1.10  class XLinkObj;
    1.11 @@ -70,7 +71,7 @@
    1.12  	virtual QString getTypeName ();
    1.13  
    1.14  // Accessing data
    1.15 -    virtual QVariant data(int column) const;
    1.16 +    virtual QVariant data (int column) const;
    1.17  
    1.18  
    1.19  protected:
    1.20 @@ -145,6 +146,8 @@
    1.21  	virtual TreeItem* getChildNum(const int &n);
    1.22  	virtual BranchItem* getFirstBranch();
    1.23  	virtual BranchItem* getLastBranch();
    1.24 +	virtual ImageItem* getFirstImage();
    1.25 +	virtual ImageItem* getLastImage();
    1.26  
    1.27  	/*! Get next branch after current branch. Return NULL if there is no
    1.28  	    next branch */