diff options
author | Michele Calgaro <[email protected]> | 2023-07-18 17:22:13 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-18 17:22:13 +0900 |
commit | fb6884ead2891c09ee54fca2d753fb8d34359e28 (patch) | |
tree | 64113a31b6adecba129f83ee44f365e303d086bc /doc/html/ntqpalette.html | |
parent | 2e817b4bc176ec571d5378e0f1bd85fe95364c6f (diff) | |
download | tqt3-fb6884ead2891c09ee54fca2d753fb8d34359e28.tar.gz tqt3-fb6884ead2891c09ee54fca2d753fb8d34359e28.zip |
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/ntqpalette.html')
-rw-r--r-- | doc/html/ntqpalette.html | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/doc/html/ntqpalette.html b/doc/html/ntqpalette.html index b79a13c5e..dfc7d6ff0 100644 --- a/doc/html/ntqpalette.html +++ b/doc/html/ntqpalette.html @@ -44,7 +44,7 @@ body { background: #ffffff; color: black; } <li class=fn><a href="#TQPalette-5"><b>TQPalette</b></a> ( const TQPalette & p )</li> <li class=fn><a href="#~TQPalette"><b>~TQPalette</b></a> ()</li> <li class=fn>TQPalette & <a href="#operator-eq"><b>operator=</b></a> ( const TQPalette & p )</li> -<li class=fn>enum <a href="#ColorGroup-enum"><b>ColorGroup</b></a> { Disabled, Active, Inactive, NColorGroups, Normal = Active }</li> +<li class=fn>enum <a href="#ColorGroup-enum"><b>ColorGroup</b></a> { Disabled, Active, Inactive, NColorGroups }</li> <li class=fn>const TQColor & <a href="#color"><b>color</b></a> ( ColorGroup gr, TQColorGroup::ColorRole r ) const</li> <li class=fn>const TQBrush & <a href="#brush"><b>brush</b></a> ( ColorGroup gr, TQColorGroup::ColorRole r ) const</li> <li class=fn>void <a href="#setColor"><b>setColor</b></a> ( ColorGroup gr, TQColorGroup::ColorRole r, const TQColor & c )</li> @@ -55,11 +55,9 @@ body { background: #ffffff; color: black; } <li class=fn>const TQColorGroup & <a href="#active"><b>active</b></a> () const</li> <li class=fn>const TQColorGroup & <a href="#disabled"><b>disabled</b></a> () const</li> <li class=fn>const TQColorGroup & <a href="#inactive"><b>inactive</b></a> () const</li> -<li class=fn>const TQColorGroup & normal () const <em>(obsolete)</em></li> <li class=fn>void <a href="#setActive"><b>setActive</b></a> ( const TQColorGroup & g )</li> <li class=fn>void <a href="#setDisabled"><b>setDisabled</b></a> ( const TQColorGroup & g )</li> <li class=fn>void <a href="#setInactive"><b>setInactive</b></a> ( const TQColorGroup & g )</li> -<li class=fn>void setNormal ( const TQColorGroup & cg ) <em>(obsolete)</em></li> <li class=fn>bool <a href="#operator-eq-eq"><b>operator==</b></a> ( const TQPalette & p ) const</li> <li class=fn>bool <a href="#operator!-eq"><b>operator!=</b></a> ( const TQPalette & p ) const</li> <li class=fn>bool <a href="#isCopyOf"><b>isCopyOf</b></a> ( const TQPalette & p )</li> @@ -98,9 +96,7 @@ disabled for some reason. 2000 style and Macintosh Platinum style, the two styles look slightly different. <p> There are <a href="#setActive">setActive</a>(), <a href="#setInactive">setInactive</a>(), and <a href="#setDisabled">setDisabled</a>() functions -to modify the palette. (TQt also supports a <a href="#normal">normal</a>() group; this is -an obsolete alias for active(), supported for backwards -compatibility.) +to modify the palette. <p> Colors and brushes can be set for particular roles in any of a palette's color groups with <a href="#setColor">setColor</a>() and <a href="#setBrush">setBrush</a>(). <p> You can copy a palette using the copy constructor and test to see @@ -115,7 +111,6 @@ if two palettes are <em>identical</em> using <a href="#isCopyOf">isCopyOf</a>(). <li><tt>TQPalette::Active</tt> <li><tt>TQPalette::Inactive</tt> <li><tt>TQPalette::NColorGroups</tt> -<li><tt>TQPalette::Normal</tt> - synonym for Active </ul> <hr><h2>Member Function Documentation</h2> <h3 class=fn><a name="TQPalette"></a>TQPalette::TQPalette () @@ -195,13 +190,6 @@ was subsequently modified; otherwise returns FALSE. This is much stricter than equality. <p> <p>See also <a href="#operator-eq">operator=</a>() and <a href="#operator-eq-eq">operator==</a>(). -<h3 class=fn>const <a href="qcolorgroup.html">TQColorGroup</a> & <a name="normal"></a>TQPalette::normal () const -</h3> -<b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> -<p> Returns the active color group. Use <a href="#active">active</a>() instead. -<p> <p>See also <a href="#setActive">setActive</a>() and <a href="#active">active</a>(). - <h3 class=fn>bool <a name="operator!-eq"></a>TQPalette::operator!= ( const <a href="ntqpalette.html">TQPalette</a> & p ) const </h3> @@ -273,13 +261,6 @@ Sets the <a href="#ColorGroup-enum">Disabled</a> color group to <em>g</em>. Sets the <a href="#ColorGroup-enum">Inactive</a> color group to <em>g</em>. <p> <p>See also <a href="#active">active</a>(), <a href="#setDisabled">setDisabled</a>(), <a href="#setActive">setActive</a>(), and <a href="qcolorgroup.html">TQColorGroup</a>. -<h3 class=fn>void <a name="setNormal"></a>TQPalette::setNormal ( const <a href="qcolorgroup.html">TQColorGroup</a> & cg ) -</h3> -<b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -<p> -<p> Sets the active color group to <em>cg</em>. Use <a href="#setActive">setActive</a>() instead. -<p> <p>See also <a href="#setActive">setActive</a>() and <a href="#active">active</a>(). - <hr><h2>Related Functions</h2> <h3 class=fn><a href="ntqdatastream.html">TQDataStream</a> & <a name="operator-lt-lt"></a>operator<< ( <a href="ntqdatastream.html">TQDataStream</a> & s, const <a href="ntqpalette.html">TQPalette</a> & p ) </h3> |