Changeset View
Changeset View
Standalone View
Standalone View
src/editors/pointfedit.h
Show All 17 Lines | 1 | /* This file is part of the KDE project | |||
---|---|---|---|---|---|
18 | along with this library; see the file COPYING.LIB. If not, write to | 18 | along with this library; see the file COPYING.LIB. If not, write to | ||
19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 19 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
20 | * Boston, MA 02110-1301, USA. | 20 | * Boston, MA 02110-1301, USA. | ||
21 | */ | 21 | */ | ||
22 | 22 | | |||
23 | #ifndef KPROPERTY_POINTFEDIT_H | 23 | #ifndef KPROPERTY_POINTFEDIT_H | ||
24 | #define KPROPERTY_POINTFEDIT_H | 24 | #define KPROPERTY_POINTFEDIT_H | ||
25 | 25 | | |||
26 | #include "KPropertyFactory.h" | 26 | #include "KPropertyWidgetsFactory.h" | ||
27 | 27 | | |||
28 | class KPROPERTY_EXPORT KPointFComposedProperty : public KComposedPropertyInterface | 28 | class KPROPERTYWIDGETS_EXPORT KPointFComposedProperty : public KComposedPropertyInterface | ||
29 | { | 29 | { | ||
30 | public: | 30 | public: | ||
31 | explicit KPointFComposedProperty(KProperty *parent); | 31 | explicit KPointFComposedProperty(KProperty *parent); | ||
32 | 32 | | |||
33 | virtual void setValue(KProperty *property, | 33 | virtual void setValue(KProperty *property, | ||
34 | const QVariant &value, bool rememberOldValue); | 34 | const QVariant &value, bool rememberOldValue); | ||
35 | 35 | | |||
36 | virtual void childValueChanged(KProperty *child, | 36 | virtual void childValueChanged(KProperty *child, | ||
37 | const QVariant &value, bool rememberOldValue); | 37 | const QVariant &value, bool rememberOldValue); | ||
38 | }; | 38 | }; | ||
39 | 39 | | |||
40 | class KPROPERTY_EXPORT KPropertyPointFDelegate : public KPropertyLabelCreator, | 40 | class KPROPERTYWIDGETS_EXPORT KPropertyPointFDelegate : public KPropertyLabelCreator, | ||
41 | public KComposedPropertyCreator<KPointFComposedProperty> | 41 | public KComposedPropertyCreator<KPointFComposedProperty> | ||
42 | { | 42 | { | ||
43 | public: | 43 | public: | ||
44 | KPropertyPointFDelegate() {} | 44 | KPropertyPointFDelegate() {} | ||
45 | virtual QString displayText( const QVariant& value ) const; | 45 | virtual QString displayText( const QVariant& value ) const; | ||
46 | }; | 46 | }; | ||
47 | 47 | | |||
48 | #endif | 48 | #endif |