knode
#include <attachment_view.h>

Public Types | |
| enum | Column { File = 0, Type = 1, Size = 2, Description = 3, Encoding = 4 } |
Public Slots | |
| void | editCurrentAttachment () |
| void | removeCurrentAttachment () |
Signals | |
| void | attachmentRemoved (KNAttachment::Ptr attachment, bool last) |
| void | contextMenuRequested (const QPoint &point) |
| void | deletePressed () |
| void | returnPressed () |
Public Member Functions | |
| AttachmentView (QWidget *parent=0) | |
| virtual | ~AttachmentView () |
| const QList< KNAttachment::Ptr > | attachments () |
Protected Member Functions | |
| virtual void | contextMenuEvent (QContextMenuEvent *event) |
| virtual void | keyPressEvent (QKeyEvent *event) |
Detailed Description
Attachment view in the composer.
Definition at line 37 of file attachment_view.h.
Member Enumeration Documentation
List of column.
The value is the column index.
| Enumerator | |
|---|---|
| File |
file name. |
| Type |
mime-type. |
| Size |
size. |
| Description |
description of the attachment. |
| Encoding |
MIME encoding (7bit, base64, etc.). |
Definition at line 45 of file attachment_view.h.
Constructor & Destructor Documentation
|
explicit |
Constructor for the selection widget of identity.
- Parameters
-
view The view this Attachement
Definition at line 36 of file attachment_view.cpp.
|
virtual |
Destructor.
Definition at line 45 of file attachment_view.cpp.
Member Function Documentation
|
signal |
This signal is emitted when an attachment was actually removed.
- Parameters
-
attachment the removed attachment. last true when attachmentwas the last attachment of this message.
| const QList< KNAttachment::Ptr > KNode::Composer::AttachmentView::attachments | ( | ) |
Returns the list of attachments contained by this view .
Definition at line 85 of file attachment_view.cpp.
|
protectedvirtual |
Reimplemented to emit the contextMenuRequested() signal.
Definition at line 117 of file attachment_view.cpp.
|
signal |
Request a context menu on an attachment item at point.
- Parameters
-
point a global position.
|
signal |
This signal is emitted when the Delete key is pressed on this widget.
|
slot |
Edit the currently selected attachment.
Definition at line 64 of file attachment_view.cpp.
|
protectedvirtual |
Reimplemented to emit the deletePressed() and returnPressed() signals.
Definition at line 100 of file attachment_view.cpp.
|
slot |
Remove the currently selected attachment if there is a selection.
Definition at line 51 of file attachment_view.cpp.
|
signal |
This signal is emitted when the Return or Enter key is pressed on this widget.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference