| Home · All Classes · All Namespaces · Modules · Functions · Files

accounts/accounts-window.h
#ifndef _TelepathyQt_examples_accounts_accounts_window_h_HEADER_GUARD_
#define _TelepathyQt_examples_accounts_accounts_window_h_HEADER_GUARD_
#include <QMainWindow>
#include <TelepathyQt/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