MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9
   Home · All Classes · All Namespaces · Modules · Functions · Files

contact-messenger/sender.h

#ifndef _TelepathyQt4_examples_contact_messenger_sender_h_HEADER_GUARD_
#define _TelepathyQt4_examples_contact_messenger_sender_h_HEADER_GUARD_

#include <TelepathyQt4/Types>

#include <QObject>
#include <QString>

namespace Tp
{
class PendingOperation;
}

class Sender : public QObject
{
    Q_OBJECT

public:
    Sender(const QString &accountPath, const QString &contactIdentifier, const QString &message);
    ~Sender();

private Q_SLOTS:
    void onSendMessageFinished(Tp::PendingOperation *op);

private:
    Tp::ContactMessengerPtr messenger;
};

#endif

Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.6.5