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

kmail

  • sources
  • kde-4.12
  • kdepim
  • kmail
  • editor
attachmentcontroller.h
Go to the documentation of this file.
1 /*
2  * This file is part of KMail.
3  * Copyright (c) 2009 Constantin Berzan <exit3219@gmail.com>
4  *
5  * Parts based on KMail code by:
6  * Various authors.
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License along
19  * with this program; if not, write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21  */
22 
23 #ifndef KMAIL_ATTACHMENTCONTROLLER_H
24 #define KMAIL_ATTACHMENTCONTROLLER_H
25 
26 #include "attachment/attachmentcontrollerbase.h"
27 
28 class KMComposeWin;
29 class QModelIndex;
30 namespace MessageComposer {
31 class AttachmentModel;
32 }
33 
34 namespace KMail {
35 class AttachmentView;
36 
37 class AttachmentController : public MessageComposer::AttachmentControllerBase
38 {
39  Q_OBJECT
40 
41 public:
42  explicit AttachmentController( MessageComposer::AttachmentModel *model, AttachmentView *view, KMComposeWin *composer );
43  ~AttachmentController();
44 
45 public slots:
47  void attachMyPublicKey();
48 
49 private slots:
50  void identityChanged();
51  void actionsCreated();
52  void addAttachmentItems( const Akonadi::Item::List &items );
53  void selectionChanged();
54  void onShowAttachment( KMime::Content *content, const QByteArray &charset );
55  void doubleClicked( const QModelIndex &itemClicked );
56  void slotSelectAllAttachment();
57 
58 private:
59  KMComposeWin *mComposer;
60  AttachmentView *mView;
61 };
62 
63 } // namespace KMail
64 
65 #endif // KMAIL_ATTACHMENTCONTROLLER_H
KMail::AttachmentView
Definition: attachmentview.h:38
KMail::AttachmentController::attachMyPublicKey
void attachMyPublicKey()
Definition: attachmentcontroller.cpp:91
KMComposeWin
Definition: kmcomposewin.h:106
KMail::AttachmentController
Definition: attachmentcontroller.h:37
KMail::AttachmentController::AttachmentController
AttachmentController(MessageComposer::AttachmentModel *model, AttachmentView *view, KMComposeWin *composer)
Definition: attachmentcontroller.cpp:48
KMail::AttachmentController::~AttachmentController
~AttachmentController()
Definition: attachmentcontroller.cpp:70
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kmail

Skip menu "kmail"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

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