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

korganizer

  • sources
  • kde-4.12
  • kdepim
  • korganizer
kodialogmanager.h
Go to the documentation of this file.
1 /*
2  This file is part of KOrganizer.
3 
4  Copyright (c) 2001,2004 Cornelius Schumacher <schumacher@kde.org>
5  Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
6 
7  This program is free software; you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation; either version 2 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License along
18  with this program; if not, write to the Free Software Foundation, Inc.,
19  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 
21  As a special exception, permission is given to link this program
22  with any edition of Qt, and distribute the resulting executable,
23  without including the source code for Qt in the source distribution.
24 */
25 
26 #ifndef KORG_KODIALOGMANAGER_H
27 #define KORG_KODIALOGMANAGER_H
28 
29 #include "koeventview.h"
30 
31 class CalendarView;
32 class FilterEditDialog;
33 class SearchDialog;
34 
35 namespace CalendarSupport {
36  class ArchiveDialog;
37 }
38 
39 namespace IncidenceEditorNG {
40  class CategoryEditDialog;
41  class IncidenceDialog;
42 }
43 
44 namespace KCalCore {
45  class CalFilter;
46 }
47 
48 class KCMultiDialog;
49 
54 class KODialogManager : public QObject
55 {
56  Q_OBJECT
57  public:
58  explicit KODialogManager( CalendarView * );
59  virtual ~KODialogManager();
60 
61  IncidenceEditorNG::IncidenceDialog *createDialog( const Akonadi::Item &item );
62 
63  // TODO_NG: see if editors-NG have the needed slots.
64  void connectEditor( IncidenceEditorNG::IncidenceDialog *editor );
65 
66  void updateSearchDialog();
67 
68  void connectTypeAhead( IncidenceEditorNG::IncidenceDialog *editor, KOEventView *view );
69 
70  public slots:
71  void showOptionsDialog();
72  void showCategoryEditDialog();
73  void showSearchDialog();
74  void showArchiveDialog();
75  void showFilterEditDialog( QList<KCalCore::CalFilter*> *filters );
76 
77  private:
78  void createCategoryEditor();
79  class DialogManagerVisitor;
80  class EditorDialogVisitor;
81 
82  CalendarView *mMainView;
83  KCMultiDialog *mOptionsDialog;
84  QPointer<IncidenceEditorNG::CategoryEditDialog> mCategoryEditDialog;
85  SearchDialog *mSearchDialog;
86  CalendarSupport::ArchiveDialog *mArchiveDialog;
87  FilterEditDialog *mFilterEditDialog;
88 };
89 
90 #endif
KODialogManager::connectTypeAhead
void connectTypeAhead(IncidenceEditorNG::IncidenceDialog *editor, KOEventView *view)
Definition: kodialogmanager.cpp:183
FilterEditDialog
This is the class to add/edit a calendar filter.
Definition: filtereditdialog.h:50
KODialogManager::createDialog
IncidenceEditorNG::IncidenceDialog * createDialog(const Akonadi::Item &item)
Definition: kodialogmanager.cpp:168
QObject
KOEventView
KOEventView is the abstract base class from which all other calendar views for event data are derived...
Definition: koeventview.h:54
KODialogManager::showFilterEditDialog
void showFilterEditDialog(QList< KCalCore::CalFilter * > *filters)
Definition: kodialogmanager.cpp:152
KODialogManager::showCategoryEditDialog
void showCategoryEditDialog()
Definition: kodialogmanager.cpp:112
CalendarView
This is the main calendar widget.
Definition: calendarview.h:99
KODialogManager::showSearchDialog
void showSearchDialog()
Definition: kodialogmanager.cpp:118
KODialogManager::KODialogManager
KODialogManager(CalendarView *)
Definition: kodialogmanager.cpp:65
koeventview.h
KODialogManager::showArchiveDialog
void showArchiveDialog()
Definition: kodialogmanager.cpp:135
KODialogManager::updateSearchDialog
void updateSearchDialog()
Definition: kodialogmanager.cpp:207
KODialogManager::showOptionsDialog
void showOptionsDialog()
Definition: kodialogmanager.cpp:84
KODialogManager::~KODialogManager
virtual ~KODialogManager()
Definition: kodialogmanager.cpp:75
KODialogManager::connectEditor
void connectEditor(IncidenceEditorNG::IncidenceDialog *editor)
Definition: kodialogmanager.cpp:191
SearchDialog
Definition: searchdialog.h:50
KODialogManager
This class manages the dialogs used by the calendar view.
Definition: kodialogmanager.h:54
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

korganizer

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

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