Drop compatibility code for TQPalette

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/21/head
Michele Calgaro 1 year ago
parent cba162755d
commit aa6764916f
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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)

@ -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;

Loading…
Cancel
Save