some work on the search function

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@31 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
tariq
2006-01-31 22:38:53 +00:00
parent 3d8bcf2ee8
commit ca554494d2
8 changed files with 54 additions and 32 deletions

View File

@@ -30,6 +30,7 @@ class KeepassGroupView:public QTreeWidget{
public:
KeepassGroupView(QWidget* parent=0);
void updateItems();
bool isSearchResultGroup(GroupViewItem* item);
PwDatabase *db;
vector<GroupViewItem*>Items;
protected:
@@ -49,6 +50,7 @@ private:
QPixmap DragPixmap;
GroupViewItem* DragItem;
GroupViewItem* LastHoverItem;
bool ShowSearchGroup; //needs a "updateItems()" after a change!
GroupViewItem* getLastSameLevelItem(int level);
};