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

kopete/protocols/messenger/libpapillon

notifypresencetask.h

Go to the documentation of this file.
00001 /*
00002    notifypresencetask.h - Notify about presence changes of contacts
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 PAPILLONNOTIFYPRESENCETASK_H
00016 #define PAPILLONNOTIFYPRESENCETASK_H
00017 
00018 #include <Papillon/Enums>
00019 #include <Papillon/Macros>
00020 
00021 #include <Papillon/Task>
00022 
00023 namespace Papillon
00024 {
00025 
00034 class PAPILLON_EXPORT NotifyPresenceTask : public Papillon::Task
00035 {
00036     Q_OBJECT
00037 public:
00042     explicit NotifyPresenceTask(Papillon::Task *parent);
00046     ~NotifyPresenceTask();
00047 
00053     virtual bool take(Papillon::NetworkMessage *networkMessage);
00054 
00055 signals:
00056     // TODO: Maybe add nickname, features and MsnObject to this signal
00062     void contactPresenceChanged(const QString &contactId, Papillon::Presence::Status presence);
00063 
00064 protected:
00070     virtual bool forMe(Papillon::NetworkMessage *networkMessage) const;
00071     
00072 private:
00073     class Private;
00074     Private *d;
00075 };
00076 
00077 }
00078 #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