From 77067ca74e07c34c8db49bf2c1fecaf96bbdcc02 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Tue, 19 Nov 2013 11:03:31 +0100 Subject: Doc: Add example documentation Adds minimal documentation for examples and ensures that Mac Extras examples are shown in Qt Creator's example list. Task-number: QTBUG-33682 Change-Id: I6ba88bc7a1b22788d19d66d7d79dd486cd5add8c Reviewed-by: Jerome Pasion --- .../src/qtmacextras-example-macpasteboardmime.qdoc | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 examples/macextras/macpasteboardmime/doc/src/qtmacextras-example-macpasteboardmime.qdoc (limited to 'examples/macextras/macpasteboardmime') diff --git a/examples/macextras/macpasteboardmime/doc/src/qtmacextras-example-macpasteboardmime.qdoc b/examples/macextras/macpasteboardmime/doc/src/qtmacextras-example-macpasteboardmime.qdoc new file mode 100644 index 0000000..53dfb68 --- /dev/null +++ b/examples/macextras/macpasteboardmime/doc/src/qtmacextras-example-macpasteboardmime.qdoc @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). +** Contact: http://www.qt-project.org/legal +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and Digia. For licensing terms and +** conditions see http://qt.digia.com/licensing. For further information +** use the contact form at http://qt.digia.com/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \title Mac Pasteboard MIME Converter + \ingroup examples-qtmacextras + \example macpasteboardmime + \brief Demonstrates using QMacPasteboardMime class. + + This example shows how to use QMacPasteboardMime to do conversion + between a MIME type and a Uniform Type Identifier (UTI) format used + on Mac OS X. + + The example creates a widget that accepts drag & drop events, and + reads contents of dropped business cards in vCard format. +*/ -- cgit v1.2.3