/****************************************************************************
**
** Copyright (C) 2004-2007 Trolltech ASA. All rights reserved.
**
** This file is part of the documentation of the Qt Toolkit.
**
** This file may be used under the terms of the GNU General Public
** License version 2.0 as published by the Free Software Foundation
** and appearing in the file LICENSE.GPL included in the packaging of
** this file.  Please review the following information to ensure GNU
** General Public Licensing requirements will be met:
** http://trolltech.com/products/qt/licenses/licensing/opensource/
**
** If you are unsure which license is appropriate for your use, please
** review the following information:
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
** or contact the sales department at sales@trolltech.com.
**
** In addition, as a special exception, Trolltech gives you certain
** additional rights. These rights are described in the Trolltech GPL
** Exception version 1.0, which can be found at
** http://www.trolltech.com/products/qt/gplexception/ and in the file
** GPL_EXCEPTION.txt in this package.
**
** In addition, as a special exception, Trolltech, as the sole copyright
** holder for Qt Designer, grants users of the Qt/Eclipse Integration
** plug-in the right for the Qt/Eclipse Integration to link to
** functionality provided by Qt Designer and its related libraries.
**
** Trolltech reserves all rights not expressly granted herein.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
****************************************************************************/

/*!
    \page qaxserver-demo-wrapper.html

    \title Standard Qt widgets in an HTML page

    \input examples/activeqt/wrapper-demo.qdocinc
*/

/*!
    \example activeqt/wrapper
    \title Wrapper Example (ActiveQt)

    The Wrapper example demonstrates how to export existing QWidget
    classes as ActiveX controls, and the use of QAxFactory together
    with the \c QAXFACTORY_EXPORT() macro. ActiveX controls in this
    example are the standard button classes QPushButton, QCheckBox
    and QRadioButton as provided by Qt.

    \snippet examples/activeqt/wrapper/main.cpp 0
    The factory implementation returns the list of supported controls,
    creates controls on request and provides information about the unique
    IDs of the COM classes and interfaces for each control.

    \snippet examples/activeqt/wrapper/main.cpp 1
    The factory is exported using the QAXFACTORY_EXPORT macro.

    To build the example you must first build the QAxServer library.
    Then run \c qmake and your make tool in \c
    examples/activeqt/wrapper.

    The \l{qaxserver-demo-wrapper.html}{demonstration} requires a
    web browser that supports ActiveX controls, and scripting to be
    enabled.

    \snippet examples/activeqt/wrapper-demo.qdocinc 0
*/
