diff -r 5ecd0462f76b -r c48bb42fb977 vymmodel.h --- a/vymmodel.h Thu Mar 18 11:31:02 2010 +0000 +++ b/vymmodel.h Wed Apr 07 10:45:24 2010 +0000 @@ -27,7 +27,6 @@ Q_OBJECT Q_CLASSINFO("D-Bus Interface", "org.insilmaril.vym.VymModel-h") - //////////////////////////////////////////// // General housekeeping //////////////////////////////////////////// @@ -275,7 +274,7 @@ public: void findDuplicateURLs(); // find duplicate URLs, testing only so far void findAll (FindResultModel*, QString s, Qt::CaseSensitivity cs); // Search all objects at once, also notes - BranchItem* findText(QString s,Qt::CaseSensitivity cs,QTextCursor &cursor); // Find object, also in note + BranchItem* findText(QString s,Qt::CaseSensitivity cs); // Find object, also in note void findReset(); // Reset Search private: QString findString; @@ -606,6 +605,7 @@ bool select (const QString &); //! Select by string bool select (LinkableMapObj *lmo); //! Select by pointer to LMO bool select (TreeItem *ti ); //! Select by pointer to TreeItem + bool select (TreeItem *ti,int i ); //! Select by pointer to TreeItem and index in note bool select (const QModelIndex &index); //! Select by ModelIndex void unselect(); bool reselect();