Obsolete Members for QTimeZone | Qt Core | Qt 6.11.0
Description: QTimeZone identifies how a time representation relates to UTC.

- Qt 6.11
- Qt Core
- C++ Classes
- QTimeZone
- Qt 6.11.0 Reference Documentation

# Obsolete Members for QTimeZone

The following members of class QTimeZone are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

## Public Functions

`(deprecated in 6.6)` QLocale::Country | country() const

## Member Function Documentation

### `[deprecated in 6.6]` QLocale::Country QTimeZone::country() const

This function is deprecated since 6.6. We strongly advise against using it in new code.

Use territory() instead.

Returns the territory for the time zone.

This method is only available when feature `timezone` is enabled.