summaryrefslogtreecommitdiffabout
path: root/korganizer/kodialogmanager.h
Side-by-side diff
Diffstat (limited to 'korganizer/kodialogmanager.h') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kodialogmanager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/korganizer/kodialogmanager.h b/korganizer/kodialogmanager.h
index a6cc621..b68ddc2 100644
--- a/korganizer/kodialogmanager.h
+++ b/korganizer/kodialogmanager.h
@@ -26,75 +26,76 @@
#include <qobject.h>
#include <qptrlist.h>
#include <libkcal/calfilter.h>
class CalendarView;
class OutgoingDialog;
class IncomingDialog;
class KOPrefsDialog;
//namespace KPIM { class CategoryEditDialog; }
class KOEventEditor;
class KOTodoEditor;
class SearchDialog;
class ArchiveDialog;
class PluginDialog;
class KConfig;
class FilterEditDialog;
using namespace KCal;
/**
This class manages the dialogs used by the calendar view. It owns the objects
and handles creation and selection.
*/
class KODialogManager : public QObject
{
Q_OBJECT
public:
KODialogManager( CalendarView * );
virtual ~KODialogManager();
/** Get an editor dialog for an Event. */
KOEventEditor *getEventEditor();
/** Get an editor dialog for a Todo. */
KOTodoEditor *getTodoEditor();
OutgoingDialog *outgoingDialog();
IncomingDialog *incomingDialog();
void writeSettings( KConfig *config);
void updateSearchDialog();
SearchDialog * getSearchDialog();
void setDocumentId( const QString &id );
public slots:
void showOptionsDialog( bool showSync = false);
+ void showGlobalOptionsDialog(bool showSync = false);
void showSyncOptions();
void showIncomingDialog();
void showOutgoingDialog();
// void showCategoryEditDialog();
void showSearchDialog();
void showArchiveDialog();
void showFilterEditDialog(QPtrList<CalFilter> *filters);
void showPluginDialog();
void hideSearchDialog();
private:
void createOutgoingDialog();
void createIncomingDialog();
CalendarView *mMainView;
OutgoingDialog *mOutgoingDialog;
IncomingDialog *mIncomingDialog;
KOPrefsDialog *mOptionsDialog;
// KPIM::CategoryEditDialog *mCategoryEditDialog;
SearchDialog *mSearchDialog;
ArchiveDialog *mArchiveDialog;
FilterEditDialog *mFilterEditDialog;
PluginDialog *mPluginDialog;
};
#endif