Ignore:
Timestamp:
08/19/13 09:54:10 (12 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
2e7bf77
Parents:
1a09105
Message:

Clean up the new search functionality in pc-pkgmanager. It is now recursive and fast (so no worries about changing the depth of the tree's) The only caveat is that it will not return a top-level item as a search result at the moment.
Also setup the search button to be actively enabled/disabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-pkgmanager/mainWin.h

    r5fd031d rf3f036a  
    8282 
    8383    //Search Iteration 
    84     bool performSearch(QString pkgSearch, QTreeWidget *TW, int startParent, int startChild); 
     84    bool performSearch(QString pkgSearch, QTreeWidget *TW, QTreeWidgetItem *SI = 0); 
     85    bool searchChildren(QString srch, QTreeWidget *TW, QTreeWidgetItem *CI, bool &started, QTreeWidgetItem *SI); 
    8586 
    8687    // Updates 
Note: See TracChangeset for help on using the changeset viewer.