kexi
kexicustompropertyfactory.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KEXICUSTOMPROPFACTORY_H
00021 #define KEXICUSTOMPROPFACTORY_H
00022
00023 #include <koproperty/property.h>
00024 #include <koproperty/factory.h>
00025
00027 class KEXIEXTWIDGETS_EXPORT KexiCustomPropertyFactory : public KoProperty::CustomPropertyFactory
00028 {
00029 public:
00030 enum PropertyType {
00031 PixmapId = KoProperty::UserDefined+0,
00032 Identifier = KoProperty::UserDefined+1
00033 };
00034
00036 static void init();
00037
00038 KexiCustomPropertyFactory(QObject* parent);
00039 virtual ~KexiCustomPropertyFactory();
00040
00041 virtual KoProperty::CustomProperty* createCustomProperty(KoProperty::Property *parent);
00042 virtual KoProperty::Widget* createCustomWidget(KoProperty::Property *prop);
00043 };
00044
00045 #endif
|