summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqpalette.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-18 17:22:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-18 17:22:13 +0900
commitfb6884ead2891c09ee54fca2d753fb8d34359e28 (patch)
tree64113a31b6adecba129f83ee44f365e303d086bc /doc/html/ntqpalette.html
parent2e817b4bc176ec571d5378e0f1bd85fe95364c6f (diff)
downloadtqt3-fb6884ead2891c09ee54fca2d753fb8d34359e28.tar.gz
tqt3-fb6884ead2891c09ee54fca2d753fb8d34359e28.zip
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqpalette.html')
-rw-r--r--doc/html/ntqpalette.html23
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&nbsp;TQPalette&nbsp;&amp;&nbsp;p )</li>
<li class=fn><a href="#~TQPalette"><b>~TQPalette</b></a> ()</li>
<li class=fn>TQPalette &amp; <a href="#operator-eq"><b>operator=</b></a> ( const&nbsp;TQPalette&nbsp;&amp;&nbsp;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 &amp; <a href="#color"><b>color</b></a> ( ColorGroup&nbsp;gr, TQColorGroup::ColorRole&nbsp;r ) const</li>
<li class=fn>const TQBrush &amp; <a href="#brush"><b>brush</b></a> ( ColorGroup&nbsp;gr, TQColorGroup::ColorRole&nbsp;r ) const</li>
<li class=fn>void <a href="#setColor"><b>setColor</b></a> ( ColorGroup&nbsp;gr, TQColorGroup::ColorRole&nbsp;r, const&nbsp;TQColor&nbsp;&amp;&nbsp;c )</li>
@@ -55,11 +55,9 @@ body { background: #ffffff; color: black; }
<li class=fn>const TQColorGroup &amp; <a href="#active"><b>active</b></a> () const</li>
<li class=fn>const TQColorGroup &amp; <a href="#disabled"><b>disabled</b></a> () const</li>
<li class=fn>const TQColorGroup &amp; <a href="#inactive"><b>inactive</b></a> () const</li>
-<li class=fn>const TQColorGroup &amp; normal () const &nbsp;<em>(obsolete)</em></li>
<li class=fn>void <a href="#setActive"><b>setActive</b></a> ( const&nbsp;TQColorGroup&nbsp;&amp;&nbsp;g )</li>
<li class=fn>void <a href="#setDisabled"><b>setDisabled</b></a> ( const&nbsp;TQColorGroup&nbsp;&amp;&nbsp;g )</li>
<li class=fn>void <a href="#setInactive"><b>setInactive</b></a> ( const&nbsp;TQColorGroup&nbsp;&amp;&nbsp;g )</li>
-<li class=fn>void setNormal ( const&nbsp;TQColorGroup&nbsp;&amp;&nbsp;cg ) &nbsp;<em>(obsolete)</em></li>
<li class=fn>bool <a href="#operator-eq-eq"><b>operator==</b></a> ( const&nbsp;TQPalette&nbsp;&amp;&nbsp;p ) const</li>
<li class=fn>bool <a href="#operator!-eq"><b>operator!=</b></a> ( const&nbsp;TQPalette&nbsp;&amp;&nbsp;p ) const</li>
<li class=fn>bool <a href="#isCopyOf"><b>isCopyOf</b></a> ( const&nbsp;TQPalette&nbsp;&amp;&nbsp;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&nbsp;<a href="qcolorgroup.html">TQColorGroup</a>&nbsp;&amp; <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&nbsp;<a href="ntqpalette.html">TQPalette</a>&nbsp;&amp;&nbsp;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&nbsp;<a href="qcolorgroup.html">TQColorGroup</a>&nbsp;&amp;&nbsp;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>&nbsp;&amp; <a name="operator-lt-lt"></a>operator&lt;&lt; ( <a href="ntqdatastream.html">TQDataStream</a>&nbsp;&amp;&nbsp;s, const&nbsp;<a href="ntqpalette.html">TQPalette</a>&nbsp;&amp;&nbsp;p )
</h3>