Home · Modules · All Classes · All Namespaces
protocols/cm-wrapper.h
#ifndef _TelepathyQt_examples_protocols_cm_wrapper_h_HEADER_GUARD_
#define _TelepathyQt_examples_protocols_cm_wrapper_h_HEADER_GUARD_
#include <TelepathyQt/Types>
#include <QObject>
#include <QString>
using namespace Tp;
namespace Tp
{
}
class CMWrapper : public QObject
{
Q_OBJECT
public:
CMWrapper(const QString &cmName, QObject *parent = 0);
~CMWrapper();
ConnectionManagerPtr cm() const;
Q_SIGNALS:
void finished();
private Q_SLOTS:
void onCMReady(Tp::PendingOperation *op);
private:
ConnectionManagerPtr mCM;
};
#endif