From e5bc777e5051a5b24b5e241072042631bd69fc22 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Fri, 23 Oct 2020 08:31:30 +0200 Subject: Fix documentation warnings Declare hidden friends like qdoc expects them, and other signature fixes Document function parameters Remove documentation for removed APIs. Change-Id: I44c1caeed0d40be04612129d074acc30b75f5259 Reviewed-by: Allan Sandfeld Jensen --- src/gui/kernel/qpalette.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/gui/kernel/qpalette.cpp') diff --git a/src/gui/kernel/qpalette.cpp b/src/gui/kernel/qpalette.cpp index da418c7eed..f5d010aa26 100644 --- a/src/gui/kernel/qpalette.cpp +++ b/src/gui/kernel/qpalette.cpp @@ -157,13 +157,6 @@ static void qt_palette_from_color(QPalette &pal, const QColor &button) \sa brush(), setColor(), ColorRole */ -/*! - \fn const QBrush & QPalette::foreground() const - \obsolete - - Use windowText() instead. -*/ - /*! \fn const QBrush & QPalette::windowText() const @@ -279,13 +272,6 @@ static void qt_palette_from_color(QPalette &pal, const QColor &button) \sa ColorRole, brush() */ -/*! - \fn const QBrush & QPalette::background() const - \obsolete - - Use window() instead. -*/ - /*! \fn const QBrush & QPalette::window() const @@ -451,12 +437,8 @@ static void qt_palette_from_color(QPalette &pal, const QColor &button) \value Window A general background color. - \value Background This value is obsolete. Use Window instead. - \value WindowText A general foreground color. - \value Foreground This value is obsolete. Use WindowText instead. - \value Base Used mostly as the background color for text entry widgets, but can also be used for other painting - such as the background of combobox drop down lists and toolbar handles. -- cgit v1.2.3