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

calendarsupport

  • sources
  • kde-4.12
  • kdepim
  • calendarsupport
archivedialog.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org>
3  Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License along
16  with this program; if not, write to the Free Software Foundation, Inc.,
17  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 
19  As a special exception, permission is given to link this program
20  with any edition of Qt, and distribute the resulting executable,
21  without including the source code for Qt in the source distribution.
22 */
23 #ifndef CALENDARSUPPORT_ARCHIVEDIALOG_H
24 #define CALENDARSUPPORT_ARCHIVEDIALOG_H
25 
26 #include "calendarsupport_export.h"
27 
28 #include <Akonadi/Calendar/ETMCalendar>
29 #include <KDialog>
30 
31 class KComboBox;
32 class KDateComboBox;
33 class KIntNumInput;
34 class KUrlRequester;
35 
36 class QCheckBox;
37 class QRadioButton;
38 
39 namespace Akonadi {
40  class IncidenceChanger;
41  class ETMCalendar;
42 }
43 
44 namespace CalendarSupport {
45 
46 class CALENDARSUPPORT_EXPORT ArchiveDialog : public KDialog
47 {
48  Q_OBJECT
49  public:
50  ArchiveDialog( const Akonadi::ETMCalendar::Ptr &calendar,
51  Akonadi::IncidenceChanger *changer,
52  QWidget *parent = 0 );
53  ~ArchiveDialog();
54 
55  signals:
56  // connected by KODialogManager to CalendarView
57  void eventsDeleted();
58  void autoArchivingSettingsModified();
59 
60  protected slots:
61  void slotEventsDeleted();
62  void slotUser1();
63  void slotEnableUser1();
64  void slotActionChanged();
65 
66  private slots:
67  void showWhatsThis();
68 
69  private:
70  KUrlRequester *mArchiveFile;
71  KDateComboBox *mDateEdit;
72  QCheckBox *mDeleteCb;
73  QRadioButton *mArchiveOnceRB;
74  QRadioButton *mAutoArchiveRB;
75  KIntNumInput *mExpiryTimeNumInput;
76  KComboBox *mExpiryUnitsComboBox;
77  QCheckBox *mEvents;
78  QCheckBox *mTodos;
79  Akonadi::IncidenceChanger *mChanger;
80  Akonadi::ETMCalendar::Ptr mCalendar;
81 };
82 
83 }
84 
85 #endif
QWidget
KDialog
calendarsupport_export.h
CalendarSupport::ArchiveDialog
Definition: archivedialog.h:46
CALENDARSUPPORT_EXPORT
#define CALENDARSUPPORT_EXPORT
Definition: calendarsupport_export.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

calendarsupport

Skip menu "calendarsupport"
  • 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