Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/doc/src/development/assistant-manual.qdoc

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    77** This file is part of the documentation of the Qt Toolkit.
    88**
    9 ** $QT_BEGIN_LICENSE:LGPL$
     9** $QT_BEGIN_LICENSE:L$
    1010** Commercial Usage
    1111** Licensees holding valid Qt Commercial licenses may use this file in
    1212** accordance with the Qt Commercial License Agreement provided with the
    13 ** Software or, alternatively, in accordance with the terms contained in
    14 ** a written agreement between you and Nokia.
     13** Software or, alternatively, in accordance with the terms contained in
     14** written agreement between you and Nokia.
    1515**
    16 ** GNU Lesser General Public License Usage
    17 ** Alternatively, this file may be used under the terms of the GNU Lesser
    18 ** General Public License version 2.1 as published by the Free Software
    19 ** Foundation and appearing in the file LICENSE.LGPL included in the
    20 ** packaging of this file.  Please review the following information to
    21 ** ensure the GNU Lesser General Public License version 2.1 requirements
    22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    23 **
    24 ** In addition, as a special exception, Nokia gives you certain additional
    25 ** rights.  These rights are described in the Nokia Qt LGPL Exception
    26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    27 **
    28 ** GNU General Public License Usage
    29 ** Alternatively, this file may be used under the terms of the GNU
    30 ** General Public License version 3.0 as published by the Free Software
    31 ** Foundation and appearing in the file LICENSE.GPL included in the
    32 ** packaging of this file.  Please review the following information to
    33 ** ensure the GNU General Public License version 3.0 requirements will be
    34 ** met: http://www.gnu.org/copyleft/gpl.html.
     16** GNU Free Documentation License
     17** Alternatively, this file may be used under the terms of the GNU Free
     18** Documentation License version 1.3 as published by the Free Software
     19** Foundation and appearing in the file included in the packaging of this
     20** file.
    3521**
    3622** If you have questions regarding the use of this file, please contact
     
    155141            \o -unregister <doc.qch>
    156142            \o Unregisters the specified compressed help file from the given
    157             collection file.
     143            collection file.
    158144        \row
    159145            \o -remove-search-index
     
    161147               useful in case the associated index files get corrupted.
    162148               \QA will re-index the documentation at the next start-up.
     149
     150
     151
     152
    163153        \row
    164154            \o -setCurrentFilter <filter>
     
    356346    The \menu{Options} page lets you specify the homepage \QA will display when
    357347    you click the \gui{Home} button in \QA's main user interface. You can specify
    358     the hompage by typing it here or clicking on one of the buttons below the
     348    the hompage by typing it here or clicking on one of the buttons below the
    359349    textbox. \gui{Current Page} sets the currently displayed page as your home
    360350    page while \gui{Restore to default} will reset your home page to the default
     
    639629            language. The icon defined by the \c{icon} tags is applied to any language.
    640630        \row
    641             \o \c{<cacheDirectory>}
    642             \o Specified as a path relative to the directory given by
    643             QDesktopServices::DataLocation, the cache path is used to store index files
     631            \o \c{<cacheDirectory base="collection|default">}
     632            \o The cache directory is used to store index files
    644633            needed for the full text search and a copy of the collection file.
    645             The copy is needed because \QA stores all its settings in the collection file;
    646             i.e., it must be writable for the user.
     634            The copy is needed because \QA stores all its settings in the collection file; i.e., it must be writable for the user.
     635            The directory is specified as a relative path.
     636            If the \c{base} attribute is set to "collection", the path is
     637            relative to the directory the collection file resides in.
     638            If the attribute is set to "default" or if it is missing,
     639            the path is relative to the directory given by
     640            QDesktopServices::DataLocation. The first form is useful for
     641            collections that are used in a "mobile" way, e.g. carried around
     642            on a USB stick.
     643           
    647644    \endtable
    648645
     
    678675    functionality by passing the \c{-enableRemoteControl} command line option.
    679676
    680     \warning The trailing '\0' must be appended separately to the QByteArray,
    681     e.g., \c{QByteArray("command" + '\0')}.
    682 
    683677    The following example shows how this can be done:
    684678
     
    690684
    691685    \snippet doc/src/snippets/code/doc_src_assistant-manual.qdoc 3
     686
     687
     688
    692689
    693690    The following commands can be used to control \QA:
     
    728725            the currently displayed page.
    729726        \row
    730             \o \c{setCurrentFilter}
     727            \o \c{setCurrentFilter}
    731728            \o Selects the specified filter and updates the visual representation
    732729            accordingly.
     
    734731            \o \c{expandToc <Depth>}
    735732            \o Expands the table of contents tree to the given depth. If depth
    736             is less than 1, the tree will be collapsed completely.
     733            is 0, the tree will be collapsed completely. If depth is -1,
     734            the tree will be expanded completely.
     735        \row
     736            \o \c{register <help file>}
     737            \o Adds the given Qt compressed help file to the collection.
     738        \row
     739            \o \c{unregister <help file>}
     740            \o Removes the given Qt compressed help file from the collection.
    737741    \endtable
    738742
Note: See TracChangeset for help on using the changeset viewer.