diff options
-rwxr-xr-x | examples/desktop.py | 2 | ||||
-rw-r--r-- | sip/tqt/tqpalette.sip | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/examples/desktop.py b/examples/desktop.py index f695835..f3744d8 100755 --- a/examples/desktop.py +++ b/examples/desktop.py @@ -164,7 +164,7 @@ def desktopWidget(s='Trolltech'): def desktopText(s='Trolltech'): border = 20 - c1 = tqApp.palette().normal().background() + c1 = tqApp.palette().active().background() c2 = c1.light(104) c3 = c1.dark(106) diff --git a/sip/tqt/tqpalette.sip b/sip/tqt/tqpalette.sip index 6e4bd98..b413daf 100644 --- a/sip/tqt/tqpalette.sip +++ b/sip/tqt/tqpalette.sip @@ -44,7 +44,6 @@ public: TQPalette(const TQPalette &); enum ColorGroup { - Normal, Disabled, Active, Inactive, @@ -63,12 +62,10 @@ public: const TQColorGroup &active() const; const TQColorGroup &disabled() const; const TQColorGroup &inactive() const; - const TQColorGroup &normal() const; void setActive(const TQColorGroup &); void setDisabled(const TQColorGroup &); void setInactive(const TQColorGroup &); - void setNormal(const TQColorGroup &); bool operator==(const TQPalette &) const; bool operator!=(const TQPalette &) const; |