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

messageviewer

  • sources
  • kde-4.14
  • kdepim
  • messageviewer
  • viewer
messagedisplayformatattribute.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 2013-2015 Montel Laurent <montel@kde.org>
3 
4  This library is free software; you can redistribute it and/or modify it
5  under the terms of the GNU Library General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or (at your
7  option) any later version.
8 
9  This library is distributed in the hope that it will be useful, but WITHOUT
10  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12  License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to the
16  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17  02110-1301, USA.
18 
19 */
20 
21 #ifndef MESSAGEDISPLAYFORMATATTRIBUTE_H
22 #define MESSAGEDISPLAYFORMATATTRIBUTE_H
23 
24 #include <akonadi/attribute.h>
25 #include "messageviewer_export.h"
26 #include "viewer/viewer.h"
27 namespace MessageViewer {
28 class MessageDisplayFormatAttributePrivate;
29 
30 class MESSAGEVIEWER_EXPORT MessageDisplayFormatAttribute : public Akonadi::Attribute
31 {
32 public:
33  explicit MessageDisplayFormatAttribute();
34  ~MessageDisplayFormatAttribute();
35 
36  /* reimpl */
37  MessageDisplayFormatAttribute *clone() const;
38  QByteArray type() const;
39  QByteArray serialized() const;
40  void deserialize( const QByteArray &data );
41 
42  void setMessageFormat(Viewer::DisplayFormatMessage format);
43  Viewer::DisplayFormatMessage messageFormat() const;
44 
45  void setRemoteContent(bool remote);
46  bool remoteContent() const;
47  bool operator==(const MessageDisplayFormatAttribute &other) const;
48 
49 private:
50  friend class MessageDisplayFormatAttributePrivate;
51  MessageDisplayFormatAttributePrivate * const d;
52 };
53 }
54 
55 #endif // MESSAGEDISPLAYFORMATATTRIBUTE_H
MessageViewer::Viewer::DisplayFormatMessage
DisplayFormatMessage
Definition: viewer.h:108
viewer.h
QByteArray
MESSAGEVIEWER_EXPORT
#define MESSAGEVIEWER_EXPORT
Definition: messageviewer_export.h:37
type
const char * type
Definition: bodypartformatter.cpp:192
MessageViewer::MessageDisplayFormatAttribute
Definition: messagedisplayformatattribute.h:30
messageviewer_export.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:45 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
  • pimprint

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