#ifndef _TelepathyQt4_examples_accounts_accounts_window_h_HEADER_GUARD_
#define _TelepathyQt4_examples_accounts_accounts_window_h_HEADER_GUARD_
#include <QMainWindow>
#include <TelepathyQt4/Types>
namespace Tp {
class PendingOperation;
}
class QTableWidget;
class QTableWidgetItem;
class AccountsWindow : public QMainWindow
{
Q_OBJECT
public:
AccountsWindow(QWidget *parent = 0);
virtual ~AccountsWindow();
private Q_SLOTS:
void onAMReady(Tp::PendingOperation *);
void onNewAccount(const Tp::AccountPtr &);
private:
void setupGui();
Tp::AccountManagerPtr mAM;
QTableWidget *mTable;
};
#endif