kmobiletools
contactslist.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 Copyright (C) 2007 00003 by Marco Gulino <marco@kmobiletools.org> 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; either version 2 of the License, or 00008 (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the 00017 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 Boston, MA 02110-1301, USA. 00019 ***************************************************************************/ 00020 #ifndef CONTACTSLIST_H 00021 #define CONTACTSLIST_H 00022 00023 #include <libkmobiletools/kmobiletools_export.h> 00024 00025 #include <kabc/addressee.h> 00026 00035 class ContactsListPrivate; 00036 namespace KMobileTools 00037 { 00038 typedef QListIterator<KABC::Addressee> ContactsListIterator; 00039 class KMOBILETOOLS_EXPORT ContactsList : public KABC::Addressee::List 00040 { 00041 public: 00042 ContactsList(); 00043 ContactsList(const KABC::Addressee::List&); 00044 ~ContactsList(); 00045 KABC::Addressee findAddressee(int memslot, const QString & index); 00046 KABC::Addressee findAddressee(const QString &posInfos); 00047 ContactsList& operator =(const KMobileTools::ContactsList&); 00048 private: 00049 ContactsListPrivate *const d; 00050 }; 00051 } 00052 #endif
KDE 4.2 API Reference