vymmodel.h
changeset 842 bec082472471
parent 837 5ecd0462f76b
child 845 b98c1793bb8b
     1.1 --- a/vymmodel.h	Mon Mar 22 15:37:23 2010 +0000
     1.2 +++ b/vymmodel.h	Tue Mar 30 17:30:39 2010 +0000
     1.3 @@ -27,7 +27,6 @@
     1.4  	Q_OBJECT
     1.5  	Q_CLASSINFO("D-Bus Interface", "org.insilmaril.vym.VymModel-h")
     1.6  
     1.7 -
     1.8  ////////////////////////////////////////////
     1.9  // General housekeeping
    1.10  ////////////////////////////////////////////
    1.11 @@ -275,7 +274,7 @@
    1.12  public:
    1.13  	void findDuplicateURLs();				// find duplicate URLs, testing only so far
    1.14      void findAll (FindResultModel*, QString s, Qt::CaseSensitivity cs);	// Search all objects at once, also notes
    1.15 -    BranchItem* findText(QString s,Qt::CaseSensitivity cs,QTextCursor &cursor);	// Find object, also in note
    1.16 +    BranchItem* findText(QString s,Qt::CaseSensitivity cs);	// Find object, also in note
    1.17      void findReset();						// Reset Search
    1.18  private:	
    1.19  	QString findString;
    1.20 @@ -606,6 +605,7 @@
    1.21  	bool select (const QString &);			//! Select by string
    1.22  	bool select (LinkableMapObj *lmo);		//! Select by pointer to LMO
    1.23  	bool select (TreeItem *ti );			//! Select by pointer to TreeItem
    1.24 +	bool select (TreeItem *ti,int i );		//! Select by pointer to TreeItem and index in note
    1.25  	bool select (const QModelIndex &index);	//! Select by ModelIndex
    1.26  	void unselect();
    1.27  	bool reselect();