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