1.1 --- a/ornamentedobj.h Wed Mar 08 12:59:08 2006 +0000
1.2 +++ b/ornamentedobj.h Wed Mar 15 13:53:53 2006 +0000
1.3 @@ -12,13 +12,9 @@
1.4 virtual void init ();
1.5 virtual void copy (OrnamentedObj*);
1.6
1.7 - virtual void setHeading (QString s)=0; // set the heading, pure virtual
1.8 - // to take care of fontsize
1.9 virtual QString getHeading(); // returns the heading
1.10 virtual void setLinkColor(); // sets color according to colorhint, overloaded
1.11 - virtual void setVisibility(bool,int)=0; // set visibility
1.12 - virtual void setVisibility(bool)=0; // set vis. for w
1.13 - virtual void setColor(QColor,bool)=0; // set the color of text and link
1.14 + virtual void setColor(QColor); // set the color of text and link
1.15 QColor getColor (); // get color of heading
1.16 virtual void positionContents();
1.17 virtual void move (double,double);
1.18 @@ -32,11 +28,19 @@
1.19 virtual QString getNote(); // returns note (HTML)
1.20 virtual QString getNoteASCII(); // returns note (ASCII)
1.21 virtual QString getNoteOpenDoc(); // returns note (OpenDoc)
1.22 + virtual void setURL (QString);
1.23 + virtual QString getURL ();
1.24 + virtual void setVymLink (QString);
1.25 + virtual QString getVymLink ();
1.26 +
1.27 virtual void toggleStandardFlag(QString, bool);
1.28 virtual void activateStandardFlag(QString);
1.29 virtual QString getSystemFlagName (const QPoint &p);
1.30 virtual bool isActiveFlag(const QString&); // check if flag is set
1.31 virtual void updateNoteFlag();
1.32 + virtual void setHideInExport(bool); // set export of object (and childs)
1.33 + virtual bool hideInExport();
1.34 + virtual QString getOrnAttr(); // get attributes for saveToDir
1.35
1.36 protected:
1.37 HeadingObj *heading; // Heading
1.38 @@ -44,6 +48,9 @@
1.39 FlagRowObj *systemFlags; // System Flags
1.40 FlagRowObj *standardFlags; // Standard Flags
1.41 QRect ornamentsBBox; // bbox of flags and heading
1.42 + QString url; // url to external doc
1.43 + QString vymLink; // path to another map
1.44 + bool hideExport; // hide in exports if set
1.45 };
1.46
1.47 #endif