MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9
   Home · All Classes · All Namespaces · Modules · Functions · Files

accounts/accounts-window.h

#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

Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.6.5