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

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

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

__NOTOC__

Image:qt-logo.png

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

Image:trolltech-logo.png

Содержание

[править] Q3LocalFs Class Reference
[ Qt3Support module]

The Q3LocalFs class is an implementation of a QNetworkProtocol that works on the local file system. Далее...

 #include <Q3LocalFs>

This class is part of the Qt 3 support library. It is provided to keep old source code working. Мы настоятельно не рекомендуем использовать этот класс в новом коде. See Porting to Qt 4 for more information.

Inherits Q3NetworkProtocol.

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

  • 9 public functions inherited from Q3NetworkProtocol
  • 29 открытых функций, унаследованных от QObject

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

  • 1 свойство, унаследованное от QObject
  • 1 открытый слот, унаследованный от QObject
  • 10 signals inherited from Q3NetworkProtocol
  • 1 сигнал, унаследованный от QObject
  • 3 static public members inherited from Q3NetworkProtocol
  • 5 статических открытых членов, унаследованных от QObject
  • 7 protected functions inherited from Q3NetworkProtocol
  • 7 защищенных функций, унаследованных от QObject

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

The Q3LocalFs class is an implementation of a QNetworkProtocol that works on the local file system.

This class is derived from QNetworkProtocol. Q3LocalFs is not normally used directly, but rather through a QUrlOperator, for example:

 QUrlOperator op( "file:///tmp" );
 op.listChildren(); // Asks the server to provide a directory listing

This code will only work if the Q3LocalFs class is registered; to register the class, you must call qInitNetworkProtocols() before using a QUrlOperator with Q3LocalFs.

If you really need to use Q3LocalFs directly, don't forget to set its QUrlOperator with setUrl().

See also Q3NetworkProtocol and Q3UrlOperator.


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

[править]
Q3LocalFs::Q3LocalFs ()

Конструктор.



Copyright © 2007 Trolltech Trademarks
Qt 4.3.2