diff -r 22a885118d50 -r 359217d2a49b ornamentedobj.h --- a/ornamentedobj.h Wed Mar 08 12:59:08 2006 +0000 +++ b/ornamentedobj.h Thu Mar 23 12:38:54 2006 +0000 @@ -12,13 +12,9 @@ virtual void init (); virtual void copy (OrnamentedObj*); - virtual void setHeading (QString s)=0; // set the heading, pure virtual - // to take care of fontsize virtual QString getHeading(); // returns the heading virtual void setLinkColor(); // sets color according to colorhint, overloaded - virtual void setVisibility(bool,int)=0; // set visibility - virtual void setVisibility(bool)=0; // set vis. for w - virtual void setColor(QColor,bool)=0; // set the color of text and link + virtual void setColor(QColor); // set the color of text and link QColor getColor (); // get color of heading virtual void positionContents(); virtual void move (double,double); @@ -32,11 +28,19 @@ virtual QString getNote(); // returns note (HTML) virtual QString getNoteASCII(); // returns note (ASCII) virtual QString getNoteOpenDoc(); // returns note (OpenDoc) + virtual void setURL (QString); + virtual QString getURL (); + virtual void setVymLink (QString); + virtual QString getVymLink (); + virtual void toggleStandardFlag(QString, bool); virtual void activateStandardFlag(QString); virtual QString getSystemFlagName (const QPoint &p); virtual bool isActiveFlag(const QString&); // check if flag is set virtual void updateNoteFlag(); + virtual void setHideInExport(bool); // set export of object (and childs) + virtual bool hideInExport(); + virtual QString getOrnAttr(); // get attributes for saveToDir protected: HeadingObj *heading; // Heading @@ -44,6 +48,9 @@ FlagRowObj *systemFlags; // System Flags FlagRowObj *standardFlags; // Standard Flags QRect ornamentsBBox; // bbox of flags and heading + QString url; // url to external doc + QString vymLink; // path to another map + bool hideExport; // hide in exports if set }; #endif