knode
attachment_view.h
Go to the documentation of this file.
void removeCurrentAttachment()
Remove the currently selected attachment if there is a selection.
Definition: attachment_view.cpp:51
QVariant data(int column, int role) const
Reimplemented to return data from the underlying KNAttachment.
Definition: attachment_view.cpp:144
AttachmentView(QWidget *parent=0)
Constructor for the selection widget of identity.
Definition: attachment_view.cpp:36
void returnPressed()
This signal is emitted when the Return or Enter key is pressed on this widget.
void editCurrentAttachment()
Edit the currently selected attachment.
Definition: attachment_view.cpp:64
AttachmentViewItem(AttachmentView *parent, KNAttachment::Ptr attachment)
Constructor.
Definition: attachment_view.cpp:133
description of the attachment.
Definition: attachment_view.h:49
const QList< KNAttachment::Ptr > attachments()
Returns the list of attachments contained by this view .
Definition: attachment_view.cpp:85
void deletePressed()
This signal is emitted when the Delete key is pressed on this widget.
virtual void contextMenuEvent(QContextMenuEvent *event)
Reimplemented to emit the contextMenuRequested() signal.
Definition: attachment_view.cpp:117
virtual void keyPressEvent(QKeyEvent *event)
Reimplemented to emit the deletePressed() and returnPressed() signals.
Definition: attachment_view.cpp:100
QTreeWidgetItem * parent() const
virtual bool event(QEvent *e)
void contextMenuRequested(const QPoint &point)
Request a context menu on an attachment item at point.
MIME encoding (7bit, base64, etc.).
Definition: attachment_view.h:50
void attachmentRemoved(KNAttachment::Ptr attachment, bool last)
This signal is emitted when an attachment was actually removed.
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:18 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:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.