emailuis/nmailui/inc/nmviewerview.h
changeset 74 6c59112cfd31
parent 68 83cc6bae1de8
equal deleted inserted replaced
69:4e54af54a4a1 74:6c59112cfd31
    17 
    17 
    18 #ifndef NMVIEWERVIEW_H_
    18 #ifndef NMVIEWERVIEW_H_
    19 #define NMVIEWERVIEW_H_
    19 #define NMVIEWERVIEW_H_
    20 
    20 
    21 #include <QPointer>
    21 #include <QPointer>
       
    22 #include <XQSharableFile.h>
    22 
    23 
    23 #include "nmbaseview.h"
    24 #include "nmbaseview.h"
    24 #include "nmactionobserver.h"
    25 #include "nmactionobserver.h"
    25 #include "nmattachmentfetchobserver.h"
    26 #include "nmattachmentfetchobserver.h"
    26 
    27 
    75     void linkClicked(const QUrl& link);
    76     void linkClicked(const QUrl& link);
    76     void contentScrollPositionChanged(const QPointF &newPosition);
    77     void contentScrollPositionChanged(const QPointF &newPosition);
    77     void fetchMessage();
    78     void fetchMessage();
    78     void openAttachment(int index);
    79     void openAttachment(int index);
    79 	void createOptionsMenu();
    80 	void createOptionsMenu();
       
    81 	void fileOpenCompleted(const QVariant&);
       
    82 	void fileOpenError(int, const QString&);
       
    83 	
    80 
    84 
    81 private slots:
    85 private slots:
    82     void setMessageData();
    86     void setMessageData();
    83     void messageFetched(int result);
    87     void messageFetched(int result);
    84     void waitNoteCancelled();
    88     void waitNoteCancelled();
   137     int mAttaIndexUnderFetch;
   141     int mAttaIndexUnderFetch;
   138     NmAttachmentListWidget *mAttaWidget;             // Not owned
   142     NmAttachmentListWidget *mAttaWidget;             // Not owned
   139     bool mViewReady;
   143     bool mViewReady;
   140     bool mWaitNoteCancelled;
   144     bool mWaitNoteCancelled;
   141     HbMessageBox *mErrorNote;                       // Owned
   145     HbMessageBox *mErrorNote;                       // Owned
       
   146     QList<QString> mTempFiles;
       
   147     bool mAttachmentOpen;
       
   148     XQSharableFile mOpenedAttachment;
   142 };
   149 };
   143 
   150 
   144 #endif /* NMVIEWERVIEW_H_ */
   151 #endif /* NMVIEWERVIEW_H_ */