akonadi
20 #include "messagefolderattribute.h"
22 using namespace Akonadi;
24 class Akonadi::MessageFolderAttribute::Private
28 : isOutboundFolder( false ) { }
30 bool isOutboundFolder;
33 MessageFolderAttribute::MessageFolderAttribute() :
40 d( new Private( *(other.d) ) )
44 MessageFolderAttribute::~MessageFolderAttribute()
49 QByteArray MessageFolderAttribute::type()
const
51 return "MESSAGEFOLDER";
59 QByteArray MessageFolderAttribute::serialized()
const
63 if ( d->isOutboundFolder ) {
72 void MessageFolderAttribute::deserialize(
const QByteArray &data)
74 if ( data ==
"outbound" ) {
75 d->isOutboundFolder =
true;
77 d->isOutboundFolder =
false;
81 bool MessageFolderAttribute::isOutboundFolder()
const
83 return d->isOutboundFolder;
86 void MessageFolderAttribute::setOutboundFolder(
bool outbound)
88 d->isOutboundFolder = outbound;
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Sep 24 2012 09:06:27 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.