• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

libkdepim

addresseediffalgo.h

Go to the documentation of this file.
00001 /*
00002   This file is part of libkdepim.
00003 
00004   Copyright (c) 2004 Tobias Koenig <tokoe@kde.org>
00005 
00006   This library is distributed in the hope that it will be useful,
00007   but WITHOUT ANY WARRANTY; without even the implied warranty of
00008   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00009   Library General Public License for more details.
00010 
00011   You should have received a copy of the GNU Library General Public License
00012   along with this library; see the file COPYING.LIB.  If not, write to
00013   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00014   Boston, MA 02110-1301, USA.
00015 */
00016 
00017 #ifndef KDEPIM_ADDRESSEEDIFFALGO_H
00018 #define KDEPIM_ADDRESSEEDIFFALGO_H
00019 
00020 #include "diffalgo.h"
00021 #include <kabc/addressee.h>
00022 #include <QList>
00023 
00024 namespace KPIM {
00025 
00026 class KDEPIM_EXPORT AddresseeDiffAlgo : public DiffAlgo
00027 {
00028   public:
00029     AddresseeDiffAlgo( const KABC::Addressee &leftAddressee,
00030                        const KABC::Addressee &rightAddressee );
00031 
00032     void run();
00033 
00034   private:
00035     template <class L>
00036     void diffList( const QString &id, const QList<L> &left, const QList<L> &right );
00037 
00038     QString toString( const KABC::PhoneNumber &number );
00039     QString toString( const KABC::Address &address );
00040 
00041     KABC::Addressee mLeftAddressee;
00042     KABC::Addressee mRightAddressee;
00043 };
00044 
00045 }
00046 
00047 #endif

libkdepim

Skip menu "libkdepim"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal