diff options
Diffstat (limited to 'kicker-applets/mediacontrol/mcslider.cpp')
-rw-r--r-- | kicker-applets/mediacontrol/mcslider.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kicker-applets/mediacontrol/mcslider.cpp b/kicker-applets/mediacontrol/mcslider.cpp index cad953d..147dc5a 100644 --- a/kicker-applets/mediacontrol/mcslider.cpp +++ b/kicker-applets/mediacontrol/mcslider.cpp @@ -19,8 +19,8 @@ #include "mcslider.h" -MCSlider::MCSlider( Orientation orientation, TQWidget *parent, const char *name ) - : TQSlider( orientation, parent, name ) +MCSlider::MCSlider( Qt::Orientation orientation, TQWidget *tqparent, const char *name ) + : TQSlider( orientation, tqparent, name ) { setBackgroundOrigin(WidgetOrigin); setBackground(); @@ -36,17 +36,17 @@ void MCSlider::setBackground() { unsetPalette(); - if (parentWidget()->paletteBackgroundPixmap()) + if (tqparentWidget()->paletteBackgroundPixmap()) { TQPixmap pm(width(), height()); - pm.fill(parentWidget(), pos()); + pm.fill(tqparentWidget(), pos()); setPaletteBackgroundPixmap(pm); } } void MCSlider::wheelEvent(TQWheelEvent *e) { - if (e->orientation() == Horizontal) + if (e->orientation() ==Qt::Horizontal) return; if (e->state() == ShiftButton) |