Home · Modules · All Classes · All Namespaces
roster/roster-window.h
#ifndef _TelepathyQt_examples_roster_roster_window_h_HEADER_GUARD_
#define _TelepathyQt_examples_roster_roster_window_h_HEADER_GUARD_
#include <QMainWindow>
#include <TelepathyQt/Account>
#include <TelepathyQt/Types>
namespace Tp {
class PendingOperation;
}
class RosterWidget;
class RosterWindow : public QMainWindow
{
Q_OBJECT
public:
RosterWindow(const QString &accountName, QWidget *parent = 0);
virtual ~RosterWindow();
private Q_SLOTS:
void onAccountReady(Tp::PendingOperation *op);
void onAccountConnectionChanged(const Tp::ConnectionPtr &conn);
private:
void setupGui();
Tp::AccountPtr mAccount;
RosterWidget *mRoster;
};
#endif