summaryrefslogtreecommitdiffstats
path: root/examples/qtmail/readmail.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qtmail/readmail.h')
-rw-r--r--examples/qtmail/readmail.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qtmail/readmail.h b/examples/qtmail/readmail.h
index def9a02e..4698c295 100644
--- a/examples/qtmail/readmail.h
+++ b/examples/qtmail/readmail.h
@@ -114,7 +114,7 @@ private:
QMailViewerInterface* currentViewer() const;
- QMailViewerInterface* viewer(QMailMessage::ContentType content, QMailViewerFactory::PresentationType type = QMailViewerFactory::StandardPresentation);
+ QMailViewerInterface* viewer(QMailMessage::ContentCategory content, QMailViewerFactory::PresentationType type = QMailViewerFactory::StandardPresentation);
static QString displayName(const QMailMessage &);
@@ -136,7 +136,7 @@ private:
typedef QStack<QPair<QMailViewerInterface*, QString> > ViewerStack;
ViewerStack currentView;
- typedef QMap<QPair<QMailMessage::ContentType, QMailViewerFactory::PresentationType>, QMailViewerInterface*> ViewerMap;
+ typedef QMap<QPair<QMailMessage::ContentCategory, QMailViewerFactory::PresentationType>, QMailViewerInterface*> ViewerMap;
ViewerMap contentViews;
};