• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

messageviewer

  • sources
  • kde-4.12
  • kdepim
  • messageviewer
objecttreesourceif.h
Go to the documentation of this file.
1 /* -*- mode: C++; c-file-style: "gnu" -*-
2  Copyright (C) 2009 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.net
3  Copyright (c) 2009 Andras Mantia <andras@kdab.net>
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License along
16  with this program; if not, write to the Free Software Foundation, Inc.,
17  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef MAILVIEWER_OBJECTTREESOURCE_IF_H
21 #define MAILVIEWER_OBJECTTREESOURCE_IF_H
22 
23 #include "messageviewer_export.h"
24 #include "utils/util.h"
25 
26 #include <KMime/Message>
27 
28 class QObject;
29 class QTextCodec;
30 
31 namespace MessageViewer {
32  class HtmlWriter;
33  class CSSHelper;
34  class AttachmentStrategy;
35 }
36 
37 namespace MessageViewer {
38 
43 class MESSAGEVIEWER_EXPORT ObjectTreeSourceIf {
44 
45 public:
46 
47  ObjectTreeSourceIf() {};
48  virtual ~ObjectTreeSourceIf() {};
49 
55  virtual void setHtmlMode( MessageViewer::Util::HtmlMode mode ) = 0;
56 
58  virtual bool htmlMail() = 0;
59 
62  virtual bool decryptMessage() = 0;
63 
65  virtual bool htmlLoadExternal() = 0;
66 
68  virtual bool showSignatureDetails() = 0;
69 
70  virtual int levelQuote() = 0;
71 
73  virtual const QTextCodec * overrideCodec() = 0;
74 
75  virtual QString createMessageHeader( KMime::Message *message ) = 0;
76 
78  virtual const AttachmentStrategy * attachmentStrategy() = 0;
79 
81  virtual HtmlWriter * htmlWriter() = 0;
82 
84  virtual CSSHelper* cssHelper() = 0;
85 
87  virtual QObject *sourceObject() = 0;
88 };
89 }
90 
91 #endif
MessageViewer::Util::HtmlMode
HtmlMode
Describes the type of the displayed message.
Definition: util.h:73
MessageViewer::ObjectTreeSourceIf::ObjectTreeSourceIf
ObjectTreeSourceIf()
Definition: objecttreesourceif.h:47
QObject
MessageViewer::ObjectTreeSourceIf
Interface for object tree sources.
Definition: objecttreesourceif.h:43
MessageViewer::ObjectTreeSourceIf::~ObjectTreeSourceIf
virtual ~ObjectTreeSourceIf()
Definition: objecttreesourceif.h:48
MessageViewer::CSSHelper
Definition: csshelper.h:41
util.h
MESSAGEVIEWER_EXPORT
#define MESSAGEVIEWER_EXPORT
Definition: messageviewer_export.h:37
MessageViewer::AttachmentStrategy
Definition: attachmentstrategy.h:46
MessageViewer::HtmlWriter
An interface to HTML sinks.
Definition: htmlwriter.h:98
messageviewer_export.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

messageviewer

Skip menu "messageviewer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal