ornamentedobj.h
changeset 634 8d7a84789707
parent 618 9d9da416206e
child 639 75a84df12d8b
     1.1 --- a/ornamentedobj.h	Thu Nov 08 15:28:03 2007 +0000
     1.2 +++ b/ornamentedobj.h	Mon Dec 17 15:36:18 2007 +0000
     1.3 @@ -1,6 +1,7 @@
     1.4  #ifndef ORNAMENTEDOBJ_H
     1.5  #define ORNAMENTEDOBJ_H
     1.6  
     1.7 +#include "attribute.h"
     1.8  #include "frameobj.h"
     1.9  #include "linkablemapobj.h"
    1.10  
    1.11 @@ -58,11 +59,16 @@
    1.12      virtual QString getNoteASCII(const QString &indent, const int &width); // returns note	(ASCII)
    1.13      virtual QString getNoteASCII();			// returns note	(ASCII)
    1.14      virtual QString getNoteOpenDoc();		// returns note	(OpenDoc)
    1.15 +
    1.16      virtual void setURL (QString);
    1.17      virtual QString getURL ();
    1.18 +
    1.19      virtual void setVymLink (QString);
    1.20      virtual QString getVymLink ();
    1.21  
    1.22 +	virtual QList <Attribute> getAttributes ();
    1.23 +	virtual void setAttributes (const QList <Attribute> &al);
    1.24 +
    1.25  	virtual void clearStandardFlags();
    1.26  	virtual void toggleStandardFlag(QString, bool exclusive=false);
    1.27  	virtual void activateStandardFlag(QString);
    1.28 @@ -76,7 +82,7 @@
    1.29  	virtual void setHideInExport(bool);		// set export of object (and childs)
    1.30  	virtual bool hideInExport();
    1.31  	virtual bool isHidden ();
    1.32 -	virtual QString getOrnAttr();			// get attributes for saveToDir
    1.33 +	virtual QString getOrnXMLAttr();		// get attributes for saveToDir
    1.34  
    1.35  protected:
    1.36      HeadingObj *heading;			// Heading
    1.37 @@ -88,6 +94,8 @@
    1.38  	QRectF ornamentsBBox;			// bbox of flags and heading
    1.39  	QString url;					// url to external doc
    1.40  	QString vymLink;				// path to another map
    1.41 +	QList <Attribute> attributes;	// List with attributes
    1.42 +
    1.43  	bool hideExport;				// hide in exports if set
    1.44  	bool hidden;					// true if temporary hidden
    1.45  };