diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2012-05-07 18:49:48 +0200 |
---|---|---|
committer | Marius Storm-Olsen <marius.storm-olsen@nokia.com> | 2012-05-09 08:36:46 +0200 |
commit | 97b5b8009254004608feefb903cbf44abaa099f6 (patch) | |
tree | cf3a79caa34085de1308eb86cac6ea0d9663aa9c /src/widgets/itemviews/qitemeditorfactory.cpp | |
parent | cfdc5628b1fc2cbafa2aebca38995e5718fcb0de (diff) |
Doc: Modularize QtWidgets documentation.
This change moves the snippets and images to the modularized
directories.
Change-Id: Idec1afb9db7ea6add1ca4cf25ec4019d8bce0c4d
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
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} |