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 KRESOURCES_SELECTDIALOG_H
00025 #define 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 KRES {
00036 
00037 class Resource;
00038 
00056 class SelectDialog : KDialog
00057 {
00058   public:
00065     SelectDialog( QPtrList<Resource> list, QWidget *parent = 0,
00066         const char *name = 0);
00067 
00071     Resource *resource();
00072 
00077     static Resource *getResource( QPtrList<Resource> list, QWidget *parent = 0 );
00078 
00079   private:
00080     KListBox *mResourceId;
00081 
00082     QMap<int, Resource*> mResourceMap;
00083 };
00084 
00085 }
00086 
00087 #endif
 
This file is part of the documentation for kresources Library Version 3.2.0.