diff -r 46553c106c52 -r bec082472471 vymmodel.h --- a/vymmodel.h Mon Mar 22 15:37:23 2010 +0000 +++ b/vymmodel.h Tue Mar 30 17:30:39 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();