• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/protocols/messenger/libpapillon

contact.h

Go to the documentation of this file.
00001 /*
00002    contact.h - Information for a Windows Live Messenger contact.
00003 
00004    Copyright (c) 2006-2007 by Michaƫl Larouche <larouche@kde.org>
00005 
00006    *************************************************************************
00007    *                                                                       *
00008    * This library is free software; you can redistribute it and/or         *
00009    * modify it under the terms of the GNU Lesser General Public            *
00010    * License as published by the Free Software Foundation; either          *
00011    * version 2 of the License, or (at your option) any later version.      *
00012    *                                                                       *
00013    *************************************************************************
00014 */
00015 #ifndef PAPILLONCONTACT_H
00016 #define PAPILLONCONTACT_H
00017 
00018 #include <Papillon/Macros>
00019 #include <Papillon/Enums>
00020 
00021 #include <QtCore/QObject>
00022 
00023 
00024 namespace Papillon
00025 {
00026 
00034 class PAPILLON_EXPORT Contact : public QObject
00035 {
00036     Q_OBJECT
00037 public:
00041     Contact(QObject *parent = 0);
00045     ~Contact();
00046 
00052     QString contactId() const;
00057     void setContactId(const QString &contactId);
00058 
00064     QString passportId() const;
00069     void setPassportId(const QString &passportId);
00070 
00074     ClientInfo::Features clientFeatures() const;
00079     void setClientFeatures(const ClientInfo::Features &features);
00080 
00085     Papillon::ContactListEnums::ListFlags lists() const;
00086 
00093     void addToList(const Papillon::ContactListEnums::ListFlags &list);
00094     
00101     void removeFromList(const Papillon::ContactListEnums::ListFlags &list);
00102 
00103 //BEGIN AddressBook data
00108     QString displayName() const;
00113     void setDisplayName(const QString &displayName);
00114 //END AddressBook data
00115 
00116 private:
00121     Contact(const Contact &copy);
00126     Contact &operator=(const Contact &other);
00127 
00128     class Private;
00129     Private *d;
00130 };
00131 
00132 }
00133 
00134 #endif

kopete/protocols/messenger/libpapillon

Skip menu "kopete/protocols/messenger/libpapillon"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork 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