diff options
Diffstat (limited to 'doc/html')
-rw-r--r-- | doc/html/ntqpalette.html | 23 | ||||
-rw-r--r-- | doc/html/porting.html | 3 | ||||
-rw-r--r-- | doc/html/qpalette-h.html | 8 | ||||
-rw-r--r-- | doc/html/qpalette-members.html | 2 |
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 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> 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> & caption, const TQString & text, const TQString & 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 & caption, const TQString & text, const TQString & yesButtonText = TQString::null, const TQString & 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 & 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 &operator=( const TQPalette & ); - enum ColorGroup { Disabled, Active, Inactive, NColorGroups, Normal=Active }; + enum ColorGroup { Disabled, Active, Inactive, NColorGroups }; const TQColor &color( ColorGroup, TQColorGroup::ColorRole ) const; const TQBrush &brush( ColorGroup, TQColorGroup::ColorRole ) const; @@ -173,16 +173,10 @@ public: const TQColorGroup &active() const { return data->active; } const TQColorGroup &disabled() const { return data->disabled; } const TQColorGroup &inactive() const { return data->inactive; } -#ifndef TQT_NO_COMPAT - const TQColorGroup &normal() const { return active(); } -#endif void setActive( const TQColorGroup & ); void setDisabled( const TQColorGroup & ); void setInactive( const TQColorGroup & ); -#ifndef TQT_NO_COMPAT - void setNormal( const TQColorGroup & cg ) { setActive(cg); } -#endif bool operator==( const TQPalette &p ) const; bool operator!=( const TQPalette &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> |