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%2FQStringC++/Qt/QString - История изменений2026-11-08T04:25:18ZИстория изменений этой страницы в вики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/QString&diff=1288&oldid=prev в 14:21, 25 мая 20102010-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/QString&diff=1289&oldid=prevAdmin: 1 версия: Импорт контента...2010-05-25T10:25:26Z<p>1 версия: Импорт контента...</p>
<p><b>Новая страница</b></p><div>==Complete demo for QString==<br />
<br />
<br />
<br />
<source lang="cpp"> <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 documentation 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 />
#include <QtGui><br />
#include <QApplication><br />
#include <stdio.h><br />
class Widget : public QWidget<br />
{<br />
public:<br />
Widget(QWidget *parent = 0);<br />
void constCharPointer();<br />
void constCharArray();<br />
void characterReference();<br />
void atFunction();<br />
void stringLiteral();<br />
void modify();<br />
void index();<br />
QString boolToString(bool b);<br />
void nullVsEmpty();<br />
void appendFunction();<br />
void argFunction();<br />
void chopFunction();<br />
void compareFunction();<br />
void compareSensitiveFunction();<br />
void containsFunction();<br />
void countFunction();<br />
void dataFunction();<br />
void endsWithFunction();<br />
void fillFunction();<br />
void fromRawDataFunction();<br />
void indexOfFunction();<br />
void firstIndexOfFunction();<br />
void insertFunction();<br />
void isNullFunction();<br />
void isEmptyFunction();<br />
void lastIndexOfFunction();<br />
void leftFunction();<br />
void leftJustifiedFunction();<br />
void leftRefFunction();<br />
void midFunction();<br />
void midRefFunction();<br />
void numberFunction();<br />
void prependFunction();<br />
void removeFunction();<br />
void replaceFunction();<br />
void reserveFunction();<br />
void resizeFunction();<br />
void rightFunction();<br />
void rightJustifiedFunction();<br />
void rightRefFunction();<br />
void sectionFunction();<br />
void setNumFunction();<br />
void simplifiedFunction();<br />
void sizeFunction();<br />
void splitFunction();<br />
void splitCaseSensitiveFunction();<br />
void sprintfFunction();<br />
void startsWithFunction();<br />
void toDoubleFunction();<br />
void toFloatFunction();<br />
void toIntFunction();<br />
void toLongFunction();<br />
void toLongLongFunction();<br />
void toLowerFunction();<br />
void toShortFunction();<br />
void toUIntFunction();<br />
void toULongFunction();<br />
void toULongLongFunction();<br />
void toUShortFunction();<br />
void toUpperFunction();<br />
void trimmedFunction();<br />
void truncateFunction();<br />
void plusEqualOperator();<br />
void arrayOperator();<br />
};<br />
Widget::Widget(QWidget *parent)<br />
: QWidget(parent)<br />
{<br />
}<br />
void Widget::constCharPointer()<br />
{<br />
QString str = "Hello";<br />
}<br />
void Widget::constCharArray()<br />
{<br />
static const QChar data[4] = { 0x0055, 0x006e, 0x10e3, 0x03a3 };<br />
QString str(data, 4);<br />
}<br />
void Widget::characterReference()<br />
{<br />
QString str;<br />
str.resize(4);<br />
str[0] = QChar("U");<br />
str[1] = QChar("n");<br />
str[2] = QChar(0x10e3);<br />
str[3] = QChar(0x03a3);<br />
}<br />
void Widget::atFunction()<br />
{<br />
QString str;<br />
for (int i = 0; i < str.size(); ++i) {<br />
if (str.at(i) >= QChar("a") && str.at(i) <= QChar("f"))<br />
qDebug() << "Found character in range [a-f]";<br />
}<br />
}<br />
void Widget::stringLiteral()<br />
{<br />
QString str;<br />
if (str == "auto" || str == "extern"<br />
|| str == "static" || str == "register") {<br />
// ...<br />
}<br />
}<br />
void Widget::modify()<br />
{<br />
QString str = "and";<br />
str.prepend("rock "); // str == "rock and"<br />
str.append(" roll"); // str == "rock and roll"<br />
str.replace(5, 3, "&"); // str == "rock & roll"<br />
}<br />
void Widget::index()<br />
{<br />
QString str = "We must be <b>bold</b>, very <b>bold</b>";<br />
int j = 0;<br />
while ((j = str.indexOf("<b>", j)) != -1) {<br />
qDebug() << "Found <b> tag at index position" << j;<br />
++j;<br />
}<br />
}<br />
<br />
QString Widget::boolToString(bool b)<br />
{<br />
QString result;<br />
if (b)<br />
result = "True";<br />
else<br />
result = "False";<br />
return result;<br />
}<br />
<br />
void Widget::nullVsEmpty()<br />
{<br />
QString().isNull(); // returns true<br />
QString().isEmpty(); // returns true<br />
QString("").isNull(); // returns false<br />
QString("").isEmpty(); // returns true<br />
QString("abc").isNull(); // returns false<br />
QString("abc").isEmpty(); // returns false<br />
}<br />
void Widget::appendFunction()<br />
{<br />
QString x = "free";<br />
QString y = "dom";<br />
x.append(y);<br />
// x == "freedom"<br />
<br />
x.insert(x.size(), y);<br />
}<br />
void Widget::argFunction()<br />
{<br />
QString i; // current file"s number<br />
QString total; // number of files to process<br />
QString fileName; // current file"s name<br />
QString status = QString("Processing file %1 of %2: %3")<br />
.arg(i).arg(total).arg(fileName);<br />
<br />
<br />
QString str;<br />
str = "%1 %2";<br />
str.arg("%1f", "Hello"); // returns "%1f Hello"<br />
str.arg("%1f").arg("Hello"); // returns "Hellof %2"<br />
<br />
str = QString("Decimal 63 is %1 in hexadecimal")<br />
.arg(63, 0, 16);<br />
// str == "Decimal 63 is 3f in hexadecimal"<br />
QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates));<br />
str = QString("%1 %L2 %L3")<br />
.arg(12345)<br />
.arg(12345)<br />
.arg(12345, 0, 16);<br />
// str == "12345 12,345 3039"<br />
}<br />
void Widget::chopFunction()<br />
{<br />
QString str("LOGOUT\r\n");<br />
str.chop(2);<br />
// str == "LOGOUT"<br />
}<br />
void Widget::compareFunction()<br />
{<br />
int x = QString::compare("auto", "auto"); // x == 0<br />
int y = QString::compare("auto", "car"); // y < 0<br />
int z = QString::compare("car", "auto"); // z > 0<br />
}<br />
void Widget::compareSensitiveFunction()<br />
{<br />
int x = QString::compare("aUtO", "AuTo", Qt::CaseInsensitive); // x == 0<br />
int y = QString::compare("auto", "Car", Qt::CaseSensitive); // y > 0<br />
int z = QString::compare("auto", "Car", Qt::CaseInsensitive); // z < 0<br />
}<br />
void Widget::containsFunction()<br />
{<br />
QString str = "Peter Pan";<br />
str.contains("peter", Qt::CaseInsensitive); // returns true<br />
}<br />
void Widget::countFunction()<br />
{<br />
QString str = "banana and panama";<br />
str.count(QRegExp("a[nm]a")); // returns 4<br />
}<br />
void Widget::dataFunction()<br />
{<br />
QString str = "Hello world";<br />
QChar *data = str.data();<br />
while (!data->isNull()) {<br />
qDebug() << data->unicode();<br />
++data;<br />
}<br />
}<br />
void Widget::endsWithFunction()<br />
{<br />
QString str = "Bananas";<br />
str.endsWith("anas"); // returns true<br />
str.endsWith("pple"); // returns false<br />
}<br />
void Widget::fillFunction()<br />
{<br />
QString str = "Berlin";<br />
str.fill("z");<br />
// str == "zzzzzz"<br />
str.fill("A", 2);<br />
// str == "AA"<br />
}<br />
void Widget::fromRawDataFunction()<br />
{<br />
QRegExp pattern;<br />
static const QChar unicode[] = {<br />
0x005A, 0x007F, 0x00A4, 0x0060,<br />
0x1009, 0x0020, 0x0020};<br />
int size = sizeof(unicode) / sizeof(QChar);<br />
QString str = QString::fromRawData(unicode, size);<br />
if (str.contains(QRegExp(pattern))) {<br />
// ...<br />
<br />
}<br />
}<br />
void Widget::indexOfFunction()<br />
{<br />
QString x = "sticky question";<br />
QString y = "sti";<br />
x.indexOf(y); // returns 0<br />
x.indexOf(y, 1); // returns 10<br />
x.indexOf(y, 10); // returns 10<br />
x.indexOf(y, 11); // returns -1<br />
}<br />
void Widget::firstIndexOfFunction()<br />
{<br />
QString str = "the minimum";<br />
str.indexOf(QRegExp("m[aeiou]"), 0); // returns 4<br />
}<br />
void Widget::insertFunction()<br />
{<br />
QString str = "Meal";<br />
str.insert(1, QString("ontr"));<br />
// str == "Montreal"<br />
}<br />
void Widget::isEmptyFunction()<br />
{<br />
QString().isEmpty(); // returns true<br />
QString("").isEmpty(); // returns true<br />
QString("x").isEmpty(); // returns false<br />
QString("abc").isEmpty(); // returns false<br />
}<br />
void Widget::isNullFunction()<br />
{<br />
QString().isNull(); // returns true<br />
QString("").isNull(); // returns false<br />
QString("abc").isNull(); // returns false<br />
}<br />
void Widget::lastIndexOfFunction()<br />
{<br />
QString x = "crazy azimuths";<br />
QString y = "az";<br />
x.lastIndexOf(y); // returns 6<br />
x.lastIndexOf(y, 6); // returns 6<br />
x.lastIndexOf(y, 5); // returns 2<br />
x.lastIndexOf(y, 1); // returns -1<br />
<br />
QString str = "the minimum";<br />
str.lastIndexOf(QRegExp("m[aeiou]")); // returns 8<br />
}<br />
void Widget::leftFunction()<br />
{<br />
QString x = "Pineapple";<br />
QString y = x.left(4); // y == "Pine"<br />
}<br />
void Widget::leftJustifiedFunction()<br />
{<br />
QString s = "apple";<br />
QString t = s.leftJustified(8, "."); // t == "apple..."<br />
<br />
QString str = "Pineapple";<br />
str = str.leftJustified(5, ".", true); // str == "Pinea"<br />
}<br />
void Widget::midFunction()<br />
{<br />
QString x = "Nine pineapples";<br />
QString y = x.mid(5, 4); // y == "pine"<br />
QString z = x.mid(5); // z == "pineapples"<br />
}<br />
void Widget::numberFunction()<br />
{<br />
long a = 63;<br />
QString s = QString::number(a, 16); // s == "3f"<br />
QString t = QString::number(a, 16).toUpper(); // t == "3F"<br />
}<br />
void Widget::prependFunction()<br />
{<br />
QString x = "ship";<br />
QString y = "air";<br />
x.prepend(y);<br />
// x == "airship"<br />
}<br />
void Widget::removeFunction()<br />
{<br />
QString s = "Montreal";<br />
s.remove(1, 4);<br />
// s == "Meal"<br />
<br />
QString t = "Ali Baba";<br />
t.remove(QChar("a"), Qt::CaseInsensitive);<br />
// t == "li Bb"<br />
<br />
QString r = "Telephone";<br />
r.remove(QRegExp("[aeiou]."));<br />
// r == "The"<br />
}<br />
void Widget::replaceFunction()<br />
{<br />
QString x = "Say yes!";<br />
QString y = "no";<br />
x.replace(4, 3, y);<br />
// x == "Say no!"<br />
<br />
QString str = "colour behaviour flavour neighbour";<br />
str.replace(QString("ou"), QString("o"));<br />
// str == "color behavior flavor neighbor"<br />
<br />
QString s = "Banana";<br />
s.replace(QRegExp("a[mn]"), "ox");<br />
// s == "Boxoxa"<br />
<br />
QString t = "A <i>bon mot</i>.";<br />
t.replace(QRegExp("<i>([^<]*)</i>"), "\\emph{\\1}");<br />
// t == "A \\emph{bon mot}."<br />
<br />
QString equis = "xxxxxx";<br />
equis.replace("xx", "x");<br />
// equis == "xxx" <br />
}<br />
void Widget::reserveFunction()<br />
{<br />
QString result;<br />
int maxSize;<br />
bool condition;<br />
QChar nextChar;<br />
result.reserve(maxSize);<br />
while (condition)<br />
result.append(nextChar);<br />
result.squeeze();<br />
}<br />
void Widget::resizeFunction()<br />
{<br />
QString s = "Hello world";<br />
s.resize(5);<br />
// s == "Hello"<br />
s.resize(8);<br />
// s == "Hello???" (where ? stands for any character)<br />
<br />
QString t = "Hello";<br />
t += QString(10, "X");<br />
// t == "HelloXXXXXXXXXX"<br />
<br />
QString r = "Hello";<br />
r = r.leftJustified(10, " ");<br />
// r == "Hello "<br />
}<br />
void Widget::rightFunction()<br />
{<br />
QString x = "Pineapple";<br />
QString y = x.right(5); // y == "apple"<br />
}<br />
void Widget::rightJustifiedFunction()<br />
{<br />
QString s = "apple";<br />
QString t = s.rightJustified(8, "."); // t == "...apple"<br />
<br />
QString str = "Pineapple";<br />
str = str.rightJustified(5, ".", true); // str == "Pinea"<br />
}<br />
void Widget::sectionFunction()<br />
{<br />
<br />
QString str;<br />
QString csv = "forename,middlename,surname,phone";<br />
QString path = "/usr/local/bin/myapp"; // First field is empty<br />
QString::SectionFlag flag = QString::SectionSkipEmpty;<br />
<br />
str = csv.section(",", 2, 2); // str == "surname"<br />
str = path.section("/", 3, 4); // str == "bin/myapp"<br />
str = path.section("/", 3, 3, flag); // str == "myapp"<br />
<br />
str = csv.section(",", -3, -2); // str == "middlename,surname"<br />
str = path.section("/", -1); // str == "myapp"<br />
<br />
QString data = "forename**middlename**surname**phone";<br />
str = data.section("**", 2, 2); // str == "surname"<br />
str = data.section("**", -3, -2); // str == "middlename**surname"<br />
<br />
QString line = "forename\tmiddlename surname \t \t phone";<br />
QRegExp sep("\\s+");<br />
str = line.section(sep, 2, 2); // s == "surname"<br />
str = line.section(sep, -3, -2); // s == "middlename surname"<br />
}<br />
void Widget::setNumFunction()<br />
{<br />
QString str;<br />
str.setNum(1234); // str == "1234"<br />
}<br />
void Widget::simplifiedFunction()<br />
{<br />
QString str = " lots\t of\nwhitespace\r\n ";<br />
str = str.simplified();<br />
// str == "lots of whitespace";<br />
}<br />
void Widget::sizeFunction()<br />
{<br />
QString str = "World";<br />
int n = str.size(); // n == 5<br />
str.data()[0]; // returns "W"<br />
str.data()[4]; // returns "d"<br />
str.data()[5]; // returns "\0"<br />
}<br />
void Widget::splitFunction()<br />
{<br />
QString str;<br />
QStringList list;<br />
str = "Some text\n\twith strange whitespace.";<br />
list = str.split(QRegExp("\\s+"));<br />
// list: [ "Some", "text", "with", "strange", "whitespace." ]<br />
<br />
str = "This time, a normal English sentence.";<br />
list = str.split(QRegExp("\\W+"), QString::SkipEmptyParts);<br />
// list: [ "This", "time", "a", "normal", "English", "sentence" ]<br />
<br />
str = "Now: this sentence fragment.";<br />
list = str.split(QRegExp("\\b"));<br />
// list: [ "", "Now", ": ", "this", " ", "sentence", " ", "fragment", "." ]<br />
}<br />
void Widget::splitCaseSensitiveFunction()<br />
{<br />
QString str = "a,,b,c";<br />
QStringList list1 = str.split(",");<br />
// list1: [ "a", "", "b", "c" ]<br />
QStringList list2 = str.split(",", QString::SkipEmptyParts);<br />
// list2: [ "a", "b", "c" ]<br />
}<br />
void Widget::sprintfFunction()<br />
{<br />
size_t BufSize;<br />
char buf[BufSize];<br />
::snprintf(buf, BufSize, "%lld", 123456789LL);<br />
QString str = QString::fromAscii(buf);<br />
<br />
QString result;<br />
QTextStream(&result) << "pi = " << 3.14;<br />
// result == "pi = 3.14"<br />
}<br />
void Widget::startsWithFunction()<br />
{<br />
QString str = "Bananas";<br />
str.startsWith("Ban"); // returns true<br />
str.startsWith("Car"); // returns false<br />
}<br />
void Widget::toDoubleFunction()<br />
{<br />
QString str = "1234.56";<br />
double val = str.toDouble(); // val == 1234.56<br />
<br />
bool ok;<br />
double d;<br />
d = QString( "1234.56e-02" ).toDouble(&ok); // ok == true, d == 12.3456<br />
<br />
<br />
QLocale::setDefault(QLocale::C);<br />
d = QString( "1234,56" ).toDouble(&ok); // ok == false<br />
d = QString( "1234.56" ).toDouble(&ok); // ok == true, d == 1234.56<br />
<br />
QLocale::setDefault(QLocale::German);<br />
d = QString( "1234,56" ).toDouble(&ok); // ok == true, d == 1234.56<br />
d = QString( "1234.56" ).toDouble(&ok); // ok == true, d == 1234.56<br />
<br />
QLocale::setDefault(QLocale::C);<br />
d = QString( "1,234,567.89" ).toDouble(&ok); // ok == false<br />
}<br />
void Widget::toFloatFunction()<br />
{<br />
QString str1 = "1234.56";<br />
str1.toFloat(); // returns 1234.56<br />
bool ok;<br />
QString str2 = "R2D2";<br />
str2.toFloat(&ok); // returns 0.0, sets ok to false<br />
}<br />
void Widget::toIntFunction()<br />
{<br />
QString str = "FF";<br />
bool ok;<br />
int hex = str.toInt(&ok, 16); // hex == 255, ok == true<br />
int dec = str.toInt(&ok, 10); // dec == 0, ok == false<br />
}<br />
void Widget::toLongFunction()<br />
{<br />
QString str = "FF";<br />
bool ok;<br />
long hex = str.toLong(&ok, 16); // hex == 255, ok == true<br />
long dec = str.toLong(&ok, 10); // dec == 0, ok == false<br />
}<br />
void Widget::toLongLongFunction()<br />
{<br />
QString str = "FF";<br />
bool ok;<br />
qint64 hex = str.toLongLong(&ok, 16); // hex == 255, ok == true<br />
qint64 dec = str.toLongLong(&ok, 10); // dec == 0, ok == false<br />
}<br />
void Widget::toLowerFunction()<br />
{<br />
QString str = "Qt by NOKIA";<br />
str = str.toLower(); // str == "qt by nokia"<br />
}<br />
void Widget::toShortFunction()<br />
{<br />
QString str = "FF";<br />
bool ok;<br />
short hex = str.toShort(&ok, 16); // hex == 255, ok == true<br />
short dec = str.toShort(&ok, 10); // dec == 0, ok == false<br />
}<br />
void Widget::toUIntFunction()<br />
{<br />
QString str = "FF";<br />
bool ok;<br />
uint hex = str.toUInt(&ok, 16); // hex == 255, ok == true<br />
uint dec = str.toUInt(&ok, 10); // dec == 0, ok == false<br />
}<br />
void Widget::toULongFunction()<br />
{<br />
QString str = "FF";<br />
bool ok;<br />
ulong hex = str.toULong(&ok, 16); // hex == 255, ok == true<br />
ulong dec = str.toULong(&ok, 10); // dec == 0, ok == false<br />
}<br />
void Widget::toULongLongFunction()<br />
{<br />
QString str = "FF";<br />
bool ok;<br />
quint64 hex = str.toULongLong(&ok, 16); // hex == 255, ok == true<br />
quint64 dec = str.toULongLong(&ok, 10); // dec == 0, ok == false<br />
}<br />
void Widget::toUShortFunction()<br />
{<br />
QString str = "FF";<br />
bool ok;<br />
ushort hex = str.toUShort(&ok, 16); // hex == 255, ok == true<br />
ushort dec = str.toUShort(&ok, 10); // dec == 0, ok == false<br />
}<br />
void Widget::toUpperFunction()<br />
{<br />
QString str = "TeXt";<br />
str = str.toUpper(); // str == "TEXT"<br />
}<br />
void Widget::trimmedFunction()<br />
{<br />
QString str = " lots\t of\nwhitespace\r\n ";<br />
str = str.trimmed();<br />
// str == "lots\t of\nwhitespace"<br />
}<br />
void Widget::truncateFunction()<br />
{<br />
QString str = "Vladivostok";<br />
str.truncate(4);<br />
// str == "Vlad"<br />
}<br />
void Widget::plusEqualOperator()<br />
{<br />
QString x = "free";<br />
QString y = "dom";<br />
x += y;<br />
// x == "freedom"<br />
}<br />
void Widget::arrayOperator()<br />
{<br />
QString str;<br />
if (str[0] == QChar("?"))<br />
str[0] = QChar("_");<br />
}<br />
void Widget::midRefFunction()<br />
{<br />
//! [midRef]<br />
QString x = "Nine pineapples";<br />
QStringRef y = x.midRef(5, 4); // y == "pine"<br />
QStringRef z = x.midRef(5); // z == "pineapples"<br />
//! [midRef]<br />
}<br />
void Widget::leftRefFunction()<br />
{<br />
//! [leftRef]<br />
QString x = "Pineapple";<br />
QStringRef y = x.leftRef(4); // y == "Pine"<br />
//! [leftRef]<br />
}<br />
void Widget::rightRefFunction()<br />
{<br />
//! [rightRef]<br />
QString x = "Pineapple";<br />
QStringRef y = x.rightRef(5); // y == "apple"<br />
//! [rightRef]<br />
}<br />
<br />
int main(int argc, char *argv[])<br />
{<br />
QApplication app(argc, argv);<br />
Widget widget;<br />
widget.show();<br />
return app.exec();<br />
}<br />
<br />
<br />
</source><br />
<br />
<br />
==cpp with qstring==<br />
<br />
<br />
<br />
<source lang="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 />
* "AS IS" 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 />
<br />
#include <QObject><br />
#include <QtDebug><br />
#include <QString><br />
class MyClass : public QObject<br />
{<br />
public:<br />
MyClass( const QString &text, QObject *parent = 0 );<br />
const QString &text();<br />
void setText( const QString &text );<br />
int getLengthOfText();<br />
<br />
private:<br />
QString m_text;<br />
};<br />
MyClass::MyClass( const QString &text, QObject *parent ) : QObject( parent )<br />
{<br />
m_text = text;<br />
}<br />
const QString &MyClass::text() { return m_text; }<br />
void MyClass::setText( const QString &text ) { m_text = text; }<br />
int MyClass::getLengthOfText() { return m_text.size(); }<br />
int main( int argc, char **argv )<br />
{<br />
QObject parent;<br />
MyClass *a, *b, *c;<br />
a = new MyClass( "foo", &parent );<br />
b = new MyClass( "ba-a-ar", &parent );<br />
c = new MyClass( "baz", &parent );<br />
qDebug() << a->text() << " (" << a->getLengthOfText() << ")";<br />
a->setText( b->text() );<br />
qDebug() << a->text() << " (" << a->getLengthOfText() << ")";<br />
return a->getLengthOfText() - c->getLengthOfText();<br />
}<br />
<br />
<br />
</source><br />
<br />
<br />
==extends QString==<br />
<br />
<br />
<br />
<source lang="cpp"> <br />
<br />
#include <QList><br />
#include <QtAlgorithms> // for qSort()<br />
#include <QStringList><br />
#include <QDebug><br />
class CaseIgnoreString : public QString {<br />
public:<br />
CaseIgnoreString(const QString& other = QString()) : QString(other) {}<br />
bool operator<(const QString & other) const {<br />
return toLower() < other.toLower();<br />
}<br />
bool operator==(const QString& other) const {<br />
return toLower() == other.toLower();<br />
}<br />
};<br />
int main() {<br />
CaseIgnoreString s1("A"), s2("b"), s3 ("C"), s4("d"), s5 ("D");<br />
QList<CaseIgnoreString> namelist;<br />
namelist << s5 << s1 << s3 << s4 << s2;<br />
<br />
qSort(namelist.begin(), namelist.end());<br />
int i=0;<br />
foreach (QString stritr, namelist) {<br />
qDebug() << QString("namelist[%1] = %2").arg(i++).arg(stritr) ;<br />
}<br />
QStringList strlist;<br />
strlist << s5 << s1 << s3 << s4 << s2; <br />
qSort(strlist.begin(), strlist.end());<br />
qDebug() << "StringList sorted: " + strlist.join(", ") << endl;<br />
return 0;<br />
}<br />
<br />
<br />
</source><br />
<br />
<br />
==Format command line parameter with QString==<br />
<br />
<br />
<br />
<source lang="cpp"> <br />
#include <QTextStream><br />
#include <QCoreApplication><br />
#include <QStringList><br />
int main (int argc, char* argv[]) {<br />
QCoreApplication app(argc, argv);<br />
QTextStream cout(stdout, QIODevice::WriteOnly);<br />
QStringList arglst = app.arguments();<br />
cout << "argc = " << argc << endl;<br />
for (int i=0; i<arglst.size(); ++i) {<br />
cout << QString("argv#%1 is %2").arg(i).arg(arglst[i]) << endl;<br />
}<br />
int num = arglst[argc - 1].toInt();<br />
cout << num * 2 << endl;<br />
}<br />
<br />
<br />
</source><br />
<br />
<br />
==Qt type size==<br />
<br />
<br />
<br />
<source lang="cpp"> <br />
#include <QString><br />
#include <QTextStream><br />
<br />
int main() {<br />
QTextStream cout(stdout);<br />
char* charp = array1;<br />
QString qstring = "This is a unicode QString." ;<br />
Q_ASSERT (sizeof(i) == sizeof(int));<br />
cout << " c type sizes: \n";<br />
cout << " qt type sizes: \n"; <br />
cout << "sizeof(qstring) = " << sizeof(qstring) << endl;<br />
cout << "sizeof(qint32) = " << sizeof (qint32) << "\n"; <br />
cout << "sizeof(qint64) = " << sizeof(qint64) << "\n"; <br />
cout << "sizeof(qchar) = " << sizeof (QChar) << endl; <br />
cout << "qstring.length() = " << qstring.length() << endl; <br />
return 0;<br />
}<br />
<br />
<br />
</source><br />
<br />
<br />
==Using QString as the parameter==<br />
<br />
<br />
<br />
<source lang="cpp"> <br />
#include <QString><br />
#include <qstd.h><br />
using namespace qstd;<br />
class Person {<br />
public:<br />
void setNameV( QString newName) {<br />
newName += " A"; <br />
m_Name = newName;<br />
}<br />
void setNameCR( const QString& newName) {<br />
m_Name = newName;<br />
}<br />
void setNameR( QString& newName) {<br />
newName += " B";<br />
m_Name = newName;<br />
}<br />
QString m_Name;<br />
};<br />
<br />
int main() {<br />
Person p;<br />
QString name("1");<br />
p.setNameCR(name); <br />
p.setNameCR("2"); <br />
p.setNameV("3"); <br />
p.setNameR(name); <br />
cout << name; <br />
}<br />
<br />
<br />
</source></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