1.1 --- a/vymmodel.h Thu Oct 01 13:23:20 2009 +0000
1.2 +++ b/vymmodel.h Fri Nov 13 08:32:03 2009 +0000
1.3 @@ -254,11 +254,14 @@
1.4 public:
1.5 void setHeading(const QString &); //!< Set heading of item
1.6 QString getHeading (); //!< Get heading of item
1.7 + void setNote(const QString &s); //!< Set note text
1.8 + QString getNote(); //!< Get note text
1.9
1.10 private:
1.11 BranchItem* findCurrent; // next object in find process
1.12 BranchItem* findPrevious; // next object in find process
1.13 bool EOFind; // true, if search failed
1.14 +
1.15 public:
1.16 BranchItem* findText(QString,bool); // Find object
1.17 void findReset(); // Reset Search
1.18 @@ -284,6 +287,8 @@
1.19 /*! Should object be hidden in exports (clouded)? */
1.20 void toggleHideExport();
1.21
1.22 + void addTimestamp();
1.23 +
1.24 void copy(); //!< Copy to clipboard
1.25 private:
1.26 void pasteNoSave(const int &n); //!< paste clipboard to branch
1.27 @@ -358,8 +363,12 @@
1.28 void toggleScroll();
1.29 void unscrollChildren();
1.30 void emitExpandAll();
1.31 + void emitExpandOneLevel();
1.32 + void emitCollapseOneLevel();
1.33 signals:
1.34 void expandAll();
1.35 + void expandOneLevel();
1.36 + void collapseOneLevel();
1.37
1.38 public:
1.39 void toggleStandardFlag (const QString &name, FlagRow *master=NULL);
1.40 @@ -392,7 +401,7 @@
1.41 public:
1.42
1.43 /* \brief Process one command and its parameters */
1.44 - void parseAtom (const QString &atom);
1.45 + QVariant parseAtom (const QString &atom, bool &noError, QString &errorMsg);
1.46
1.47 /* \brief Runs the script */
1.48 void runScript (QString script);