From d171ed3b09665db0f511310d6c84a23d75135f50 Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 03 Sep 2004 09:23:23 +0000 Subject: Much better search possibility in kapi --- (limited to 'kaddressbook/viewmanager.cpp') diff --git a/kaddressbook/viewmanager.cpp b/kaddressbook/viewmanager.cpp index 45c7b55..c93d51a 100644 --- a/kaddressbook/viewmanager.cpp +++ b/kaddressbook/viewmanager.cpp @@ -178,6 +178,13 @@ void ViewManager::setSelected( const QString &uid, bool selected ) mActiveView->setSelected( uid, selected ); } +void ViewManager::setListSelected(QStringList list) +{ + int i, count = list.count(); + for ( i = 0; i < count;++i ) + setSelected( list[i], true ); + +} void ViewManager::unloadViews() { mViewDict.clear(); -- cgit v0.9.0.2