• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

knode

  • KNode
  • Composer
  • AttachmentView
Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
KNode::Composer::AttachmentView Class Reference

#include <attachment_view.h>

Inheritance diagram for KNode::Composer::AttachmentView:
Inheritance graph
[legend]

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

enum KNode::Composer::AttachmentView::Column

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

KNode::Composer::AttachmentView::AttachmentView ( QWidget *  parent = 0)
explicit

Constructor for the selection widget of identity.

Parameters
viewThe view this Attachement

Definition at line 36 of file attachment_view.cpp.

KNode::Composer::AttachmentView::~AttachmentView ( )
virtual

Destructor.

Definition at line 45 of file attachment_view.cpp.

Member Function Documentation

void KNode::Composer::AttachmentView::attachmentRemoved ( KNAttachment::Ptr  attachment,
bool  last 
)
signal

This signal is emitted when an attachment was actually removed.

Parameters
attachmentthe removed attachment.
lasttrue when attachment was 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.

void KNode::Composer::AttachmentView::contextMenuEvent ( QContextMenuEvent *  event)
protectedvirtual

Reimplemented to emit the contextMenuRequested() signal.

Definition at line 117 of file attachment_view.cpp.

void KNode::Composer::AttachmentView::contextMenuRequested ( const QPoint &  point)
signal

Request a context menu on an attachment item at point.

Parameters
pointa global position.
void KNode::Composer::AttachmentView::deletePressed ( )
signal

This signal is emitted when the Delete key is pressed on this widget.

void KNode::Composer::AttachmentView::editCurrentAttachment ( )
slot

Edit the currently selected attachment.

Definition at line 64 of file attachment_view.cpp.

void KNode::Composer::AttachmentView::keyPressEvent ( QKeyEvent *  event)
protectedvirtual

Reimplemented to emit the deletePressed() and returnPressed() signals.

Definition at line 100 of file attachment_view.cpp.

void KNode::Composer::AttachmentView::removeCurrentAttachment ( )
slot

Remove the currently selected attachment if there is a selection.

Definition at line 51 of file attachment_view.cpp.

void KNode::Composer::AttachmentView::returnPressed ( )
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:
  • attachment_view.h
  • attachment_view.cpp
This file is part of the KDE documentation.
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.

knode

Skip menu "knode"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal