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

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

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

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

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

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

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

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

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

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

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.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: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.php on line 48

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

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

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

Deprecated: Constant E_STRICT is deprecated in /var/www/cppe.ru/www/vendor/mediawiki/at-ease/src/Functions.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%2FQAbstractTableModel
C++/Qt/QAbstractTableModel - История изменений 2026-11-08T04:24:45Z История изменений этой страницы в вики 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/QAbstractTableModel&diff=1218&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/QAbstractTableModel&diff=1219&oldid=prev
Admin: 1 версия:&#32;Импорт контента... 2010-05-25T10:25:12Z <p>1 версия: Импорт контента...</p> <p><b>Новая страница</b></p><div>==A simple example that shows how selections can be used directly on a model==<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 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 /> #ifndef MODEL_H<br /> #define MODEL_H<br /> #include &lt;QAbstractTableModel&gt;<br /> #include &lt;QStringList&gt;<br /> #include &lt;QVariant&gt;<br /> class TableModel : public QAbstractTableModel<br /> {<br /> Q_OBJECT<br /> public:<br /> TableModel(int rows = 1, int columns = 1, QObject *parent = 0);<br /> int rowCount(const QModelIndex &amp;parent = QModelIndex()) const;<br /> int columnCount(const QModelIndex &amp;parent = QModelIndex()) const;<br /> QVariant data(const QModelIndex &amp;index, int role) const;<br /> QVariant headerData(int section, Qt::Orientation orientation,<br /> int role = Qt::DisplayRole) const;<br /> Qt::ItemFlags flags(const QModelIndex &amp;index) const;<br /> bool setData(const QModelIndex &amp;index, const QVariant &amp;value,<br /> int role = Qt::EditRole);<br /> bool insertRows(int position, int rows, const QModelIndex &amp;parent = QModelIndex());<br /> bool insertColumns(int position, int columns, const QModelIndex &amp;parent = QModelIndex());<br /> bool removeRows(int position, int rows, const QModelIndex &amp;parent = QModelIndex());<br /> bool removeColumns(int position, int columns, const QModelIndex &amp;parent = QModelIndex());<br /> private:<br /> QList&lt;QStringList&gt; rowList;<br /> };<br /> #endif<br /> <br /> <br /> <br /> <br /> /*<br /> model.cpp<br /> Provides a table model for use in various examples.<br /> */<br /> #include &lt;QtGui&gt;<br /> #include &quot;model.h&quot;<br /> /*!<br /> Constructs a table model with at least one row and one column.<br /> */<br /> TableModel::TableModel(int rows, int columns, QObject *parent)<br /> : QAbstractTableModel(parent)<br /> {<br /> QStringList newList;<br /> for (int column = 0; column &lt; qMax(1, columns); ++column) {<br /> newList.append(&quot;&quot;);<br /> }<br /> for (int row = 0; row &lt; qMax(1, rows); ++row) {<br /> rowList.append(newList);<br /> }<br /> }<br /> <br /> /*!<br /> Returns the number of items in the row list as the number of rows<br /> in the model.<br /> */<br /> int TableModel::rowCount(const QModelIndex &amp;/*parent*/) const<br /> {<br /> return rowList.size();<br /> }<br /> /*!<br /> Returns the number of items in the first list item as the number of<br /> columns in the model. All rows should have the same number of columns.<br /> */<br /> int TableModel::columnCount(const QModelIndex &amp;/*parent*/) const<br /> {<br /> return rowList[0].size();<br /> }<br /> /*!<br /> Returns an appropriate value for the requested data.<br /> If the view requests an invalid index, an invalid variant is returned.<br /> Any valid index that corresponds to a string in the list causes that<br /> string to be returned for the display role; otherwise an invalid variant<br /> is returned.<br /> */<br /> QVariant TableModel::data(const QModelIndex &amp;index, int role) const<br /> {<br /> if (!index.isValid())<br /> return QVariant();<br /> if (role == Qt::DisplayRole)<br /> return rowList[index.row()][index.column()];<br /> else<br /> return QVariant();<br /> }<br /> /*!<br /> Returns the appropriate header string depending on the orientation of<br /> the header and the section. If anything other than the display role is<br /> requested, we return an invalid variant.<br /> */<br /> QVariant TableModel::headerData(int section, Qt::Orientation orientation,<br /> int role) const<br /> {<br /> if (role != Qt::DisplayRole)<br /> return QVariant();<br /> if (orientation == Qt::Horizontal)<br /> return QString(&quot;Column %1&quot;).arg(section);<br /> else<br /> return QString(&quot;Row %1&quot;).arg(section);<br /> }<br /> /*!<br /> Returns an appropriate value for the item&quot;s flags. Valid items are<br /> enabled, selectable, and editable.<br /> */<br /> Qt::ItemFlags TableModel::flags(const QModelIndex &amp;index) const<br /> {<br /> if (!index.isValid())<br /> return Qt::ItemIsEnabled;<br /> return Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsEditable;<br /> }<br /> /*!<br /> Changes an item in the model, but only if the following conditions<br /> are met:<br /> * The index supplied is valid.<br /> * The role associated with editing text is specified.<br /> The dataChanged() signal is emitted if the item is changed.<br /> */<br /> bool TableModel::setData(const QModelIndex &amp;index,<br /> const QVariant &amp;value, int role)<br /> {<br /> if (!index.isValid() || role != Qt::EditRole)<br /> return false;<br /> rowList[index.row()][index.column()] = value.toString();<br /> emit dataChanged(index, index);<br /> return true;<br /> }<br /> /*!<br /> Inserts a number of rows into the model at the specified position.<br /> */<br /> bool TableModel::insertRows(int position, int rows, const QModelIndex &amp;parent)<br /> {<br /> int columns = columnCount();<br /> beginInsertRows(parent, position, position + rows - 1);<br /> for (int row = 0; row &lt; rows; ++row) {<br /> QStringList items;<br /> for (int column = 0; column &lt; columns; ++column)<br /> items.append(&quot;&quot;);<br /> rowList.insert(position, items);<br /> }<br /> endInsertRows();<br /> return true;<br /> }<br /> /*!<br /> Inserts a number of columns into the model at the specified position.<br /> Each entry in the list is extended in turn with the required number of<br /> empty strings.<br /> */<br /> bool TableModel::insertColumns(int position, int columns,<br /> const QModelIndex &amp;parent)<br /> {<br /> int rows = rowCount();<br /> beginInsertColumns(parent, position, position + columns - 1);<br /> for (int row = 0; row &lt; rows; ++row) {<br /> for (int column = position; column &lt; columns; ++column) {<br /> rowList[row].insert(position, &quot;&quot;);<br /> }<br /> }<br /> endInsertColumns();<br /> return true;<br /> }<br /> /*!<br /> Removes a number of rows from the model at the specified position.<br /> */<br /> bool TableModel::removeRows(int position, int rows, const QModelIndex &amp;parent)<br /> {<br /> beginRemoveRows(parent, position, position + rows - 1);<br /> for (int row = 0; row &lt; rows; ++row) {<br /> rowList.removeAt(position);<br /> }<br /> endRemoveRows();<br /> return true;<br /> }<br /> /*!<br /> Removes a number of columns from the model at the specified position.<br /> Each row is shortened by the number of columns specified.<br /> */<br /> bool TableModel::removeColumns(int position, int columns,<br /> const QModelIndex &amp;parent)<br /> {<br /> int rows = rowCount();<br /> beginRemoveColumns(parent, position, position + columns - 1);<br /> for (int row = 0; row &lt; rows; ++row) {<br /> for (int column = 0; column &lt; columns; ++column) {<br /> rowList[row].removeAt(position);<br /> }<br /> }<br /> endRemoveColumns();<br /> return true;<br /> }<br /> <br /> <br /> <br /> <br /> <br /> /*<br /> main.cpp<br /> A simple example that shows how selections can be used directly on a model.<br /> It shows the result of some selections made using a table view.<br /> */<br /> #include &lt;QApplication&gt;<br /> #include &lt;QItemSelection&gt;<br /> #include &lt;QItemSelectionModel&gt;<br /> #include &lt;QTableView&gt;<br /> #include &quot;model.h&quot;<br /> int main(int argc, char *argv[])<br /> {<br /> QApplication app(argc, argv);<br /> <br /> TableModel *model = new TableModel(8, 4, &amp;app);<br /> QTableView *table = new QTableView(0);<br /> table-&gt;setModel(model);<br /> QItemSelectionModel *selectionModel = table-&gt;selectionModel();<br /> <br /> QModelIndex topLeft;<br /> QModelIndex bottomRight;<br /> topLeft = model-&gt;index(0, 0, QModelIndex());<br /> bottomRight = model-&gt;index(5, 2, QModelIndex());<br /> <br /> QItemSelection selection(topLeft, bottomRight);<br /> selectionModel-&gt;select(selection, QItemSelectionModel::Select);<br /> <br /> QItemSelection toggleSelection;<br /> topLeft = model-&gt;index(2, 1, QModelIndex());<br /> bottomRight = model-&gt;index(7, 3, QModelIndex());<br /> toggleSelection.select(topLeft, bottomRight);<br /> selectionModel-&gt;select(toggleSelection, QItemSelectionModel::Toggle);<br /> <br /> QItemSelection columnSelection;<br /> topLeft = model-&gt;index(0, 1, QModelIndex());<br /> bottomRight = model-&gt;index(0, 2, QModelIndex());<br /> columnSelection.select(topLeft, bottomRight);<br /> selectionModel-&gt;select(columnSelection,<br /> QItemSelectionModel::Select | QItemSelectionModel::Columns);<br /> QItemSelection rowSelection;<br /> topLeft = model-&gt;index(0, 0, QModelIndex());<br /> bottomRight = model-&gt;index(1, 0, QModelIndex());<br /> rowSelection.select(topLeft, bottomRight);<br /> selectionModel-&gt;select(rowSelection,<br /> QItemSelectionModel::Select | QItemSelectionModel::Rows);<br /> <br /> table-&gt;setWindowTitle(&quot;Selected items in a table model&quot;);<br /> table-&gt;show();<br /> table-&gt;resize(460, 280);<br /> return app.exec();<br /> }<br /> <br /> <br /> &lt;/source&gt;<br /> <br /> <br /> ==A single model can be shared between multiple views==<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 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 /> #ifndef MODEL_H<br /> #define MODEL_H<br /> #include &lt;QAbstractTableModel&gt;<br /> #include &lt;QStringList&gt;<br /> #include &lt;QVariant&gt;<br /> class TableModel : public QAbstractTableModel<br /> {<br /> Q_OBJECT<br /> public:<br /> TableModel(int rows = 1, int columns = 1, QObject *parent = 0);<br /> int rowCount(const QModelIndex &amp;parent = QModelIndex()) const;<br /> int columnCount(const QModelIndex &amp;parent = QModelIndex()) const;<br /> QVariant data(const QModelIndex &amp;index, int role) const;<br /> QVariant headerData(int section, Qt::Orientation orientation,<br /> int role = Qt::DisplayRole) const;<br /> Qt::ItemFlags flags(const QModelIndex &amp;index) const;<br /> bool setData(const QModelIndex &amp;index, const QVariant &amp;value,<br /> int role = Qt::EditRole);<br /> bool insertRows(int position, int rows, const QModelIndex &amp;parent = QModelIndex());<br /> bool insertColumns(int position, int columns, const QModelIndex &amp;parent = QModelIndex());<br /> bool removeRows(int position, int rows, const QModelIndex &amp;parent = QModelIndex());<br /> bool removeColumns(int position, int columns, const QModelIndex &amp;parent = QModelIndex());<br /> private:<br /> QList&lt;QStringList&gt; rowList;<br /> };<br /> #endif<br /> <br /> <br /> /*<br /> model.cpp<br /> Provides a table model for use in various examples.<br /> */<br /> #include &lt;QtGui&gt;<br /> #include &quot;model.h&quot;<br /> /*!<br /> Constructs a table model with at least one row and one column.<br /> */<br /> TableModel::TableModel(int rows, int columns, QObject *parent)<br /> : QAbstractTableModel(parent)<br /> {<br /> QStringList newList;<br /> for (int column = 0; column &lt; qMax(1, columns); ++column) {<br /> newList.append(&quot;&quot;);<br /> }<br /> for (int row = 0; row &lt; qMax(1, rows); ++row) {<br /> rowList.append(newList);<br /> }<br /> }<br /> <br /> /*!<br /> Returns the number of items in the row list as the number of rows<br /> in the model.<br /> */<br /> int TableModel::rowCount(const QModelIndex &amp;/*parent*/) const<br /> {<br /> return rowList.size();<br /> }<br /> /*!<br /> Returns the number of items in the first list item as the number of<br /> columns in the model. All rows should have the same number of columns.<br /> */<br /> int TableModel::columnCount(const QModelIndex &amp;/*parent*/) const<br /> {<br /> return rowList[0].size();<br /> }<br /> /*!<br /> Returns an appropriate value for the requested data.<br /> If the view requests an invalid index, an invalid variant is returned.<br /> Any valid index that corresponds to a string in the list causes that<br /> string to be returned for the display role; otherwise an invalid variant<br /> is returned.<br /> */<br /> QVariant TableModel::data(const QModelIndex &amp;index, int role) const<br /> {<br /> if (!index.isValid())<br /> return QVariant();<br /> if (role == Qt::DisplayRole)<br /> return rowList[index.row()][index.column()];<br /> else<br /> return QVariant();<br /> }<br /> /*!<br /> Returns the appropriate header string depending on the orientation of<br /> the header and the section. If anything other than the display role is<br /> requested, we return an invalid variant.<br /> */<br /> QVariant TableModel::headerData(int section, Qt::Orientation orientation,<br /> int role) const<br /> {<br /> if (role != Qt::DisplayRole)<br /> return QVariant();<br /> if (orientation == Qt::Horizontal)<br /> return QString(&quot;Column %1&quot;).arg(section);<br /> else<br /> return QString(&quot;Row %1&quot;).arg(section);<br /> }<br /> /*!<br /> Returns an appropriate value for the item&quot;s flags. Valid items are<br /> enabled, selectable, and editable.<br /> */<br /> Qt::ItemFlags TableModel::flags(const QModelIndex &amp;index) const<br /> {<br /> if (!index.isValid())<br /> return Qt::ItemIsEnabled;<br /> return Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsEditable;<br /> }<br /> /*!<br /> Changes an item in the model, but only if the following conditions<br /> are met:<br /> * The index supplied is valid.<br /> * The role associated with editing text is specified.<br /> The dataChanged() signal is emitted if the item is changed.<br /> */<br /> bool TableModel::setData(const QModelIndex &amp;index,<br /> const QVariant &amp;value, int role)<br /> {<br /> if (!index.isValid() || role != Qt::EditRole)<br /> return false;<br /> rowList[index.row()][index.column()] = value.toString();<br /> emit dataChanged(index, index);<br /> return true;<br /> }<br /> /*!<br /> Inserts a number of rows into the model at the specified position.<br /> */<br /> bool TableModel::insertRows(int position, int rows, const QModelIndex &amp;parent)<br /> {<br /> int columns = columnCount();<br /> beginInsertRows(parent, position, position + rows - 1);<br /> for (int row = 0; row &lt; rows; ++row) {<br /> QStringList items;<br /> for (int column = 0; column &lt; columns; ++column)<br /> items.append(&quot;&quot;);<br /> rowList.insert(position, items);<br /> }<br /> endInsertRows();<br /> return true;<br /> }<br /> /*!<br /> Inserts a number of columns into the model at the specified position.<br /> Each entry in the list is extended in turn with the required number of<br /> empty strings.<br /> */<br /> bool TableModel::insertColumns(int position, int columns, const QModelIndex &amp;parent)<br /> {<br /> int rows = rowCount();<br /> beginInsertColumns(parent, position, position + columns - 1);<br /> for (int row = 0; row &lt; rows; ++row) {<br /> for (int column = position; column &lt; columns; ++column) {<br /> rowList[row].insert(position, &quot;&quot;);<br /> }<br /> }<br /> endInsertColumns();<br /> return true;<br /> }<br /> /*!<br /> Removes a number of rows from the model at the specified position.<br /> */<br /> bool TableModel::removeRows(int position, int rows, const QModelIndex &amp;parent)<br /> {<br /> beginRemoveRows(parent, position, position + rows - 1);<br /> for (int row = 0; row &lt; rows; ++row) {<br /> rowList.removeAt(position);<br /> }<br /> endRemoveRows();<br /> return true;<br /> }<br /> /*!<br /> Removes a number of columns from the model at the specified position.<br /> Each row is shortened by the number of columns specified.<br /> */<br /> bool TableModel::removeColumns(int position, int columns, const QModelIndex &amp;parent)<br /> {<br /> int rows = rowCount();<br /> beginRemoveColumns(parent, position, position + columns - 1);<br /> for (int row = 0; row &lt; rows; ++row) {<br /> for (int column = 0; column &lt; columns; ++column) {<br /> rowList[row].removeAt(position);<br /> }<br /> }<br /> endRemoveColumns();<br /> return true;<br /> }<br /> <br /> <br /> /*<br /> main.cpp<br /> A simple example that shows how a single model can be shared between<br /> multiple views.<br /> */<br /> #include &lt;QApplication&gt;<br /> #include &lt;QHeaderView&gt;<br /> #include &lt;QItemSelectionModel&gt;<br /> #include &lt;QTableView&gt;<br /> #include &quot;model.h&quot;<br /> int main(int argc, char *argv[])<br /> {<br /> QApplication app(argc, argv);<br /> TableModel *model = new TableModel(4, 2, &amp;app);<br /> <br /> QTableView *firstTableView = new QTableView;<br /> QTableView *secondTableView = new QTableView;<br /> <br /> firstTableView-&gt;setModel(model);<br /> secondTableView-&gt;setModel(model);<br /> <br /> firstTableView-&gt;horizontalHeader()-&gt;setModel(model);<br /> for (int row = 0; row &lt; 4; ++row) {<br /> for (int column = 0; column &lt; 2; ++column) {<br /> QModelIndex index = model-&gt;index(row, column, QModelIndex());<br /> model-&gt;setData(index, QVariant(QString(&quot;(%1, %2)&quot;).arg(row).arg(column)));<br /> }<br /> }<br /> <br /> secondTableView-&gt;setSelectionModel(firstTableView-&gt;selectionModel());<br /> <br /> firstTableView-&gt;setWindowTitle(&quot;First table view&quot;);<br /> secondTableView-&gt;setWindowTitle(&quot;Second table view&quot;);<br /> firstTableView-&gt;show();<br /> secondTableView-&gt;show();<br /> return app.exec();<br /> }<br /> <br /> <br /> &lt;/source&gt;<br /> <br /> <br /> ==how selections can be used directly on a model==<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 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 /> #ifndef MODEL_H<br /> #define MODEL_H<br /> #include &lt;QAbstractTableModel&gt;<br /> #include &lt;QStringList&gt;<br /> #include &lt;QVariant&gt;<br /> class TableModel : public QAbstractTableModel<br /> {<br /> Q_OBJECT<br /> public:<br /> TableModel(int rows = 1, int columns = 1, QObject *parent = 0);<br /> int rowCount(const QModelIndex &amp;parent = QModelIndex()) const;<br /> int columnCount(const QModelIndex &amp;parent = QModelIndex()) const;<br /> QVariant data(const QModelIndex &amp;index, int role) const;<br /> QVariant headerData(int section, Qt::Orientation orientation,<br /> int role = Qt::DisplayRole) const;<br /> Qt::ItemFlags flags(const QModelIndex &amp;index) const;<br /> bool setData(const QModelIndex &amp;index, const QVariant &amp;value,<br /> int role = Qt::EditRole);<br /> bool insertRows(int position, int rows, const QModelIndex &amp;parent = QModelIndex());<br /> bool insertColumns(int position, int columns, const QModelIndex &amp;parent = QModelIndex());<br /> bool removeRows(int position, int rows, const QModelIndex &amp;parent = QModelIndex());<br /> bool removeColumns(int position, int columns, const QModelIndex &amp;parent = QModelIndex());<br /> private:<br /> QList&lt;QStringList&gt; rowList;<br /> };<br /> #endif<br /> <br /> <br /> <br /> /*<br /> model.cpp<br /> Provides a table model for use in various examples.<br /> */<br /> #include &lt;QtGui&gt;<br /> #include &quot;model.h&quot;<br /> /*!<br /> Constructs a table model with at least one row and one column.<br /> */<br /> TableModel::TableModel(int rows, int columns, QObject *parent)<br /> : QAbstractTableModel(parent)<br /> {<br /> QStringList newList;<br /> for (int column = 0; column &lt; qMax(1, columns); ++column) {<br /> newList.append(&quot;&quot;);<br /> }<br /> for (int row = 0; row &lt; qMax(1, rows); ++row) {<br /> rowList.append(newList);<br /> }<br /> }<br /> <br /> /*!<br /> Returns the number of items in the row list as the number of rows<br /> in the model.<br /> */<br /> int TableModel::rowCount(const QModelIndex &amp;/*parent*/) const<br /> {<br /> return rowList.size();<br /> }<br /> /*!<br /> Returns the number of items in the first list item as the number of<br /> columns in the model. All rows should have the same number of columns.<br /> */<br /> int TableModel::columnCount(const QModelIndex &amp;/*parent*/) const<br /> {<br /> return rowList[0].size();<br /> }<br /> /*!<br /> Returns an appropriate value for the requested data.<br /> If the view requests an invalid index, an invalid variant is returned.<br /> Any valid index that corresponds to a string in the list causes that<br /> string to be returned for the display role; otherwise an invalid variant<br /> is returned.<br /> */<br /> QVariant TableModel::data(const QModelIndex &amp;index, int role) const<br /> {<br /> if (!index.isValid())<br /> return QVariant();<br /> if (role == Qt::DisplayRole)<br /> return rowList[index.row()][index.column()];<br /> else<br /> return QVariant();<br /> }<br /> /*!<br /> Returns the appropriate header string depending on the orientation of<br /> the header and the section. If anything other than the display role is<br /> requested, we return an invalid variant.<br /> */<br /> QVariant TableModel::headerData(int section, Qt::Orientation orientation,<br /> int role) const<br /> {<br /> if (role != Qt::DisplayRole)<br /> return QVariant();<br /> if (orientation == Qt::Horizontal)<br /> return QString(&quot;Column %1&quot;).arg(section);<br /> else<br /> return QString(&quot;Row %1&quot;).arg(section);<br /> }<br /> /*!<br /> Returns an appropriate value for the item&quot;s flags. Valid items are<br /> enabled, selectable, and editable.<br /> */<br /> Qt::ItemFlags TableModel::flags(const QModelIndex &amp;index) const<br /> {<br /> if (!index.isValid())<br /> return Qt::ItemIsEnabled;<br /> return Qt::ItemIsEnabled | Qt::ItemIsSelectable;<br /> }<br /> /*!<br /> Changes an item in the model, but only if the following conditions<br /> are met:<br /> * The index supplied is valid.<br /> * The role associated with editing text is specified.<br /> The dataChanged() signal is emitted if the item is changed.<br /> */<br /> bool TableModel::setData(const QModelIndex &amp;index,<br /> const QVariant &amp;value, int role)<br /> {<br /> if (!index.isValid() || role != Qt::EditRole)<br /> return false;<br /> rowList[index.row()][index.column()] = value.toString();<br /> emit dataChanged(index, index);<br /> return true;<br /> }<br /> /*!<br /> Inserts a number of rows into the model at the specified position.<br /> */<br /> bool TableModel::insertRows(int position, int rows, const QModelIndex &amp;parent)<br /> {<br /> int columns = columnCount();<br /> beginInsertRows(parent, position, position + rows - 1);<br /> for (int row = 0; row &lt; rows; ++row) {<br /> QStringList items;<br /> for (int column = 0; column &lt; columns; ++column)<br /> items.append(&quot;&quot;);<br /> rowList.insert(position, items);<br /> }<br /> endInsertRows();<br /> return true;<br /> }<br /> /*!<br /> Inserts a number of columns into the model at the specified position.<br /> Each entry in the list is extended in turn with the required number of<br /> empty strings.<br /> */<br /> bool TableModel::insertColumns(int position, int columns,<br /> const QModelIndex &amp;parent)<br /> {<br /> int rows = rowCount();<br /> beginInsertColumns(parent, position, position + columns - 1);<br /> for (int row = 0; row &lt; rows; ++row) {<br /> for (int column = position; column &lt; columns; ++column) {<br /> rowList[row].insert(position, &quot;&quot;);<br /> }<br /> }<br /> endInsertColumns();<br /> return true;<br /> }<br /> /*!<br /> Removes a number of rows from the model at the specified position.<br /> */<br /> bool TableModel::removeRows(int position, int rows, const QModelIndex &amp;parent)<br /> {<br /> beginRemoveRows(parent, position, position + rows - 1);<br /> for (int row = 0; row &lt; rows; ++row) {<br /> rowList.removeAt(position);<br /> }<br /> endRemoveRows();<br /> return true;<br /> }<br /> /*!<br /> Removes a number of columns from the model at the specified position.<br /> Each row is shortened by the number of columns specified.<br /> */<br /> bool TableModel::removeColumns(int position, int columns,<br /> const QModelIndex &amp;parent)<br /> {<br /> int rows = rowCount();<br /> beginRemoveColumns(parent, position, position + columns - 1);<br /> for (int row = 0; row &lt; rows; ++row) {<br /> for (int column = 0; column &lt; columns; ++column) {<br /> rowList[row].removeAt(position);<br /> }<br /> }<br /> endRemoveColumns();<br /> return true;<br /> }<br /> #ifndef WINDOW_H<br /> #define WINDOW_H<br /> #include &lt;QItemSelection&gt;<br /> #include &lt;QMainWindow&gt;<br /> #include &lt;QAbstractItemModel&gt;<br /> #include &lt;QWidget&gt;<br /> #include &lt;QTableView&gt;<br /> class MainWindow : public QMainWindow<br /> {<br /> Q_OBJECT<br /> public:<br /> MainWindow(QWidget *parent = 0);<br /> private slots:<br /> void fillSelection();<br /> void clearSelection();<br /> void selectAll();<br /> private:<br /> QAbstractItemModel *model;<br /> QItemSelectionModel *selectionModel;<br /> QTableView *table;<br /> };<br /> #endif<br /> <br /> <br /> /*<br /> window.cpp<br /> A minimal subclass of QTableView with slots to allow the selection model<br /> to be monitored.<br /> */<br /> #include &lt;QAbstractItemModel&gt;<br /> #include &lt;QItemSelection&gt;<br /> #include &lt;QItemSelectionModel&gt;<br /> #include &lt;QMenu&gt;<br /> #include &lt;QMenuBar&gt;<br /> #include &lt;QStatusBar&gt;<br /> #include &quot;model.h&quot;<br /> #include &quot;window.h&quot;<br /> MainWindow::MainWindow(QWidget *parent)<br /> : QMainWindow(parent)<br /> {<br /> setWindowTitle(&quot;Selected Items in a Table Model&quot;);<br /> model = new TableModel(8, 4, this);<br /> table = new QTableView(this);<br /> table-&gt;setModel(model);<br /> QMenu *actionMenu = new QMenu(tr(&quot;&amp;Actions&quot;), this);<br /> QAction *fillAction = actionMenu-&gt;addAction(tr(&quot;&amp;Fill Selection&quot;));<br /> QAction *clearAction = actionMenu-&gt;addAction(tr(&quot;&amp;Clear Selection&quot;));<br /> QAction *selectAllAction = actionMenu-&gt;addAction(tr(&quot;&amp;Select All&quot;));<br /> menuBar()-&gt;addMenu(actionMenu);<br /> connect(fillAction, SIGNAL(triggered()), this, SLOT(fillSelection()));<br /> connect(clearAction, SIGNAL(triggered()), this, SLOT(clearSelection()));<br /> connect(selectAllAction, SIGNAL(triggered()), this, SLOT(selectAll()));<br /> selectionModel = table-&gt;selectionModel();<br /> statusBar();<br /> setCentralWidget(table);<br /> }<br /> void MainWindow::fillSelection()<br /> {<br /> QModelIndexList indexes = selectionModel-&gt;selectedIndexes();<br /> QModelIndex index;<br /> foreach(index, indexes) {<br /> QString text = QString(&quot;(%1,%2)&quot;).arg(index.row()).arg(index.column());<br /> model-&gt;setData(index, text);<br /> }<br /> }<br /> void MainWindow::clearSelection()<br /> {<br /> QModelIndexList indexes = selectionModel-&gt;selectedIndexes();<br /> QModelIndex index;<br /> foreach(index, indexes)<br /> model-&gt;setData(index, &quot;&quot;);<br /> }<br /> void MainWindow::selectAll()<br /> {<br /> QModelIndex parent = QModelIndex();<br /> <br /> QModelIndex topLeft = model-&gt;index(0, 0, parent);<br /> QModelIndex bottomRight = model-&gt;index(model-&gt;rowCount(parent)-1,<br /> model-&gt;columnCount(parent)-1, parent);<br /> <br /> QItemSelection selection(topLeft, bottomRight);<br /> selectionModel-&gt;select(selection, QItemSelectionModel::Select);<br /> }<br /> <br /> <br /> /*<br /> main.cpp<br /> A simple example that shows how selections can be used directly on a model.<br /> It shows the result of some selections made using a table view.<br /> */<br /> #include &lt;QApplication&gt;<br /> #include &quot;window.h&quot;<br /> int main(int argc, char *argv[])<br /> {<br /> QApplication app(argc, argv);<br /> QMainWindow *window = new MainWindow;<br /> window-&gt;show();<br /> window-&gt;resize(640, 480);<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