Qt:Документация 4.3.2/qwsclient

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] QWSClient Class Reference
[модуль QtGui ]

The QWSClient class encapsulates a client process in Qtopia Core. Далее...

 #include <QWSClient>

Inherits QObject.

[править] Открытые функции

  • 29 открытых функций, унаследованных от QObject

[править] Дополнительные унаследованные члены

  • 1 свойство, унаследованное от QObject
  • 1 открытый слот, унаследованный от QObject
  • 1 сигнал, унаследованный от QObject
  • 5 статических открытых членов, унаследованных от QObject
  • 7 защищенных функций, унаследованных от QObject

[править] Подробное описание

The QWSClient class encapsulates a client process in Qtopia Core.

When you run a Qtopia Core application, it either runs as a server or connects to an existing server. The server and client processes have different responsibilities: The client process performs all application specific operations. The server process is responsible for managing the clients as well as taking care of the pointer handling, character input, and screen output. In addition, the server provides functionality to handle input methods.

As applications add and remove windows, the server process maintains information about each window. In Qtopia Core, top-level windows are encapsulated as QWSWindow objects. A list of the current windows can be retrieved using the QWSServer::clientWindows() function, and each window can tell which client that owns it through its QWSWindow::client() function.

A QWSClient object has an unique ID that can be retrieved using its clientId() function. QWSClient also provides the identity() function which typically returns the name of this client's running application.

See also QWSServer, QWSWindow, and Qtopia Core Architecture.


[править] Описание функций-членов

[править]
int QWSClient::clientId () const

Returns an integer uniquely identfying this client.

[править]
QString QWSClient::identity () const

Returns the name of this client's running application.



Copyright © 2007 Trolltech Trademarks
Qt 4.3.2