Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::open($save_path, $session_name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 199

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 214

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::read($id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 228

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::write($id, $dataStr) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 256

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::destroy($id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 362

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\PHPSessionHandler::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 383

Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 126

Warning: ini_set(): Session ini settings cannot be changed after headers have already been sent in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 127

Warning: session_cache_limiter(): Session cache limiter cannot be changed after headers have already been sent in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 133

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Warning: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent in /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php on line 140

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 70

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 80

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of Wikimedia\Rdbms\IResultWrapper::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php on line 75

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of Wikimedia\Rdbms\ResultWrapper::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php on line 117

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of Wikimedia\Rdbms\ResultWrapper::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php on line 90

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 624

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 629

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 639

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 634

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 649

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 644

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 659

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of & MediaWiki\Session\Session::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 672

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 681

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Return type of MediaWiki\Session\Session::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/cppe.ru/www/includes/session/Session.php on line 685

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Message implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /var/www/cppe.ru/www/includes/Message.php on line 159

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: RawMessage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /var/www/cppe.ru/www/includes/RawMessage.php on line 34

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property RequestContext::$recursion is deprecated in /var/www/cppe.ru/www/includes/context/RequestContext.php on line 354

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property Parser::$mPreprocessorClass is deprecated in /var/www/cppe.ru/www/includes/parser/Parser.php on line 280

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /var/www/cppe.ru/www/includes/parser/Preprocessor_DOM.php on line 803

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/Feed.php on line 232

Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/Feed.php on line 237

Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/WebResponse.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/WebResponse.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/WebResponse.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at /var/www/cppe.ru/www/includes/session/PHPSessionHandler.php:34) in /var/www/cppe.ru/www/includes/WebResponse.php on line 46

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
http://cppe.ru/index.php?action=history&feed=atom&title=C%2B%2B%2FQt%2FQFtp
C++/Qt/QFtp - История изменений 2026-11-08T04:25:44Z История изменений этой страницы в вики MediaWiki 1.30.0
Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/cppe.ru/www/includes/content/TextContent.php on line 56

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/cppe.ru/www/includes/content/TextContent.php on line 56

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property PoolCounterWorkViaCallback::$poolCounter is deprecated in /var/www/cppe.ru/www/includes/poolcounter/PoolCounterWork.php on line 39

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /var/www/cppe.ru/www/includes/parser/Preprocessor_DOM.php on line 803

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property PPDStack::$accum is deprecated in /var/www/cppe.ru/www/includes/parser/Preprocessor_DOM.php on line 803

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property BlockLevelPass::$lineStart is deprecated in /var/www/cppe.ru/www/includes/parser/BlockLevelPass.php on line 60

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
http://cppe.ru/index.php?title=C%2B%2B/Qt/QFtp&diff=1074&oldid=prev
в 14:21, 25 мая 2010 2010-05-25T14:21:06Z <p></p> <table class="diff diff-contentalign-left" data-mw="interface"> <tr style="vertical-align: top;" lang="ru"> <td colspan="1" style="background-color: white; color:black; text-align: center;">← Предыдущая</td> <td colspan="1" style="background-color: white; color:black; text-align: center;">Версия 14:21, 25 мая 2010</td> </tr><tr><td colspan="2" style="text-align: center;" lang="ru"><div class="mw-diff-empty">(нет различий)</div> </td></tr></table>

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Creation of dynamic property WikitextContent::$mText is deprecated in /var/www/cppe.ru/www/includes/content/TextContent.php on line 56

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48
http://cppe.ru/index.php?title=C%2B%2B/Qt/QFtp&diff=1075&oldid=prev
Admin: 1 версия:&#32;Импорт контента... 2010-05-25T10:24:45Z <p>1 версия: Импорт контента...</p> <p><b>Новая страница</b></p><div>==QFtp base ftp window==<br /> <br /> <br /> <br /> &lt;source lang=&quot;cpp&quot;&gt; <br /> /****************************************************************************<br /> **<br /> ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).<br /> ** All rights reserved.<br /> ** Contact: Nokia Corporation (qt-info@nokia.com)<br /> **<br /> ** This file is part of the examples of the Qt Toolkit.<br /> **<br /> ** $QT_BEGIN_LICENSE:LGPL$<br /> ** Commercial Usage<br /> ** Licensees holding valid Qt Commercial licenses may use this file in<br /> ** accordance with the Qt Commercial License Agreement provided with the<br /> ** Software or, alternatively, in accordance with the terms contained in<br /> ** a written agreement between you and Nokia.<br /> **<br /> ** GNU Lesser General Public License Usage<br /> ** Alternatively, this file may be used under the terms of the GNU Lesser<br /> ** General Public License version 2.1 as published by the Free Software<br /> ** Foundation and appearing in the file LICENSE.LGPL included in the<br /> ** packaging of this file. Please review the following information to<br /> ** ensure the GNU Lesser General Public License version 2.1 requirements<br /> ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.<br /> **<br /> ** In addition, as a special exception, Nokia gives you certain additional<br /> ** rights. These rights are described in the Nokia Qt LGPL Exception<br /> ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.<br /> **<br /> ** GNU General Public License Usage<br /> ** Alternatively, this file may be used under the terms of the GNU<br /> ** General Public License version 3.0 as published by the Free Software<br /> ** Foundation and appearing in the file LICENSE.GPL included in the<br /> ** packaging of this file. Please review the following information to<br /> ** ensure the GNU General Public License version 3.0 requirements will be<br /> ** met: http://www.gnu.org/copyleft/gpl.html.<br /> **<br /> ** If you have questions regarding the use of this file, please contact<br /> ** Nokia at qt-info@nokia.com.<br /> ** $QT_END_LICENSE$<br /> **<br /> ****************************************************************************/<br /> #ifndef FTPWINDOW_H<br /> #define FTPWINDOW_H<br /> #include &lt;QDialog&gt;<br /> #include &lt;QHash&gt;<br /> QT_BEGIN_NAMESPACE<br /> class QDialogButtonBox;<br /> class QFile;<br /> class QFtp;<br /> class QLabel;<br /> class QLineEdit;<br /> class QTreeWidget;<br /> class QTreeWidgetItem;<br /> class QProgressDialog;<br /> class QPushButton;<br /> class QUrlInfo;<br /> QT_END_NAMESPACE<br /> class FtpWindow : public QDialog<br /> {<br /> Q_OBJECT<br /> public:<br /> FtpWindow(QWidget *parent = 0);<br /> QSize sizeHint() const;<br /> <br /> private slots:<br /> void connectOrDisconnect();<br /> void downloadFile();<br /> void cancelDownload();<br /> void ftpCommandFinished(int commandId, bool error);<br /> void addToList(const QUrlInfo &amp;urlInfo);<br /> void processItem(QTreeWidgetItem *item, int column);<br /> void cdToParent();<br /> void updateDataTransferProgress(qint64 readBytes,<br /> qint64 totalBytes);<br /> void enableDownloadButton();<br /> <br /> private:<br /> QLabel *ftpServerLabel;<br /> QLineEdit *ftpServerLineEdit;<br /> QLabel *statusLabel;<br /> QTreeWidget *fileList;<br /> QPushButton *cdToParentButton;<br /> QPushButton *connectButton;<br /> QPushButton *downloadButton;<br /> QPushButton *quitButton;<br /> QDialogButtonBox *buttonBox;<br /> QProgressDialog *progressDialog;<br /> <br /> QHash&lt;QString, bool&gt; isDirectory;<br /> QString currentPath;<br /> QFtp *ftp;<br /> QFile *file;<br /> };<br /> #endif<br /> <br /> <br /> <br /> #include &lt;QtGui&gt;<br /> #include &lt;QtNetwork&gt;<br /> #include &quot;ftpwindow.h&quot;<br /> FtpWindow::FtpWindow(QWidget *parent)<br /> : QDialog(parent), ftp(0)<br /> {<br /> ftpServerLabel = new QLabel(tr(&quot;Ftp &amp;server:&quot;));<br /> ftpServerLineEdit = new QLineEdit(&quot;ftp.qt.nokia.com&quot;);<br /> ftpServerLabel-&gt;setBuddy(ftpServerLineEdit);<br /> statusLabel = new QLabel(tr(&quot;Please enter the name of an FTP server.&quot;));<br /> fileList = new QTreeWidget;<br /> fileList-&gt;setEnabled(false);<br /> fileList-&gt;setRootIsDecorated(false);<br /> fileList-&gt;setHeaderLabels(QStringList() &lt;&lt; tr(&quot;Name&quot;) &lt;&lt; tr(&quot;Size&quot;) &lt;&lt; tr(&quot;Owner&quot;) &lt;&lt; tr(&quot;Group&quot;) &lt;&lt; tr(&quot;Time&quot;));<br /> fileList-&gt;header()-&gt;setStretchLastSection(false);<br /> connectButton = new QPushButton(tr(&quot;Connect&quot;));<br /> connectButton-&gt;setDefault(true);<br /> <br /> cdToParentButton = new QPushButton;<br /> cdToParentButton-&gt;setIcon(QPixmap(&quot;:/images/cdtoparent.png&quot;));<br /> cdToParentButton-&gt;setEnabled(false);<br /> downloadButton = new QPushButton(tr(&quot;Download&quot;));<br /> downloadButton-&gt;setEnabled(false);<br /> quitButton = new QPushButton(tr(&quot;Quit&quot;));<br /> buttonBox = new QDialogButtonBox;<br /> buttonBox-&gt;addButton(downloadButton, QDialogButtonBox::ActionRole);<br /> buttonBox-&gt;addButton(quitButton, QDialogButtonBox::RejectRole);<br /> progressDialog = new QProgressDialog(this);<br /> connect(fileList, SIGNAL(itemActivated(QTreeWidgetItem *, int)),<br /> this, SLOT(processItem(QTreeWidgetItem *, int)));<br /> connect(fileList, SIGNAL(currentItemChanged(QTreeWidgetItem *, QTreeWidgetItem *)),<br /> this, SLOT(enableDownloadButton()));<br /> connect(progressDialog, SIGNAL(canceled()), this, SLOT(cancelDownload()));<br /> connect(connectButton, SIGNAL(clicked()), this, SLOT(connectOrDisconnect()));<br /> connect(cdToParentButton, SIGNAL(clicked()), this, SLOT(cdToParent()));<br /> connect(downloadButton, SIGNAL(clicked()), this, SLOT(downloadFile()));<br /> connect(quitButton, SIGNAL(clicked()), this, SLOT(close()));<br /> QHBoxLayout *topLayout = new QHBoxLayout;<br /> topLayout-&gt;addWidget(ftpServerLabel);<br /> topLayout-&gt;addWidget(ftpServerLineEdit);<br /> topLayout-&gt;addWidget(cdToParentButton);<br /> topLayout-&gt;addWidget(connectButton);<br /> <br /> QVBoxLayout *mainLayout = new QVBoxLayout;<br /> mainLayout-&gt;addLayout(topLayout);<br /> mainLayout-&gt;addWidget(fileList);<br /> mainLayout-&gt;addWidget(statusLabel);<br /> mainLayout-&gt;addWidget(buttonBox);<br /> setLayout(mainLayout);<br /> setWindowTitle(tr(&quot;FTP&quot;));<br /> }<br /> QSize FtpWindow::sizeHint() const<br /> {<br /> return QSize(500, 300);<br /> }<br /> <br /> void FtpWindow::connectOrDisconnect()<br /> {<br /> if (ftp) {<br /> ftp-&gt;abort();<br /> ftp-&gt;deleteLater();<br /> ftp = 0;<br /> fileList-&gt;setEnabled(false);<br /> cdToParentButton-&gt;setEnabled(false);<br /> downloadButton-&gt;setEnabled(false);<br /> connectButton-&gt;setEnabled(true);<br /> connectButton-&gt;setText(tr(&quot;Connect&quot;));<br /> #ifndef QT_NO_CURSOR<br /> setCursor(Qt::ArrowCursor);<br /> #endif<br /> return;<br /> }<br /> #ifndef QT_NO_CURSOR<br /> setCursor(Qt::WaitCursor);<br /> #endif<br /> <br /> ftp = new QFtp(this);<br /> connect(ftp, SIGNAL(commandFinished(int, bool)),<br /> this, SLOT(ftpCommandFinished(int, bool)));<br /> connect(ftp, SIGNAL(listInfo(const QUrlInfo &amp;)),<br /> this, SLOT(addToList(const QUrlInfo &amp;)));<br /> connect(ftp, SIGNAL(dataTransferProgress(qint64, qint64)),<br /> this, SLOT(updateDataTransferProgress(qint64, qint64)));<br /> fileList-&gt;clear();<br /> currentPath.clear();<br /> isDirectory.clear();<br /> <br /> QUrl url(ftpServerLineEdit-&gt;text());<br /> if (!url.isValid() || url.scheme().toLower() != QLatin1String(&quot;ftp&quot;)) {<br /> ftp-&gt;connectToHost(ftpServerLineEdit-&gt;text(), 21);<br /> ftp-&gt;login();<br /> } else {<br /> ftp-&gt;connectToHost(url.host(), url.port(21));<br /> if (!url.userName().isEmpty())<br /> ftp-&gt;login(QUrl::fromPercentEncoding(url.userName().toLatin1()), url.password());<br /> else<br /> ftp-&gt;login();<br /> if (!url.path().isEmpty())<br /> ftp-&gt;cd(url.path());<br /> }<br /> <br /> fileList-&gt;setEnabled(true);<br /> connectButton-&gt;setEnabled(false);<br /> connectButton-&gt;setText(tr(&quot;Disconnect&quot;));<br /> statusLabel-&gt;setText(tr(&quot;Connecting to FTP server %1...&quot;)<br /> .arg(ftpServerLineEdit-&gt;text()));<br /> }<br /> <br /> void FtpWindow::downloadFile()<br /> {<br /> QString fileName = fileList-&gt;currentItem()-&gt;text(0);<br /> //<br /> if (QFile::exists(fileName)) {<br /> QMessageBox::information(this, tr(&quot;FTP&quot;),<br /> tr(&quot;There already exists a file called %1 in &quot;<br /> &quot;the current directory.&quot;)<br /> .arg(fileName));<br /> return;<br /> }<br /> <br /> file = new QFile(fileName);<br /> if (!file-&gt;open(QIODevice::WriteOnly)) {<br /> QMessageBox::information(this, tr(&quot;FTP&quot;),<br /> tr(&quot;Unable to save the file %1: %2.&quot;)<br /> .arg(fileName).arg(file-&gt;errorString()));<br /> delete file;<br /> return;<br /> }<br /> ftp-&gt;get(fileList-&gt;currentItem()-&gt;text(0), file);<br /> progressDialog-&gt;setLabelText(tr(&quot;Downloading %1...&quot;).arg(fileName));<br /> downloadButton-&gt;setEnabled(false);<br /> progressDialog-&gt;exec();<br /> }<br /> <br /> void FtpWindow::cancelDownload()<br /> {<br /> ftp-&gt;abort();<br /> }<br /> <br /> void FtpWindow::ftpCommandFinished(int, bool error)<br /> {<br /> #ifndef QT_NO_CURSOR<br /> setCursor(Qt::ArrowCursor);<br /> #endif<br /> if (ftp-&gt;currentCommand() == QFtp::ConnectToHost) {<br /> if (error) {<br /> QMessageBox::information(this, tr(&quot;FTP&quot;),<br /> tr(&quot;Unable to connect to the FTP server &quot;<br /> &quot;at %1. Please check that the host &quot;<br /> &quot;name is correct.&quot;)<br /> .arg(ftpServerLineEdit-&gt;text()));<br /> connectOrDisconnect();<br /> return;<br /> }<br /> statusLabel-&gt;setText(tr(&quot;Logged onto %1.&quot;)<br /> .arg(ftpServerLineEdit-&gt;text()));<br /> fileList-&gt;setFocus();<br /> downloadButton-&gt;setDefault(true);<br /> connectButton-&gt;setEnabled(true);<br /> return;<br /> }<br /> <br /> if (ftp-&gt;currentCommand() == QFtp::Login)<br /> ftp-&gt;list();<br /> <br /> if (ftp-&gt;currentCommand() == QFtp::Get) {<br /> if (error) {<br /> statusLabel-&gt;setText(tr(&quot;Canceled download of %1.&quot;)<br /> .arg(file-&gt;fileName()));<br /> file-&gt;close();<br /> file-&gt;remove();<br /> } else {<br /> statusLabel-&gt;setText(tr(&quot;Downloaded %1 to current directory.&quot;)<br /> .arg(file-&gt;fileName()));<br /> file-&gt;close();<br /> }<br /> delete file;<br /> enableDownloadButton();<br /> progressDialog-&gt;hide();<br /> <br /> } else if (ftp-&gt;currentCommand() == QFtp::List) {<br /> if (isDirectory.isEmpty()) {<br /> fileList-&gt;addTopLevelItem(new QTreeWidgetItem(QStringList() &lt;&lt; tr(&quot;&lt;empty&gt;&quot;)));<br /> fileList-&gt;setEnabled(false);<br /> }<br /> }<br /> }<br /> <br /> void FtpWindow::addToList(const QUrlInfo &amp;urlInfo)<br /> {<br /> QTreeWidgetItem *item = new QTreeWidgetItem;<br /> item-&gt;setText(0, urlInfo.name());<br /> item-&gt;setText(1, QString::number(urlInfo.size()));<br /> item-&gt;setText(2, urlInfo.owner());<br /> item-&gt;setText(3, urlInfo.group());<br /> item-&gt;setText(4, urlInfo.lastModified().toString(&quot;MMM dd yyyy&quot;));<br /> QPixmap pixmap(urlInfo.isDir() ? &quot;:/images/dir.png&quot; : &quot;:/images/file.png&quot;);<br /> item-&gt;setIcon(0, pixmap);<br /> isDirectory[urlInfo.name()] = urlInfo.isDir();<br /> fileList-&gt;addTopLevelItem(item);<br /> if (!fileList-&gt;currentItem()) {<br /> fileList-&gt;setCurrentItem(fileList-&gt;topLevelItem(0));<br /> fileList-&gt;setEnabled(true);<br /> }<br /> }<br /> <br /> void FtpWindow::processItem(QTreeWidgetItem *item, int /*column*/)<br /> {<br /> QString name = item-&gt;text(0);<br /> if (isDirectory.value(name)) {<br /> fileList-&gt;clear();<br /> isDirectory.clear();<br /> currentPath += &quot;/&quot; + name;<br /> ftp-&gt;cd(name);<br /> ftp-&gt;list();<br /> cdToParentButton-&gt;setEnabled(true);<br /> #ifndef QT_NO_CURSOR<br /> setCursor(Qt::WaitCursor);<br /> #endif<br /> return;<br /> }<br /> }<br /> <br /> void FtpWindow::cdToParent()<br /> {<br /> #ifndef QT_NO_CURSOR<br /> setCursor(Qt::WaitCursor);<br /> #endif<br /> fileList-&gt;clear();<br /> isDirectory.clear();<br /> currentPath = currentPath.left(currentPath.lastIndexOf(&quot;/&quot;));<br /> if (currentPath.isEmpty()) {<br /> cdToParentButton-&gt;setEnabled(false);<br /> ftp-&gt;cd(&quot;/&quot;);<br /> } else {<br /> ftp-&gt;cd(currentPath);<br /> }<br /> ftp-&gt;list();<br /> }<br /> <br /> void FtpWindow::updateDataTransferProgress(qint64 readBytes,<br /> qint64 totalBytes)<br /> {<br /> progressDialog-&gt;setMaximum(totalBytes);<br /> progressDialog-&gt;setValue(readBytes);<br /> }<br /> <br /> void FtpWindow::enableDownloadButton()<br /> {<br /> QTreeWidgetItem *current = fileList-&gt;currentItem();<br /> if (current) {<br /> QString currentFile = current-&gt;text(0);<br /> downloadButton-&gt;setEnabled(!isDirectory.value(currentFile));<br /> } else {<br /> downloadButton-&gt;setEnabled(false);<br /> }<br /> }<br /> <br /> <br /> <br /> #include &lt;QApplication&gt;<br /> #include &quot;ftpwindow.h&quot;<br /> int main(int argc, char *argv[])<br /> {<br /> Q_INIT_RESOURCE(ftp);<br /> QApplication app(argc, argv);<br /> FtpWindow ftpWin;<br /> ftpWin.show();<br /> return ftpWin.exec();<br /> }<br /> <br /> <br /> &lt;/source&gt;<br /> <br /> <br /> ==Qt based Ftp dialog==<br /> <br /> <br /> <br /> &lt;source lang=&quot;cpp&quot;&gt; <br /> <br /> Foundations of Qt Development\Chapter14\ftp\ftpdialog.cpp<br /> /*<br /> * Copyright (c) 2006-2007, Johan Thelin<br /> * <br /> * All rights reserved.<br /> * <br /> * Redistribution and use in source and binary forms, with or without modification, <br /> * are permitted provided that the following conditions are met:<br /> * <br /> * * Redistributions of source code must retain the above copyright notice, <br /> * this list of conditions and the following disclaimer.<br /> * * Redistributions in binary form must reproduce the above copyright notice, <br /> * this list of conditions and the following disclaimer in the documentation <br /> * and/or other materials provided with the distribution.<br /> * * Neither the name of APress nor the names of its contributors <br /> * may be used to endorse or promote products derived from this software <br /> * without specific prior written permission.<br /> * <br /> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS<br /> * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT<br /> * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR<br /> * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR<br /> * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,<br /> * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,<br /> * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR<br /> * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF<br /> * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING<br /> * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS<br /> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<br /> *<br /> */<br /> #include &lt;QFileDialog&gt;<br /> #include &lt;QMessageBox&gt;<br /> #include &quot;ftpdialog.h&quot;<br /> FtpDialog::FtpDialog() : QDialog()<br /> {<br /> file = 0;<br /> <br /> ui.setupUi( this );<br /> <br /> connect( ui.connectButton, SIGNAL(clicked()), this, SLOT(connectClicked()) );<br /> connect( ui.disconnectButton, SIGNAL(clicked()), this, SLOT(disconnectClicked()) );<br /> connect( ui.cdButton, SIGNAL(clicked()), this, SLOT(cdClicked()) );<br /> connect( ui.upButton, SIGNAL(clicked()), this, SLOT(upClicked()) );<br /> connect( ui.getButton, SIGNAL(clicked()), this, SLOT(getClicked()) );<br /> <br /> connect( ui.dirList, SIGNAL(itemSelectionChanged()), this, SLOT(selectionChanged()) );<br /> <br /> connect( &amp;ftp, SIGNAL(commandFinished(int,bool)), this, SLOT(ftpFinished(int,bool)) );<br /> connect( &amp;ftp, SIGNAL(listInfo(QUrlInfo)), this, SLOT(ftpListInfo(QUrlInfo)) );<br /> connect( &amp;ftp, SIGNAL(dataTransferProgress(qint64,qint64)), this, SLOT(ftpProgress(qint64,qint64)) );<br /> <br /> ui.disconnectButton-&gt;setEnabled( false );<br /> ui.cdButton-&gt;setEnabled( false );<br /> ui.upButton-&gt;setEnabled( false );<br /> ui.getButton-&gt;setEnabled( false );<br /> }<br /> void FtpDialog::connectClicked()<br /> {<br /> ui.connectButton-&gt;setEnabled( false );<br /> <br /> ftp.connectToHost( &quot;ftp.trolltech.com&quot; );<br /> ui.statusLabel-&gt;setText( tr(&quot;Connecting to host...&quot;) );<br /> }<br /> void FtpDialog::disconnectClicked()<br /> {<br /> ui.disconnectButton-&gt;setEnabled( false );<br /> ui.cdButton-&gt;setEnabled( false );<br /> ui.upButton-&gt;setEnabled( false );<br /> ui.getButton-&gt;setEnabled( false );<br /> <br /> ftp.close();<br /> }<br /> void FtpDialog::cdClicked()<br /> {<br /> ui.disconnectButton-&gt;setEnabled( false );<br /> ui.cdButton-&gt;setEnabled( false );<br /> ui.upButton-&gt;setEnabled( false );<br /> ui.getButton-&gt;setEnabled( false );<br /> ftp.cd( ui.dirList-&gt;selectedItems()[0]-&gt;text() );<br /> ui.statusLabel-&gt;setText( tr(&quot;Changing directory...&quot;) );<br /> }<br /> void FtpDialog::upClicked()<br /> {<br /> ui.disconnectButton-&gt;setEnabled( false );<br /> ui.cdButton-&gt;setEnabled( false );<br /> ui.upButton-&gt;setEnabled( false );<br /> ui.getButton-&gt;setEnabled( false );<br /> ftp.cd(&quot;..&quot;);<br /> ui.statusLabel-&gt;setText( tr(&quot;Changing directory...&quot;) );<br /> }<br /> void FtpDialog::getClicked()<br /> {<br /> QString fileName = QFileDialog::getSaveFileName( this, tr(&quot;Get File&quot;), ui.dirList-&gt;selectedItems()[0]-&gt;text() );<br /> if( fileName.isEmpty() )<br /> return;<br /> <br /> file = new QFile( fileName, this );<br /> if( !file-&gt;open( QIODevice::WriteOnly ) )<br /> {<br /> QMessageBox::warning( this, tr(&quot;Error&quot;), tr(&quot;Failed to open file %1 for writing.&quot;).arg( fileName ) );<br /> <br /> delete file;<br /> file = 0;<br /> <br /> return;<br /> }<br /> ui.disconnectButton-&gt;setEnabled( false );<br /> ui.cdButton-&gt;setEnabled( false );<br /> ui.upButton-&gt;setEnabled( false );<br /> ui.getButton-&gt;setEnabled( false );<br /> ftp.get( ui.dirList-&gt;selectedItems()[0]-&gt;text(), file );<br /> ui.statusLabel-&gt;setText( tr(&quot;Downloading file...&quot;) );<br /> }<br /> void FtpDialog::ftpProgress( qint64 done, qint64 total )<br /> {<br /> if( total == 0 )<br /> return;<br /> <br /> ui.statusLabel-&gt;setText( tr(&quot;Downloading file... (%1%)&quot;).arg( QString::number( double(done)*100/double(total), &quot;f&quot;, 1 ) ) );<br /> }<br /> void FtpDialog::selectionChanged()<br /> {<br /> if( ui.dirList-&gt;selectedItems().count() == 1 )<br /> {<br /> if( files.indexOf( ui.dirList-&gt;selectedItems()[0]-&gt;text() ) == -1 )<br /> {<br /> ui.cdButton-&gt;setEnabled( ui.disconnectButton-&gt;isEnabled() );<br /> ui.getButton-&gt;setEnabled( false );<br /> }<br /> else<br /> {<br /> ui.cdButton-&gt;setEnabled( false );<br /> ui.getButton-&gt;setEnabled( ui.disconnectButton-&gt;isEnabled() );<br /> }<br /> }<br /> else<br /> {<br /> ui.cdButton-&gt;setEnabled( false );<br /> ui.getButton-&gt;setEnabled( false );<br /> }<br /> }<br /> void FtpDialog::getFileList()<br /> {<br /> ui.disconnectButton-&gt;setEnabled( false );<br /> ui.cdButton-&gt;setEnabled( false );<br /> ui.upButton-&gt;setEnabled( false );<br /> ui.getButton-&gt;setEnabled( false );<br /> ui.dirList-&gt;clear();<br /> files.clear();<br /> <br /> if( ftp.state() == QFtp::LoggedIn )<br /> ftp.list();<br /> }<br /> void FtpDialog::ftpListInfo( QUrlInfo info )<br /> {<br /> ui.dirList-&gt;addItem( info.name() );<br /> if( info.isFile() )<br /> files &lt;&lt; info.name();<br /> }<br /> void FtpDialog::ftpFinished( int request, bool error )<br /> {<br /> if( error )<br /> {<br /> switch( ftp.currentCommand() )<br /> {<br /> case QFtp::ConnectToHost:<br /> QMessageBox::warning( this, tr(&quot;Error&quot;), tr(&quot;Failed to connect to host.&quot;) );<br /> ui.connectButton-&gt;setEnabled( true );<br /> <br /> break; <br /> case QFtp::Login:<br /> QMessageBox::warning( this, tr(&quot;Error&quot;), tr(&quot;Failed to login.&quot;) );<br /> ui.connectButton-&gt;setEnabled( true );<br /> <br /> break; <br /> case QFtp::List:<br /> QMessageBox::warning( this, tr(&quot;Error&quot;), tr(&quot;Failed to get file list.\nClosing connection.&quot;) );<br /> ftp.close();<br /> <br /> break;<br /> case QFtp::Cd:<br /> QMessageBox::warning( this, tr(&quot;Error&quot;), tr(&quot;Failed to change directory.&quot;) );<br /> getFileList();<br /> <br /> break;<br /> case QFtp::Get:<br /> QMessageBox::warning( this, tr(&quot;Error&quot;), tr(&quot;Failed to get file?&quot;) );<br /> file-&gt;close();<br /> file-&gt;remove();<br /> <br /> delete file;<br /> file = 0;<br /> <br /> ui.disconnectButton-&gt;setEnabled( true );<br /> ui.upButton-&gt;setEnabled( true );<br /> selectionChanged();<br /> <br /> break;<br /> }<br /> <br /> ui.statusLabel-&gt;setText( tr(&quot;Ready.&quot;) );<br /> }<br /> else<br /> {<br /> switch( ftp.currentCommand() )<br /> {<br /> case QFtp::ConnectToHost:<br /> ftp.login();<br /> break;<br /> case QFtp::Login:<br /> getFileList();<br /> <br /> break;<br /> case QFtp::Close:<br /> ui.connectButton-&gt;setEnabled( true );<br /> getFileList();<br /> <br /> break;<br /> case QFtp::List:<br /> ui.disconnectButton-&gt;setEnabled( true );<br /> ui.upButton-&gt;setEnabled( true );<br /> ui.statusLabel-&gt;setText( tr(&quot;Ready.&quot;) );<br /> <br /> break;<br /> case QFtp::Cd:<br /> getFileList();<br /> <br /> break;<br /> case QFtp::Get:<br /> file-&gt;close();<br /> <br /> delete file;<br /> file = 0;<br /> <br /> ui.disconnectButton-&gt;setEnabled( true );<br /> ui.upButton-&gt;setEnabled( true );<br /> selectionChanged();<br /> ui.statusLabel-&gt;setText( tr(&quot;Ready.&quot;) );<br /> break; <br /> }<br /> }<br /> }<br /> <br /> Foundations of Qt Development\Chapter14\ftp\ftpdialog.h<br /> /*<br /> * Copyright (c) 2006-2007, Johan Thelin<br /> * <br /> * All rights reserved.<br /> * <br /> * Redistribution and use in source and binary forms, with or without modification, <br /> * are permitted provided that the following conditions are met:<br /> * <br /> * * Redistributions of source code must retain the above copyright notice, <br /> * this list of conditions and the following disclaimer.<br /> * * Redistributions in binary form must reproduce the above copyright notice, <br /> * this list of conditions and the following disclaimer in the documentation <br /> * and/or other materials provided with the distribution.<br /> * * Neither the name of APress nor the names of its contributors <br /> * may be used to endorse or promote products derived from this software <br /> * without specific prior written permission.<br /> * <br /> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS<br /> * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT<br /> * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR<br /> * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR<br /> * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,<br /> * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,<br /> * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR<br /> * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF<br /> * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING<br /> * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS<br /> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<br /> *<br /> */<br /> #ifndef FTPDIALOG_H<br /> #define FTPDIALOG_H<br /> #include &lt;QFtp&gt;<br /> #include &lt;QDialog&gt;<br /> #include &lt;QFile&gt;<br /> #include &quot;ui_ftpdialog.h&quot;<br /> class FtpDialog : public QDialog<br /> {<br /> Q_OBJECT<br /> public:<br /> FtpDialog();<br /> <br /> private slots:<br /> void connectClicked();<br /> void disconnectClicked();<br /> void cdClicked();<br /> void upClicked();<br /> void getClicked();<br /> <br /> void selectionChanged();<br /> <br /> void ftpFinished(int,bool);<br /> void ftpListInfo(QUrlInfo);<br /> void ftpProgress(qint64,qint64);<br /> <br /> private:<br /> void getFileList(); <br /> <br /> Ui::FtpDialog ui;<br /> <br /> QFtp ftp;<br /> QFile *file;<br /> <br /> QStringList files;<br /> };<br /> #endif // FTPDIALOG_H<br /> <br /> Foundations of Qt Development\Chapter14\ftp\main.cpp<br /> /*<br /> * Copyright (c) 2006-2007, Johan Thelin<br /> * <br /> * All rights reserved.<br /> * <br /> * Redistribution and use in source and binary forms, with or without modification, <br /> * are permitted provided that the following conditions are met:<br /> * <br /> * * Redistributions of source code must retain the above copyright notice, <br /> * this list of conditions and the following disclaimer.<br /> * * Redistributions in binary form must reproduce the above copyright notice, <br /> * this list of conditions and the following disclaimer in the documentation <br /> * and/or other materials provided with the distribution.<br /> * * Neither the name of APress nor the names of its contributors <br /> * may be used to endorse or promote products derived from this software <br /> * without specific prior written permission.<br /> * <br /> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS<br /> * &quot;AS IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT<br /> * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR<br /> * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR<br /> * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,<br /> * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,<br /> * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR<br /> * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF<br /> * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING<br /> * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS<br /> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.<br /> *<br /> */<br /> #include &lt;QApplication&gt;<br /> #include &quot;ftpdialog.h&quot;<br /> int main( int argc, char **argv )<br /> {<br /> QApplication app( argc, argv );<br /> <br /> FtpDialog dlg;<br /> dlg.show();<br /> <br /> return app.exec();<br /> }<br /> <br /> <br /> &lt;/source&gt;</div> Admin

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/includes/exception/MWExceptionHandler.php on line 179

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48