diff options
Diffstat (limited to 'src/kernel/ntqpalette.h')
-rw-r--r-- | src/kernel/ntqpalette.h | 8 |
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 |