Home · All Classes · All Namespaces · Modules · Functions · Files
protocols/protocols.h
#ifndef _TelepathyQt4_examples_protocols_protocols_h_HEADER_GUARD_
#define _TelepathyQt4_examples_protocols_protocols_h_HEADER_GUARD_

#include <TelepathyQt4/Types>

#include "cm-wrapper.h"

#include <QList>
#include <QObject>

using namespace Tp;

namespace Tp
{
class PendingOperation;
}

class Protocols : public QObject
{
    Q_OBJECT

public:
   Protocols();
   ~Protocols();

private Q_SLOTS:
    void onListNamesFinished(Tp::PendingOperation *op);
    void onCMWrapperFinished();

private:
    QList<CMWrapper *> mCMWrappers;
    int cmWrappersFinished;
};

#endif


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