| 1 |
/**************************************************************************** |
| 2 |
** |
| 3 |
** Copyright (C) 2017 The Qt Company Ltd and/or its subsidiary(-ies). |
| 4 |
** Contact: http://www.qt-project.org/legal |
| 5 |
** |
| 6 |
** This file is part of the documentation of the Qt Toolkit. |
| 7 |
** |
| 8 |
** $QT_BEGIN_LICENSE:FDL$ |
| 9 |
** Commercial License Usage |
| 10 |
** Licensees holding valid commercial Qt licenses may use this file in |
| 11 |
** accordance with the commercial license agreement provided with the |
| 12 |
** Software or, alternatively, in accordance with the terms contained in |
| 13 |
** a written agreement between you and The Qt Company. For licensing terms |
| 14 |
** and conditions see https://www.qt.io/terms-conditions. For further |
| 15 |
** information use the contact form at https://www.qt.io/contact-us. |
| 16 |
** |
| 17 |
** GNU Free Documentation License Usage |
| 18 |
** Alternatively, this file may be used under the terms of the GNU Free |
| 19 |
** Documentation License version 1.3 as published by the Free Software |
| 20 |
** Foundation and appearing in the file included in the packaging of |
| 21 |
** this file. Please review the following information to ensure |
| 22 |
** the GNU Free Documentation License version 1.3 requirements |
| 23 |
** will be met: https://www.gnu.org/licenses/fdl-1.3.html. |
| 24 |
** $QT_END_LICENSE$ |
| 25 |
** |
| 26 |
****************************************************************************/ |
| 27 |
|
| 28 |
/*! |
| 29 |
\page systeminfo.html |
| 30 |
|
| 31 |
\title Qt System Info Module |
| 32 |
\brief A set of APIs to discover system related information and capabilities. |
| 33 |
|
| 34 |
\tableofcontents |
| 35 |
|
| 36 |
\ingroup technology-apis |
| 37 |
|
| 38 |
The Qt System Info module provides a set of APIs to discover system |
| 39 |
related information and capabilities, including the batteries being used, |
| 40 |
activated locks, different hardware features, network, screen saver, and |
| 41 |
storage, etc. |
| 42 |
|
| 43 |
\section1 Buildtime configuration |
| 44 |
|
| 45 |
Qt SystemInfo for Linux can use a number of technololgies based on dbus. |
| 46 |
These can be configured at build time through the CONFIG of qmake. |
| 47 |
|
| 48 |
* CONFIG+=upower (linux) will build the UPower dbus backend. |
| 49 |
* CONFIG+=ofono (linux) will build the Ofono dbus backend. |
| •50 |
* CONFIG+=udisk (linux) will build the Udisk dbus backend. |
| 51 |
* CONFIG+=nox11option (linux) Turns off the use of x11 in QScreenSaver (and screen blanking |
| 52 |
disabling and enabling will not work) |
| 53 |
|
| 54 |
\section1 C++ Classes |
| 55 |
\annotatedlist systeminfo |
| 56 |
|
| 57 |
\section1 QML Elements |
| 58 |
\annotatedlist qml-systeminfo |
| 59 |
|
| 60 |
\section1 Examples |
| 61 |
*/ |