• 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
  • viewer
messagedisplayformatattribute.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 2013 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 "viewer/viewer.h"
26 namespace MessageViewer {
27 class MessageDisplayFormatAttributePrivate;
28 
29 class MessageDisplayFormatAttribute : public Akonadi::Attribute
30 {
31 public:
32  explicit MessageDisplayFormatAttribute();
33  ~MessageDisplayFormatAttribute();
34 
35  /* reimpl */
36  MessageDisplayFormatAttribute *clone() const;
37  QByteArray type() const;
38  QByteArray serialized() const;
39  void deserialize( const QByteArray &data );
40 
41  void setMessageFormat(Viewer::ForceDisplayTo format);
42  Viewer::ForceDisplayTo messageFormat() const;
43 
44  void setRemoteContent(bool remote);
45  bool remoteContent() const;
46 
47 
48 private:
49  friend class MessageDisplayFormatAttributePrivate;
50  MessageDisplayFormatAttributePrivate * const d;
51 };
52 }
53 
54 #endif // MESSAGEDISPLAYFORMATATTRIBUTE_H
MessageViewer::MessageDisplayFormatAttribute::remoteContent
bool remoteContent() const
Definition: messagedisplayformatattribute.cpp:84
MessageViewer::MessageDisplayFormatAttribute::clone
MessageDisplayFormatAttribute * clone() const
Definition: messagedisplayformatattribute.cpp:50
viewer.h
MessageViewer::MessageDisplayFormatAttribute::messageFormat
Viewer::ForceDisplayTo messageFormat() const
Definition: messagedisplayformatattribute.cpp:89
MessageViewer::MessageDisplayFormatAttribute::deserialize
void deserialize(const QByteArray &data)
Definition: messagedisplayformatattribute.cpp:94
MessageViewer::MessageDisplayFormatAttribute::~MessageDisplayFormatAttribute
~MessageDisplayFormatAttribute()
Definition: messagedisplayformatattribute.cpp:45
MessageViewer::MessageDisplayFormatAttribute::type
QByteArray type() const
Definition: messagedisplayformatattribute.cpp:58
MessageViewer::Viewer::ForceDisplayTo
ForceDisplayTo
Definition: viewer.h:108
MessageViewer::MessageDisplayFormatAttribute::MessageDisplayFormatAttribute
MessageDisplayFormatAttribute()
Definition: messagedisplayformatattribute.cpp:40
MessageViewer::MessageDisplayFormatAttribute::MessageDisplayFormatAttributePrivate
friend class MessageDisplayFormatAttributePrivate
Definition: messagedisplayformatattribute.h:49
MessageViewer::MessageDisplayFormatAttribute::setRemoteContent
void setRemoteContent(bool remote)
Definition: messagedisplayformatattribute.cpp:79
MessageViewer::MessageDisplayFormatAttribute
Definition: messagedisplayformatattribute.h:29
MessageViewer::MessageDisplayFormatAttribute::serialized
QByteArray serialized() const
Definition: messagedisplayformatattribute.cpp:64
MessageViewer::MessageDisplayFormatAttribute::setMessageFormat
void setMessageFormat(Viewer::ForceDisplayTo format)
Definition: messagedisplayformatattribute.cpp:74
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