src/gui/kernel/qpalette.cpp
changeset 37 758a864f9613
parent 30 5dc02b23752f
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
   866 /*!
   866 /*!
   867     \fn bool QPalette::operator!=(const QPalette &p) const
   867     \fn bool QPalette::operator!=(const QPalette &p) const
   868 
   868 
   869     Returns true (slowly) if this palette is different from \a p;
   869     Returns true (slowly) if this palette is different from \a p;
   870     otherwise returns false (usually quickly).
   870     otherwise returns false (usually quickly).
       
   871 
       
   872     \note The current ColorGroup is not taken into account when
       
   873     comparing palettes
       
   874 
       
   875     \sa operator==()
   871 */
   876 */
   872 
   877 
   873 /*!
   878 /*!
   874     Returns true (usually quickly) if this palette is equal to \a p;
   879     Returns true (usually quickly) if this palette is equal to \a p;
   875     otherwise returns false (slowly).
   880     otherwise returns false (slowly).
       
   881 
       
   882     \note The current ColorGroup is not taken into account when
       
   883     comparing palettes
       
   884 
       
   885     \sa operator!=()
   876 */
   886 */
   877 bool QPalette::operator==(const QPalette &p) const
   887 bool QPalette::operator==(const QPalette &p) const
   878 {
   888 {
   879     if (isCopyOf(p))
   889     if (isCopyOf(p))
   880         return true;
   890         return true;