mailtransport
20 #include "transporttype.h"
21 #include "transporttype_p.h"
22 #include "transport.h"
24 #include <akonadi/agentmanager.h>
26 using namespace MailTransport;
44 if (
this != &other ) {
52 if ( d->mType == Transport::EnumType::Akonadi &&
53 other.d->mType == Transport::EnumType::Akonadi ) {
54 return ( d->mAgentType == other.d->mAgentType );
56 return ( d->mType == other.d->mType );
61 using namespace Akonadi;
63 if ( d->mType == Transport::EnumType::Akonadi ) {
64 return d->mAgentType.isValid() &&
65 AgentManager::self()->types().contains( d->mAgentType );
73 return static_cast<TransportBase::EnumType::type
>( d->mType );
83 return d->mDescription;
88 Q_ASSERT( d->mType == Transport::EnumType::Akonadi );
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:26:53 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.