• 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
  • dialog
archivefolderdialog.h
Go to the documentation of this file.
1 /* Copyright 2009 Klarälvdalens Datakonsult AB
2 
3  This program is free software; you can redistribute it and/or
4  modify it under the terms of the GNU General Public License as
5  published by the Free Software Foundation; either version 2 of
6  the License or (at your option) version 3 or any later version
7  accepted by the membership of KDE e.V. (or its successor approved
8  by the membership of KDE e.V.), which shall act as a proxy
9  defined in Section 14 of version 3 of the license.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19 #ifndef ARCHIVEFOLDERDIALOG_H
20 #define ARCHIVEFOLDERDIALOG_H
21 
22 #include <kdialog.h>
23 
24 class QCheckBox;
25 class KUrlRequester;
26 class KComboBox;
27 class KUrl;
28 
29 namespace Akonadi
30 {
31 class Collection;
32 }
33 
34 namespace MailCommon {
35 class FolderRequester;
36 }
37 
38 namespace KMail
39 {
40 
41 class ArchiveFolderDialog : public KDialog
42 {
43  Q_OBJECT
44 
45 public:
46  explicit ArchiveFolderDialog( QWidget *parent = 0 );
47  void setFolder( const Akonadi::Collection &defaultCollection );
48 
49 private slots:
50  void slotFixFileExtension();
51  void slotFolderChanged( const Akonadi::Collection& );
52  void slotRecursiveCheckboxClicked();
54  void slotButtonClicked( int button );
55  void slotUrlChanged(const QString&);
56 
57 private:
58  bool allowToDeleteFolders( const Akonadi::Collection &folder) const;
59 
60  QWidget *mParentWidget;
61  QCheckBox *mDeleteCheckBox;
62  QCheckBox *mRecursiveCheckBox;
63  MailCommon::FolderRequester *mFolderRequester;
64  KComboBox *mFormatComboBox;
65  KUrlRequester *mUrlRequester;
66 };
67 
68 }
69 
70 #endif
KMail::ArchiveFolderDialog::ArchiveFolderDialog
ArchiveFolderDialog(QWidget *parent=0)
Definition: archivefolderdialog.cpp:53
QWidget
KDialog
KMail::ArchiveFolderDialog
Definition: archivefolderdialog.h:41
KMail::ArchiveFolderDialog::setFolder
void setFolder(const Akonadi::Collection &defaultCollection)
Definition: archivefolderdialog.cpp:162
KComboBox
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