kopete/protocols/messenger/libpapillon
notifystatusmessagetask.h
Go to the documentation of this file.00001 /* 00002 notifystatusmessagetask.h - Notify contact status message changes. 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 PAPILLONNOTIFYSTATUSMESSAGETASK_H 00016 #define PAPILLONNOTIFYSTATUSMESSAGETASK_H 00017 00018 #include <Papillon/Macros> 00019 #include <Papillon/Task> 00020 00021 namespace Papillon 00022 { 00023 00024 class StatusMessage; 00034 class NotifyStatusMessageTask : public Papillon::Task 00035 { 00036 Q_OBJECT 00037 public: 00042 explicit NotifyStatusMessageTask(Papillon::Task *parent); 00046 ~NotifyStatusMessageTask(); 00047 00053 virtual bool take(Papillon::NetworkMessage *networkMessage); 00054 00055 signals: 00061 void contactStatusMessageChanged(const QString &contactId, const Papillon::StatusMessage &statusMessage); 00062 00063 private: 00064 class Private; 00065 Private *d; 00066 }; 00067 00068 } 00069 00070 #endif
KDE 4.0 API Reference