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

kopete/protocols/messenger/libpapillon

contactlist.h

Go to the documentation of this file.
00001 /*
00002    contactlist.h - Windows Live Messenger Contact List
00003 
00004    Copyright (c) 2006 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 PAPILLONCONTACTLIST_H
00016 #define PAPILLONCONTACTLIST_H
00017 
00018 #include <QtCore/QObject>
00019 #include <QtCore/QList>
00020 #include <Papillon/Macros>
00021 #include <Papillon/Enums>
00022 
00023 
00024 namespace Papillon 
00025 {
00026 
00027 class Client;
00028 class Contact;
00029 class FetchContactListJob;
00030 
00037 class PAPILLON_EXPORT ContactList : public QObject
00038 {
00039     Q_OBJECT
00040 public:
00044     ContactList(Client *client);
00048     ~ContactList();
00049 
00056     Contact *contact(const QString &contactId);
00057 
00062     QList<Papillon::Contact*> contacts() const;
00069     QList<Papillon::Contact*> allowList() const;
00076     QList<Papillon::Contact*> blockList() const;
00083     QList<Papillon::Contact*> reverseList() const;
00091     QList<Papillon::Contact*> pendingList() const;
00092 
00093 public slots:
00101     void load();
00102 
00103 signals:
00107     void contactListLoaded();
00108 
00109 private:
00115     Client *client();
00116 
00123     Contact *createContact(const QString &contactId);
00124 
00125 private:
00126     class Private;
00127     Private *d;
00128 
00129     friend class FetchContactListJob;
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