kmail
attachmentcontroller.cpp
Go to the documentation of this file.
48 AttachmentController::AttachmentController( MessageComposer::AttachmentModel *model, AttachmentView *view, KMComposeWin *composer )
67 connect( model, SIGNAL(attachItemsRequester(Akonadi::Item::List)), this, SLOT(addAttachmentItems(Akonadi::Item::List)) );
88 enableAttachMyPublicKey( Kleo::CryptoBackendFactory::instance()->openpgp() && !identity.pgpEncryptionKey().isEmpty() );
127 void AttachmentController::onShowAttachment( KMime::Content *content, const QByteArray &charset )
virtual QModelIndex index(int row, int column, const QModelIndex &parent) const =0
Definition: attachmentview.h:38
void attachMyPublicKey()
Definition: attachmentcontroller.cpp:91
QItemSelectionModel * selectionModel() const
const KPIMIdentities::Identity & identity() const
Definition: kmcomposewin.cpp:1979
T value() const
Definition: kmcomposewin.h:109
bool isValid() const
AttachmentController(MessageComposer::AttachmentModel *model, AttachmentView *view, KMComposeWin *composer)
Definition: attachmentcontroller.cpp:48
QModelIndexList selectedRows(int column) const
int row() const
~AttachmentController()
Definition: attachmentcontroller.cpp:70
virtual QVariant data(const QModelIndex &index, int role) const =0
virtual void selectAll()
Definition: kmreadermainwin.h:34
QString fromLatin1(const char *str, int size)
QAbstractItemModel * model() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.