Changeset View
Changeset View
Standalone View
Standalone View
src/KDefaultPropertyFactory.cpp
Show All 12 Lines | 1 | /* This file is part of the KDE project | |||
---|---|---|---|---|---|
13 | 13 | | |||
14 | You should have received a copy of the GNU Library General Public License | 14 | You should have received a copy of the GNU Library General Public License | ||
15 | along with this library; see the file COPYING.LIB. If not, write to | 15 | along with this library; see the file COPYING.LIB. If not, write to | ||
16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
17 | * Boston, MA 02110-1301, USA. | 17 | * Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #include "KDefaultPropertyFactory.h" | 20 | #include "KDefaultPropertyFactory.h" | ||
21 | #include "KPropertyWidgetsFactory.h" | ||||
staniek: not needed include | |||||
21 | #include "KProperty.h" | 22 | #include "KProperty.h" | ||
22 | /* | 23 | /* | ||
23 | #include "customproperty.h"*/ | 24 | #include "customproperty.h"*/ | ||
24 | #include "editors/booledit.h" | 25 | #include "editors/booledit.h" | ||
25 | #include "editors/combobox.h" | 26 | #include "editors/combobox.h" | ||
26 | #include "editors/coloredit.h" | 27 | #include "editors/coloredit.h" | ||
27 | #include "editors/cursoredit.h" | 28 | #include "editors/cursoredit.h" | ||
28 | #include "editors/dateedit.h" | 29 | #include "editors/dateedit.h" | ||
Show All 11 Lines | |||||
40 | /*#include "stringlistedit.h"*/ | 41 | /*#include "stringlistedit.h"*/ | ||
41 | #include "editors/linestyleedit.h" | 42 | #include "editors/linestyleedit.h" | ||
42 | #include "editors/KPropertyStringEditor.h" | 43 | #include "editors/KPropertyStringEditor.h" | ||
43 | // #include "symbolcombo.h" | 44 | // #include "symbolcombo.h" | ||
44 | #include "editors/timeedit.h" | 45 | #include "editors/timeedit.h" | ||
45 | // #include "urledit.h" | 46 | // #include "urledit.h" | ||
46 | 47 | | |||
47 | KDefaultPropertyFactory::KDefaultPropertyFactory() | 48 | KDefaultPropertyFactory::KDefaultPropertyFactory() | ||
48 | : KPropertyFactory() | 49 | : KPropertyWidgetsFactory() | ||
49 | { | 50 | { | ||
50 | addEditor( KProperty::Bool, new KPropertyBoolDelegate ); | 51 | addEditor( KProperty::Bool, new KPropertyBoolDelegate ); | ||
51 | addEditor( KProperty::Cursor, new KPropertyCursorDelegate ); | 52 | addEditor( KProperty::Cursor, new KPropertyCursorDelegate ); | ||
52 | addEditor( KProperty::Color, new KPropertyColorComboDelegate ); | 53 | addEditor( KProperty::Color, new KPropertyColorComboDelegate ); | ||
53 | addEditor( KProperty::Date, new KPropertyDateDelegate ); | 54 | addEditor( KProperty::Date, new KPropertyDateDelegate ); | ||
54 | addEditor( KProperty::DateTime, new KPropertyDateTimeDelegate ); | 55 | addEditor( KProperty::DateTime, new KPropertyDateTimeDelegate ); | ||
55 | addEditor( KProperty::Double, new KPropertyDoubleSpinBoxDelegate ); | 56 | addEditor( KProperty::Double, new KPropertyDoubleSpinBoxDelegate ); | ||
56 | addEditor( KProperty::Font, new KPropertyFontDelegate ); | 57 | addEditor( KProperty::Font, new KPropertyFontDelegate ); | ||
Show All 21 Lines |
not needed include