summaryrefslogtreecommitdiffstats
path: root/doc/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
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')
-rw-r--r--doc/html/ntqpalette.html23
-rw-r--r--doc/html/porting.html3
-rw-r--r--doc/html/qpalette-h.html8
-rw-r--r--doc/html/qpalette-members.html2
4 files changed, 5 insertions, 31 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>
diff --git a/doc/html/porting.html b/doc/html/porting.html
index 5629a1983..ee8cb52b4 100644
--- a/doc/html/porting.html
+++ b/doc/html/porting.html
@@ -257,6 +257,8 @@ have been changed:
<li> TQMenuBar::setWindowsAltMode()
<li> TQObject::initMetaObject()
<li> TQPainter::drawQuadBezier()
+<li> TQPalette::normal(). Use TQPalette::active instead.
+<li> TQPalette::setNormal(). Use TQPalette::setActive instead.
<li> TQPointArray::quadBezier()
<li> TQRegExp::find()
<li> TQSpinBox::downButton()
@@ -355,7 +357,6 @@ new code.
<li> <a href="ntqmessagebox.html#message">TQMessageBox::message</a>( const <a href="ntqstring.html">TQString</a> &amp; caption, const TQString &amp; text, const TQString &amp; buttonText = <a href="ntqstring.html#TQString-null">TQString::null</a>, <a href="ntqwidget.html">TQWidget</a> *parent = 0, const char *= 0 )
<li> <a href="ntqmessagebox.html#query">TQMessageBox::query</a>( const TQString &amp; caption, const TQString &amp; text, const TQString &amp; yesButtonText = TQString::null, const TQString &amp; noButtonText = TQString::null, TQWidget *parent = 0, const char *= 0 )
<li> <a href="ntqmessagebox.html#standardIcon">TQMessageBox::standardIcon</a>( Icon icon, GUIStyle style )
-<li> <a href="ntqpalette.html#normal">TQPalette::normal</a>()
<li> <a href="ntqregexp.html#match">TQRegExp::match</a>( const TQString &amp; str, int index = 0, int *len = 0, bool indexIsStart = TRUE ) const
<li> <a href="ntqscrollview.html#childIsVisible">TQScrollView::childIsVisible</a>( TQWidget *child )
<li> <a href="ntqscrollview.html#showChild">TQScrollView::showChild</a>( TQWidget *child, bool show = TRUE )
diff --git a/doc/html/qpalette-h.html b/doc/html/qpalette-h.html
index 6d36bf14a..5ae3ef1d1 100644
--- a/doc/html/qpalette-h.html
+++ b/doc/html/qpalette-h.html
@@ -158,7 +158,7 @@ public:
~TQPalette();
TQPalette &amp;operator=( const TQPalette &amp; );
- enum ColorGroup { Disabled, Active, Inactive, NColorGroups, Normal=Active };
+ enum ColorGroup { Disabled, Active, Inactive, NColorGroups };
const TQColor &amp;color( ColorGroup, TQColorGroup::ColorRole ) const;
const TQBrush &amp;brush( ColorGroup, TQColorGroup::ColorRole ) const;
@@ -173,16 +173,10 @@ public:
const TQColorGroup &amp;active() const { return data-&gt;active; }
const TQColorGroup &amp;disabled() const { return data-&gt;disabled; }
const TQColorGroup &amp;inactive() const { return data-&gt;inactive; }
-#ifndef TQT_NO_COMPAT
- const TQColorGroup &amp;normal() const { return active(); }
-#endif
void setActive( const TQColorGroup &amp; );
void setDisabled( const TQColorGroup &amp; );
void setInactive( const TQColorGroup &amp; );
-#ifndef TQT_NO_COMPAT
- void setNormal( const TQColorGroup &amp; cg ) { setActive(cg); }
-#endif
bool operator==( const TQPalette &amp;p ) const;
bool operator!=( const TQPalette &amp;p ) const
diff --git a/doc/html/qpalette-members.html b/doc/html/qpalette-members.html
index d4fe39b03..59e13d869 100644
--- a/doc/html/qpalette-members.html
+++ b/doc/html/qpalette-members.html
@@ -44,7 +44,6 @@ body { background: #ffffff; color: black; }
<li><a href="ntqpalette.html#disabled">disabled</a>()
<li><a href="ntqpalette.html#inactive">inactive</a>()
<li><a href="ntqpalette.html#isCopyOf">isCopyOf</a>()
-<li><a href="ntqpalette.html#normal">normal</a>()
<li><a href="ntqpalette.html#operator!-eq">operator!=</a>()
<li><a href="ntqpalette.html#operator-eq">operator=</a>()
<li><a href="ntqpalette.html#operator-eq-eq">operator==</a>()
@@ -54,7 +53,6 @@ body { background: #ffffff; color: black; }
<li><a href="ntqpalette.html#setColor">setColor</a>()
<li><a href="ntqpalette.html#setDisabled">setDisabled</a>()
<li><a href="ntqpalette.html#setInactive">setInactive</a>()
-<li><a href="ntqpalette.html#setNormal">setNormal</a>()
</ul>
<!-- eof -->
<p><address><hr><div align=center>