Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

messageviewer.h Example File
messageviewer/messageviewer.h

    /****************************************************************************
    **
    ** This file is part of the Qt Extended Opensource Package.
    **
    ** Copyright (C) 2009 Trolltech ASA.
    **
    ** $QT_EXTENDED_DUAL_LICENSE$
    **
    ****************************************************************************/

    #ifndef MESSAGEVIEWER_H
    #define MESSAGEVIEWER_H
    #include "ui_messageviewerbase.h"

    class QMailMessageId;

    class MessageViewer : public QWidget, public Ui_MessageViewerBase
    {
        Q_OBJECT
    public:
        MessageViewer( QWidget *parent = 0, Qt::WFlags f = 0 );
        ~MessageViewer();

    private slots:
        void showMessageList();
        void viewMessage(const QMailMessageId&);
        void showContactList();

    private:
        QWidget* contactSelector;
        QWidget* messageSelector;
    };

    #endif


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3