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

mailcommon

  • sources
  • kde-4.14
  • kdepim
  • mailcommon
  • widgets
redirectdialog.h
Go to the documentation of this file.
1 /* -*- mode: C++ -*-
2 
3  Copyright (c) 2003 Andreas Gungl <a.gungl@gmx.de>
4  Copyright (c) 2014-2015 Laurent Montel <montel@kde.org>
5 
6  This program is free software; you can redistribute it and/or modify it
7  under the terms of the GNU General Public License, version 2, as
8  published by the Free Software Foundation.
9 
10  This program is distributed in the hope that it will be useful, but
11  WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program; if not, write to the Free Software
17  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 
19  In addition, as a special exception, the copyright holders give
20  permission to link the code of this program with any edition of
21  the Qt library by Trolltech AS, Norway (or with modified versions
22  of Qt that use the same license as Qt), and distribute linked
23  combinations including the two. You must obey the GNU General
24  Public License in all respects for all of the code used other than
25  Qt. If you modify this file, you may extend this exception to
26  your version of the file, but you are not obligated to do so. If
27  you do not wish to do so, delete this exception statement from
28  your version.
29 */
30 #ifndef MAILCOMMON_REDIRECTDIALOG_H
31 #define MAILCOMMON_REDIRECTDIALOG_H
32 
33 #include "mailcommon_export.h"
34 
35 #include <KDialog>
36 namespace MailCommon {
46 class MAILCOMMON_EXPORT RedirectDialog : public KDialog
47 {
48  Q_OBJECT
49 
50 public:
54  enum SendMode {
55  SendNow,
56  SendLater
57  };
58 
65  explicit RedirectDialog( SendMode mode = SendNow, QWidget *parent = 0 );
66 
70  ~RedirectDialog();
71 
75  QString to() const;
76 
80  SendMode sendMode() const;
81 
82  int transportId() const;
83 
84  int identity() const;
85 
86  QString cc() const;
87  QString bcc() const;
88 protected:
89  virtual void accept();
90 
91 private:
92  //@cond PRIVATE
93  class Private;
94  Private *const d;
95 
96  Q_PRIVATE_SLOT( d, void slotUser1() )
97  Q_PRIVATE_SLOT( d, void slotUser2() )
98  Q_PRIVATE_SLOT( d, void slotAddressChanged( const QString & ) )
99  //@endcond
100 };
101 
102 }
103 
104 #endif
MailCommon::RedirectDialog
A dialog to request information about message redirection from the user.
Definition: redirectdialog.h:46
QWidget
KDialog
mailcommon_export.h
MailCommon::RedirectDialog::SendMode
SendMode
Describes the send mode.
Definition: redirectdialog.h:54
QString
MAILCOMMON_EXPORT
#define MAILCOMMON_EXPORT
Definition: mailcommon_export.h:35
MailCommon::RedirectDialog::SendNow
Definition: redirectdialog.h:55
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:31:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

mailcommon

Skip menu "mailcommon"
  • Main Page
  • Namespace List
  • Namespace Members
  • 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
  • pimprint

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