resourceselectdialog.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KDEPIM_RESOURCESELECTDIALOG_H
00022 #define KDEPIM_RESOURCESELECTDIALOG_H
00023
00024 #include <qobject.h>
00025 #include <qptrlist.h>
00026 #include <qmap.h>
00027
00028 #include <kdialog.h>
00029 #include <klistbox.h>
00030
00031 #include "resource.h"
00032
00033 namespace KPIM {
00034
00049 class ResourceSelectDialog : KDialog
00050 {
00051
00052
00053 public:
00060 ResourceSelectDialog( QPtrList<Resource> list, QWidget *parent = 0,
00061 const char *name = 0);
00062
00063
00064
00068 Resource *resource();
00069
00074 static Resource *getResource( QPtrList<Resource> list, QWidget *parent = 0 );
00075
00076 private:
00077 KListBox *mResourceId;
00078
00079 QMap<int, Resource*> mResourceMap;
00080 };
00081
00082 }
00083 #endif
This file is part of the documentation for kdelibs Version 3.1.5.