summaryrefslogtreecommitdiffstats
path: root/src/kernel/qpalette.cpp
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 /src/kernel/qpalette.cpp
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 'src/kernel/qpalette.cpp')
-rw-r--r--src/kernel/qpalette.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/kernel/qpalette.cpp b/src/kernel/qpalette.cpp
index 31f45c057..b1ed971f9 100644
--- a/src/kernel/qpalette.cpp
+++ b/src/kernel/qpalette.cpp
@@ -548,9 +548,7 @@ bool TQColorGroup::operator==( const TQColorGroup &g ) const
slightly different.
There are setActive(), setInactive(), and setDisabled() functions
- to modify the palette. (TQt also supports a normal() group; this is
- an obsolete alias for active(), supported for backwards
- compatibility.)
+ to modify the palette.
Colors and brushes can be set for particular roles in any of a
palette's color groups with setColor() and setBrush().
@@ -568,30 +566,8 @@ bool TQColorGroup::operator==( const TQColorGroup &g ) const
\value Active
\value Inactive
\value NColorGroups
- \value Normal synonym for Active
*/
-/*!
- \obsolete
-
- \fn const TQColorGroup &TQPalette::normal() const
-
- Returns the active color group. Use active() instead.
-
- \sa setActive() active()
-*/
-
-/*!
- \obsolete
-
- \fn void TQPalette::setNormal( const TQColorGroup & cg )
-
- Sets the active color group to \a cg. Use setActive() instead.
-
- \sa setActive() active()
-*/
-
-
static int palette_count = 1;
/*!