From 97b5b8009254004608feefb903cbf44abaa099f6 Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Mon, 7 May 2012 18:49:48 +0200 Subject: Doc: Modularize QtWidgets documentation. This change moves the snippets and images to the modularized directories. Change-Id: Idec1afb9db7ea6add1ca4cf25ec4019d8bce0c4d Reviewed-by: Marius Storm-Olsen --- src/widgets/itemviews/qtreewidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/widgets/itemviews/qtreewidget.cpp') diff --git a/src/widgets/itemviews/qtreewidget.cpp b/src/widgets/itemviews/qtreewidget.cpp index e2d84825f0..d9d6c1434c 100644 --- a/src/widgets/itemviews/qtreewidget.cpp +++ b/src/widgets/itemviews/qtreewidget.cpp @@ -901,12 +901,12 @@ void QTreeModel::timerEvent(QTimerEvent *ev) to represent cities of the world, and adds a entry for Oslo as a child item: - \snippet doc/src/snippets/qtreewidget-using/mainwindow.cpp 3 + \snippet qtreewidget-using/mainwindow.cpp 3 Items can be added in a particular order by specifying the item they follow when they are constructed: - \snippet doc/src/snippets/qtreewidget-using/mainwindow.cpp 5 + \snippet qtreewidget-using/mainwindow.cpp 5 Each column in an item can have its own background brush which is set with the setBackground() function. The current background brush can be @@ -2355,7 +2355,7 @@ void QTreeWidgetPrivate::_q_dataChanged(const QModelIndex &topLeft, In its simplest form, a tree widget can be constructed in the following way: - \snippet doc/src/snippets/code/src_gui_itemviews_qtreewidget.cpp 0 + \snippet code/src_gui_itemviews_qtreewidget.cpp 0 Before items can be added to the tree widget, the number of columns must be set with setColumnCount(). This allows each item to have one or more -- cgit v1.2.3