Skip to main content ::
::
KDE PIM API Reference
::
Skip to Link Menu
/
API Reference
/
kmail
kmail
kmail
redirectdialog.h
1
/*
2
This file is part of KMail.
3
Copyright (c) 2003 Andreas Gungl <a.gungl@gmx.de>
4
5
KMail is free software; you can redistribute it and/or modify it
6
under the terms of the GNU General Public License, version 2, as
7
published by the Free Software Foundation.
8
9
KMail is distributed in the hope that it will be useful, but
10
WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
General Public License for more details.
13
14
You should have received a copy of the GNU General Public License
15
along with this program; if not, write to the Free Software
16
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
18
In addition, as a special exception, the copyright holders give
19
permission to link the code of this program with any edition of
20
the TQt library by Trolltech AS, Norway (or with modified versions
21
of TQt that use the same license as TQt), and distribute linked
22
combinations including the two. You must obey the GNU General
23
Public License in all respects for all of the code used other than
24
TQt. If you modify this file, you may extend this exception to
25
your version of the file, but you are not obligated to do so. If
26
you do not wish to do so, delete this exception statement from
27
your version.
28
*/
29
#ifndef KMAIL_REDIRECTDIALOG_H
30
#define KMAIL_REDIRECTDIALOG_H
31
32
#include <kdialogbase.h>
33
34
class
KMLineEdit;
35
class
TQPushButton;
36
class
TQLabel;
37
38
namespace
KMail
{
39
40
//---------------------------------------------------------------------------
50
class
RedirectDialog
:
public
KDialogBase
51
{
52
TQ_OBJECT
53
54
55
public
:
63
RedirectDialog
( TQWidget *parent=0,
const
char
*name=0,
64
bool
modal=
false
,
bool
immediate=
true
);
65
67
TQString
to
() {
return
mResentTo; };
68
70
bool
sendImmediate
() {
return
mImmediate; };
71
72
protected
:
74
void
accept
();
75
76
protected
slots:
78
void
slotAddrBook
();
79
80
void
slotUser1();
81
void
slotUser2();
82
void
slotEmailChanged(
const
TQString & );
83
private
:
84
TQLabel *mLabelTo;
85
KMLineEdit *mEditTo;
86
TQPushButton *mBtnTo;
87
TQString mResentTo;
88
bool
mImmediate;
89
};
90
91
}
// namespace KMail
92
93
#endif
// KMAIL_REDIRECTDIALOG_H
KMail::RedirectDialog
KMail message redirection dialog.
Definition
redirectdialog.h:51
KMail::RedirectDialog::to
TQString to()
Return the addresses for the redirection.
Definition
redirectdialog.h:67
KMail::RedirectDialog::slotAddrBook
void slotAddrBook()
Open addressbook editor dialog.
Definition
redirectdialog.cpp:124
KMail::RedirectDialog::sendImmediate
bool sendImmediate()
Returns the send mode.
Definition
redirectdialog.h:70
KMail::RedirectDialog::accept
void accept()
Evaluate the settings, an empty To field is not allowed.
Definition
redirectdialog.cpp:111
KMail
folderdiaquotatab.h
Definition
aboutdata.cpp:40
kmail
Skip menu "kmail"
Main Page
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
Related Pages
kmail
Skip menu "kmail"
akregator
src
librss
certmanager
lib
kaddressbook
kalarm
lib
kandy
karm
kdgantt
kgantt
kmail
knotes
konsolekalendar
kontact
korganizer
libemailfunctions
libkcal
libkholidays
libkmime
libkpgp
libkpimidentities
libtdepim
tdeioslave
imap4
mbox