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