Home · All Classes · All Namespaces · Modules · Functions · Files
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


Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt 0.9.7