summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqpalette.h
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/ntqpalette.h
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/ntqpalette.h')
-rw-r--r--src/kernel/ntqpalette.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/kernel/ntqpalette.h b/src/kernel/ntqpalette.h
index 274228c4c..7b0d6f0aa 100644
--- a/src/kernel/ntqpalette.h
+++ b/src/kernel/ntqpalette.h
@@ -122,7 +122,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;
@@ -137,16 +137,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