diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kicker-applets/mediacontrol/mcslider.cpp | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker-applets/mediacontrol/mcslider.cpp')
-rw-r--r-- | kicker-applets/mediacontrol/mcslider.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kicker-applets/mediacontrol/mcslider.cpp b/kicker-applets/mediacontrol/mcslider.cpp index 642d2e2..cad953d 100644 --- a/kicker-applets/mediacontrol/mcslider.cpp +++ b/kicker-applets/mediacontrol/mcslider.cpp @@ -15,12 +15,12 @@ * * ***************************************************************************/ -#include <qpixmap.h> +#include <tqpixmap.h> #include "mcslider.h" -MCSlider::MCSlider( Orientation orientation, QWidget *parent, const char *name ) - : QSlider( orientation, parent, name ) +MCSlider::MCSlider( Orientation orientation, TQWidget *parent, const char *name ) + : TQSlider( orientation, parent, name ) { setBackgroundOrigin(WidgetOrigin); setBackground(); @@ -38,13 +38,13 @@ void MCSlider::setBackground() if (parentWidget()->paletteBackgroundPixmap()) { - QPixmap pm(width(), height()); + TQPixmap pm(width(), height()); pm.fill(parentWidget(), pos()); setPaletteBackgroundPixmap(pm); } } -void MCSlider::wheelEvent(QWheelEvent *e) +void MCSlider::wheelEvent(TQWheelEvent *e) { if (e->orientation() == Horizontal) return; @@ -59,7 +59,7 @@ void MCSlider::wheelEvent(QWheelEvent *e) } else { - QSlider::wheelEvent(e); + TQSlider::wheelEvent(e); } } |