libkleo
cryptplugwrapperlist.cpp
Go to the documentation of this file.00001 /* -*- c++ -*- 00002 00003 CRYPTPLUG - an independent cryptography plug-in 00004 API. CryptPlugWrapperList holds any number of crypto plug-ins. 00005 00006 Copyright (C) 2001 by Klarälvdalens Datakonsult AB 00007 00008 CRYPTPLUG is free software; you can redistribute it and/or modify 00009 it under the terms of GNU General Public License as published by 00010 the Free Software Foundation; version 2 of the License. 00011 00012 CRYPTPLUG is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with this program; if not, write to the Free Software 00019 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 00020 */ 00021 00022 #include "cryptplugwrapperlist.h" 00023 00024 CryptPlugWrapper * CryptPlugWrapperList::findForLibName( const QString & libName ) const 00025 { 00026 for ( Q3PtrListIterator<CryptPlugWrapper> it( *this ) ; it.current() ; ++it ) 00027 if ( (*it)->libName().contains( libName, Qt::CaseInsensitive ) ) 00028 return *it; 00029 return 0; 00030 }
KDE 4.2 API Reference