Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
/****************************************************************************
**
** This file is part of the Qt Extended Commercial Package.
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
**
** $QT_EXTENDED_DUAL_LICENSE$
**
****************************************************************************/
#ifndef MESSAGEMODEL_H
#define MESSAGEMODEL_H
#include <QContactModel>
#include <QStandardItemModel>
class QContact;
class QMailMessageId;
class MessageModel : public QStandardItemModel
{
Q_OBJECT
public:
explicit MessageModel(QObject* parent = 0);
virtual ~MessageModel();
void setContact(const QContact&);
bool isEmpty() const;
QMailMessageId messageId(const QModelIndex& index);
};
#endif
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |