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 #include <libkcal/calfilter.h> 00031 00032 class CalendarView; 00033 class OutgoingDialog; 00034 class IncomingDialog; 00035 class KCMultiDialog; 00036 class KConfigureDialog; 00037 namespace KPIM { class CategoryEditDialog; } 00038 class KOEventEditor; 00039 class KOTodoEditor; 00040 class SearchDialog; 00041 class ArchiveDialog; 00042 class PluginDialog; 00043 class FilterEditDialog; 00044 class KOAgendaView; 00045 00046 using namespace KCal; 00047 00052 class KODialogManager : public QObject 00053 { 00054 Q_OBJECT 00055 public: 00056 KODialogManager( CalendarView * ); 00057 virtual ~KODialogManager(); 00058 00060 KOEventEditor *getEventEditor(); 00061 00063 KOTodoEditor *getTodoEditor(); 00064 00065 OutgoingDialog *outgoingDialog(); 00066 00067 IncomingDialog *incomingDialog(); 00068 00069 void updateSearchDialog(); 00070 void setDocumentId( const QString &id ); 00071 00072 void connectTypeAhead( KOEventEditor *editor, KOAgendaView *agenda ); 00073 00074 static void errorSaveEvent( QWidget *parent ); 00075 static void errorSaveTodo( QWidget *parent ); 00076 static void errorSaveJournal( QWidget *parent ); 00077 00078 public slots: 00079 void showOptionsDialog(); 00080 void showIncomingDialog(); 00081 void showOutgoingDialog(); 00082 void showCategoryEditDialog(); 00083 void showSearchDialog(); 00084 void showArchiveDialog(); 00085 void showFilterEditDialog(QPtrList<CalFilter> *filters); 00086 void showPluginDialog(); 00087 00088 private: 00089 void createOutgoingDialog(); 00090 void createIncomingDialog(); 00091 00092 CalendarView *mMainView; 00093 00094 OutgoingDialog *mOutgoingDialog; 00095 IncomingDialog *mIncomingDialog; 00096 KCMultiDialog *mOptionsDialog; 00097 // KConfigureDialog *mOptionsDialog; 00098 KPIM::CategoryEditDialog *mCategoryEditDialog; 00099 SearchDialog *mSearchDialog; 00100 ArchiveDialog *mArchiveDialog; 00101 FilterEditDialog *mFilterEditDialog; 00102 PluginDialog *mPluginDialog; 00103 }; 00104 00105 #endif
KDE Logo
This file is part of the documentation for korganizer Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Jul 28 23:58:13 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003