1 /*******************************************************************************
3 ** Filename : foldershortcutdialog.h
4 ** Created on : 09 October, 2004
5 ** Copyright : (c) 2004 Till Adam
6 ** Email : adam@kde.org
8 *******************************************************************************/
10 /*******************************************************************************
12 ** This program is free software; you can redistribute it and/or modify
13 ** it under the terms of the GNU General Public License as published by
14 ** the Free Software Foundation; either version 2 of the License, or
15 ** (at your option) any later version.
17 ** This program is distributed in the hope that it will be useful,
18 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ** GNU General Public License for more details.
22 ** You should have received a copy of the GNU General Public License
23 ** along with this program; if not, write to the Free Software
24 ** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 ** In addition, as a special exception, the copyright holders give
27 ** permission to link the code of this program with any edition of
28 ** the Qt library by Trolltech AS, Norway (or with modified versions
29 ** of Qt that use the same license as Qt), and distribute linked
30 ** combinations including the two. You must obey the GNU General
31 ** Public License in all respects for all of the code used other than
32 ** Qt. If you modify this file, you may extend this exception to
33 ** your version of the file, but you are not obligated to do so. If
34 ** you do not wish to do so, delete this exception statement from
37 *******************************************************************************/
39 #ifndef FOLDERSHORTCUTDIALOG_H
40 #define FOLDERSHORTCUTDIALOG_H
42 #include <kdialog.h> // include for the base class
43 #include <QSharedPointer>
45 class KKeySequenceWidget
;
48 namespace MailCommon
{
49 class FolderCollection
;
55 class FolderShortcutDialog
: public KDialog
59 FolderShortcutDialog( const QSharedPointer
<MailCommon::FolderCollection
>& folder
, KMMainWidget
*mw
,
61 ~FolderShortcutDialog();
68 QSharedPointer
<MailCommon::FolderCollection
> mFolder
;
69 KMMainWidget
*mMainWidget
;
70 KKeySequenceWidget
*mKeySeqWidget
;
72 }; // End of class FolderShortcutDialog
74 } // End of namespace KMail
77 #endif // FOLDERSHORTCUTDIALOG_H