treeitem.h
changeset 768 382a444f5b0c
parent 767 6d2b32f305f9
child 770 57ce1ba6d1cb
     1.1 --- a/treeitem.h	Wed May 13 08:26:27 2009 +0000
     1.2 +++ b/treeitem.h	Thu May 14 12:42:58 2009 +0000
     1.3 @@ -97,6 +97,7 @@
     1.4  	virtual void setNote(const QString &s);
     1.5  	virtual void clearNote();
     1.6  	virtual QString getNote();
     1.7 +	virtual bool hasEmptyNote();
     1.8  	virtual void setNoteObj(const NoteObj &, bool updateNoteEditor=true);
     1.9  	virtual NoteObj getNoteObj();			
    1.10  	virtual QString getNoteASCII(const QString &indent, const int &width); // returns note	(ASCII)
    1.11 @@ -146,6 +147,9 @@
    1.12  	virtual void setLastSelectedBranch(int i);	//! Set last selected branch directly
    1.13  	virtual TreeItem* getLastSelectedBranch();
    1.14  
    1.15 +protected:
    1.16 +	bool hideExport;							//! Hide this item in export
    1.17 +public:
    1.18  	virtual void setHideTmp (HideTmpMode);
    1.19  	virtual bool hasHiddenExportParent ();
    1.20  	virtual void setHideInExport(bool);		// set export of object (and children)
    1.21 @@ -167,7 +171,6 @@
    1.22  	int imageOffset;
    1.23  	int imageCounter;
    1.24  
    1.25 -	bool hideExport;//! Hide this item in export
    1.26  	bool hidden;	//! Hidden in export if true
    1.27  };
    1.28