<class name="QStyleHintReturn" doc="/**
&lt;p&gt;The &lt;a href=&quot;QStyleHintReturn.html#QStyleHintReturn(int, int)&quot;&gt;&lt;tt&gt;QStyleHintReturn&lt;/tt&gt;&lt;/a&gt; class provides style hints that return more than basic data types.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QStyleHintReturn.html#QStyleHintReturn(int, int)&quot;&gt;&lt;tt&gt;QStyleHintReturn&lt;/tt&gt;&lt;/a&gt; and its subclasses are used to pass information from a style back to the querying widget. This is most useful when the return value from QStyle::styleHint() does not provide enough detail; for example, when a mask is to be returned.&lt;/p&gt;
 */">
    <method name="public QStyleHintReturn(int version, int type)" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QStyleHintReturn.html#QStyleHintReturn(int, int)&quot;&gt;&lt;tt&gt;QStyleHintReturn&lt;/tt&gt;&lt;/a&gt; with version &lt;tt&gt;version&lt;/tt&gt; and type &lt;tt&gt;type&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The version has no special meaning for &lt;a href=&quot;QStyleHintReturn.html#QStyleHintReturn(int, int)&quot;&gt;&lt;tt&gt;QStyleHintReturn&lt;/tt&gt;&lt;/a&gt;; it can be used by subclasses to distinguish between different version of the same hint type.&lt;/p&gt;

@see &lt;tt&gt;QStyleOption::version&lt;/tt&gt;
@see &lt;tt&gt;QStyleOption::type&lt;/tt&gt; */"/>
    <method name="public QStyleHintReturn(int version)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QStyleHintReturn.html#QStyleHintReturn(int, int)&quot;&gt;&lt;tt&gt;QStyleHintReturn&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;version&lt;/tt&gt;, SH_Default). */"/>
    <method name="public QStyleHintReturn()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QStyleHintReturn.html#QStyleHintReturn(int, int)&quot;&gt;&lt;tt&gt;QStyleHintReturn&lt;/tt&gt;&lt;/a&gt;(QStyleOption::Version, SH_Default). */"/>
    <enum name="HintReturnType">
        <enum-value name="SH_Default" doc="/**
&lt;p&gt;&lt;a href=&quot;QStyleHintReturn.html#QStyleHintReturn(int, int)&quot;&gt;&lt;tt&gt;QStyleHintReturn&lt;/tt&gt;&lt;/a&gt;&lt;/p&gt;
 */"/>
        <enum-value name="SH_Mask" doc="/**
&lt;p&gt;&lt;tt&gt;QStyle::SH_RubberBand_Mask&lt;/tt&gt; QStyle::SH_FocusFrame_Mask&lt;/p&gt;
 */"/>
        <enum-value name="SH_Variant" doc="/**
&lt;p&gt;&lt;tt&gt;QStyle::SH_TextControl_FocusIndicatorTextCharFormat&lt;/tt&gt;&lt;/p&gt;
 */"/>
</enum>
    <enum name="StyleOptionVersion" doc="/**
&lt;p&gt;This enum is used to hold information about the version of the style option, and is defined for each &lt;a href=&quot;QStyleHintReturn.html#QStyleHintReturn(int, int)&quot;&gt;&lt;tt&gt;QStyleHintReturn&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/p&gt;
&lt;p&gt;The version is used by &lt;a href=&quot;QStyleHintReturn.html#QStyleHintReturn(int, int)&quot;&gt;&lt;tt&gt;QStyleHintReturn&lt;/tt&gt;&lt;/a&gt; subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally don't need to check it.&lt;/p&gt;

@see &lt;a href=&quot;QStyleHintReturn.html#StyleOptionType-enum&quot;&gt;&lt;tt&gt;StyleOptionType&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Version" doc="/**
&lt;p&gt;1&lt;/p&gt;
 */"/>
</enum>
    <enum name="StyleOptionType" doc="/**
&lt;p&gt;This enum is used to hold information about the type of the style option, and is defined for each &lt;a href=&quot;QStyleHintReturn.html#QStyleHintReturn(int, int)&quot;&gt;&lt;tt&gt;QStyleHintReturn&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/p&gt;
&lt;p&gt;The type is used internally by &lt;a href=&quot;QStyleHintReturn.html#QStyleHintReturn(int, int)&quot;&gt;&lt;tt&gt;QStyleHintReturn&lt;/tt&gt;&lt;/a&gt;, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own &lt;a href=&quot;QStyleHintReturn.html#QStyleHintReturn(int, int)&quot;&gt;&lt;tt&gt;QStyleHintReturn&lt;/tt&gt;&lt;/a&gt; subclass and your own styles.&lt;/p&gt;

@see &lt;a href=&quot;QStyleHintReturn.html#StyleOptionVersion-enum&quot;&gt;&lt;tt&gt;StyleOptionVersion&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Type" doc="/**
&lt;p&gt;The type of style option provided (&lt;a href=&quot;QStyleHintReturn.html#HintReturnType-enum&quot;&gt;&lt;tt&gt;SH_Default&lt;/tt&gt;&lt;/a&gt; for this class).&lt;/p&gt;
 */"/>
</enum>
    <method name="public final int version()" doc="/**
&lt;p&gt;Returns the version of the style hint return container.&lt;/p&gt;
&lt;p&gt;This value can be used by subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast&amp;lt;T&amp;gt;(), you normally don't need to check it.&lt;/p&gt;

@see &lt;a href=&quot;QStyleHintReturn.html#setVersion(int)&quot;&gt;&lt;tt&gt;setVersion&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setVersion(int version)" doc="/**
&lt;p&gt;Sets the version of the style hint return container to &lt;tt&gt;version&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This value can be used by subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast&amp;lt;T&amp;gt;(), you normally don't need to check it.&lt;/p&gt;

@see &lt;a href=&quot;QStyleHintReturn.html#version()&quot;&gt;&lt;tt&gt;version&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final int type()" doc="/**
&lt;p&gt;Returns the type of the style hint container.&lt;/p&gt;

@see &lt;a href=&quot;QStyleHintReturn.html#setType(int)&quot;&gt;&lt;tt&gt;setType&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QStyleHintReturn.html#HintReturnType-enum&quot;&gt;&lt;tt&gt;HintReturnType&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setType(int type)" doc="/**
&lt;p&gt;Sets the type of the style hint container to &lt;tt&gt;type&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QStyleHintReturn.html#type()&quot;&gt;&lt;tt&gt;type&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QStyleHintReturn.html#HintReturnType-enum&quot;&gt;&lt;tt&gt;HintReturnType&lt;/tt&gt;&lt;/a&gt; */"/>
</class>
