korganizer Library API Documentation

kodialogmanager.h

00001 /* 00002 This file is part of KOrganizer. 00003 00004 Copyright (c) 2001,2004 Cornelius Schumacher <schumacher@kde.org> 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 00020 As a special exception, permission is given to link this program 00021 with any edition of Qt, and distribute the resulting executable, 00022 without including the source code for Qt in the source distribution. 00023 */ 00024 #ifndef KODIALOGMANAGER_H 00025 #define KODIALOGMANAGER_H 00026 00027 #include <qobject.h> 00028 #include <qptrlist.h> 00029 00030 namespace KCal{class CalFilter; } 00031 class CalendarView; 00032 class OutgoingDialog; 00033 class IncomingDialog; 00034 class KCMultiDialog; 00035 class KConfigureDialog; 00036 namespace KPIM { class CategoryEditDialog; } 00037 class KOIncidenceEditor; 00038 class KOEventEditor; 00039 class KOTodoEditor; 00040 class KOJournalEditor; 00041 class SearchDialog; 00042 class ArchiveDialog; 00043 class PluginDialog; 00044 class FilterEditDialog; 00045 class KOAgendaView; 00046 00047 using namespace KCal; 00048 00053 class KODialogManager : public QObject 00054 { 00055 Q_OBJECT 00056 public: 00057 KODialogManager( CalendarView * ); 00058 virtual ~KODialogManager(); 00059 00061 KOEventEditor *getEventEditor(); 00063 KOTodoEditor *getTodoEditor(); 00065 KOJournalEditor *getJournalEditor(); 00066 void connectEditor( KOIncidenceEditor*editor ); 00067 00068 OutgoingDialog *outgoingDialog(); 00069 00070 IncomingDialog *incomingDialog(); 00071 00072 void updateSearchDialog(); 00073 void setDocumentId( const QString &id ); 00074 00075 void connectTypeAhead( KOEventEditor *editor, KOAgendaView *agenda ); 00076 00077 static void errorSaveEvent( QWidget *parent ); 00078 static void errorSaveTodo( QWidget *parent ); 00079 static void errorSaveJournal( QWidget *parent ); 00080 00081 public slots: 00082 void showOptionsDialog(); 00083 void showIncomingDialog(); 00084 void showOutgoingDialog(); 00085 void showCategoryEditDialog(); 00086 void showSearchDialog(); 00087 void showArchiveDialog(); 00088 void showFilterEditDialog(QPtrList<CalFilter> *filters); 00089 void showPluginDialog(); 00090 00091 private: 00092 void createOutgoingDialog(); 00093 void createIncomingDialog(); 00094 00095 CalendarView *mMainView; 00096 00097 OutgoingDialog *mOutgoingDialog; 00098 IncomingDialog *mIncomingDialog; 00099 KCMultiDialog *mOptionsDialog; 00100 // KConfigureDialog *mOptionsDialog; 00101 KPIM::CategoryEditDialog *mCategoryEditDialog; 00102 SearchDialog *mSearchDialog; 00103 ArchiveDialog *mArchiveDialog; 00104 FilterEditDialog *mFilterEditDialog; 00105 PluginDialog *mPluginDialog; 00106 }; 00107 00108 #endif
KDE Logo
This file is part of the documentation for korganizer Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 21 19:46:56 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003