branchitem.h
changeset 753 25a77484ec72
parent 750 ff3b01ce0960
child 754 db0ec4bcf416
     1.1 --- a/branchitem.h	Thu Apr 02 09:57:47 2009 +0000
     1.2 +++ b/branchitem.h	Tue Apr 07 16:15:53 2009 +0000
     1.3 @@ -15,6 +15,18 @@
     1.4  
     1.5  	QString saveToDir (const QString &tmpdir,const QString &prefix, const QPointF& offset);
     1.6  
     1.7 +	virtual void updateVisibility();
     1.8 +
     1.9 +protected:
    1.10 +	QString vymLink;
    1.11 +public:	
    1.12 +	virtual void setVymLink (QString);
    1.13 +    virtual QString getVymLink ();
    1.14 +
    1.15 +protected:	
    1.16 +	bool scrolled;			// true if all children are scrolled and thus invisible
    1.17 +	bool tmpUnscrolled;		// can only be true (temporary) for a scrolled subtree
    1.18 +public:
    1.19  	virtual void unScroll();				
    1.20  	virtual void toggleScroll();			// scroll or unscroll
    1.21  	virtual bool isScrolled();				// returns scroll state
    1.22 @@ -24,9 +36,6 @@
    1.23  
    1.24  	BranchObj* getBranchObj();	
    1.25  
    1.26 -protected:	
    1.27 -	bool scrolled;			// true if all children are scrolled and thus invisible
    1.28 -	bool tmpUnscrolled;		// can only be true (temporary) for a scrolled subtree
    1.29  
    1.30  };
    1.31