diff options
Diffstat (limited to 'src/widgets/itemviews/qitemeditorfactory.cpp')
-rw-r--r-- | src/widgets/itemviews/qitemeditorfactory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/itemviews/qitemeditorfactory.cpp b/src/widgets/itemviews/qitemeditorfactory.cpp index b4180c18dd..f970a77ab4 100644 --- a/src/widgets/itemviews/qitemeditorfactory.cpp +++ b/src/widgets/itemviews/qitemeditorfactory.cpp @@ -339,7 +339,7 @@ void QItemEditorFactory::setDefaultFactory(QItemEditorFactory *factory) editing data. A property is set as the user property with the USER keyword: - \snippet doc/src/snippets/code/src_gui_itemviews_qitemeditorfactory.cpp 0 + \snippet code/src_gui_itemviews_qitemeditorfactory.cpp 0 If the editor does not provide a user property, it must return the name of the property from valuePropertyName(); delegates will then @@ -405,7 +405,7 @@ void QItemEditorFactory::setDefaultFactory(QItemEditorFactory *factory) This way, it is not necessary to subclass QItemEditorCreatorBase. - \snippet doc/src/snippets/code/src_gui_itemviews_qitemeditorfactory.cpp 1 + \snippet code/src_gui_itemviews_qitemeditorfactory.cpp 1 The constructor takes the name of the property that contains the editing data. QItemDelegate can then access the property by name @@ -456,7 +456,7 @@ void QItemEditorFactory::setDefaultFactory(QItemEditorFactory *factory) Example: - \snippet doc/src/snippets/code/src_gui_itemviews_qitemeditorfactory.cpp 2 + \snippet code/src_gui_itemviews_qitemeditorfactory.cpp 2 Setting the \c editorFactory created above in an item delegate via QItemDelegate::setItemEditorFactory() makes sure that all values of type @@ -468,7 +468,7 @@ void QItemEditorFactory::setDefaultFactory(QItemEditorFactory *factory) System}{meta-object system}). You set the user property with the USER keyword: - \snippet doc/src/snippets/code/src_gui_itemviews_qitemeditorfactory.cpp 3 + \snippet code/src_gui_itemviews_qitemeditorfactory.cpp 3 \sa QItemEditorCreatorBase, QItemEditorCreator, QItemEditorFactory, QItemDelegate, {Color Editor Factory Example} |