selectdialog.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef LIBKCAL_KRESOURCES_SELECTDIALOG_H
00025 #define LIBKCAL_KRESOURCES_SELECTDIALOG_H
00026
00027 #include <qobject.h>
00028 #include <qptrlist.h>
00029 #include <qmap.h>
00030
00031 #include <kdialog.h>
00032
00033 class KListBox;
00034
00035 namespace KCal {
00036
00037 class ResourceCalendar;
00038 class Incidence;
00039
00057 class SelectDialog : KDialog
00058 {
00059 public:
00066 SelectDialog( QPtrList<ResourceCalendar> list, Incidence* incidence,
00067 QWidget *parent = 0, const char *name = 0);
00068
00072 ResourceCalendar *resource();
00073
00078 static ResourceCalendar *getResource( QPtrList<ResourceCalendar> list,
00079 Incidence* incidence,
00080 QWidget *parent = 0 );
00081
00082 private:
00083 KListBox *mResourceId;
00084
00085 QMap<int, ResourceCalendar*> mResourceMap;
00086 };
00087
00088 }
00089
00090 #endif
This file is part of the documentation for libkcal Library Version 3.3.2.