Home · All Classes · Grouped Classes · Annotated · Functions

messagemodel.h Example File
messageviewer/messagemodel.h

    /****************************************************************************
    **
    ** This file is part of the Qtopia Phone Edition Package.
    **
    ** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
    **
    ** $QT_EXTENDED_DUAL_LICENSE$
    **
    ****************************************************************************/

    #ifndef MESSAGEMODEL_H
    #define MESSAGEMODEL_H

    #include <QContactModel>
    #include <QStandardItemModel>

    class QContact;
    class QMailId;

    class MessageModel : public QStandardItemModel
    {
        Q_OBJECT

    public:
        explicit MessageModel(QObject* parent = 0);
        virtual ~MessageModel();

        void setContact(const QContact&);

        QMailId messageId(const QModelIndex& index);
    };

    #endif // MESSAGEMODEL_H


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3