diff -r 338ebdc9b947 -r 14f2b1b15242 vymmodel.h --- a/vymmodel.h Fri Oct 02 14:31:03 2009 +0000 +++ b/vymmodel.h Fri Nov 13 08:32:03 2009 +0000 @@ -254,11 +254,14 @@ public: void setHeading(const QString &); //!< Set heading of item QString getHeading (); //!< Get heading of item + void setNote(const QString &s); //!< Set note text + QString getNote(); //!< Get note text private: BranchItem* findCurrent; // next object in find process BranchItem* findPrevious; // next object in find process bool EOFind; // true, if search failed + public: BranchItem* findText(QString,bool); // Find object void findReset(); // Reset Search @@ -284,6 +287,8 @@ /*! Should object be hidden in exports (clouded)? */ void toggleHideExport(); + void addTimestamp(); + void copy(); //!< Copy to clipboard private: void pasteNoSave(const int &n); //!< paste clipboard to branch @@ -358,8 +363,12 @@ void toggleScroll(); void unscrollChildren(); void emitExpandAll(); + void emitExpandOneLevel(); + void emitCollapseOneLevel(); signals: void expandAll(); + void expandOneLevel(); + void collapseOneLevel(); public: void toggleStandardFlag (const QString &name, FlagRow *master=NULL); @@ -392,7 +401,7 @@ public: /* \brief Process one command and its parameters */ - void parseAtom (const QString &atom); + QVariant parseAtom (const QString &atom, bool &noError, QString &errorMsg); /* \brief Runs the script */ void runScript (QString script);