diff options
Diffstat (limited to 'konq-plugins')
-rw-r--r-- | konq-plugins/sidebar/mediaplayer/controls.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/konq-plugins/sidebar/mediaplayer/controls.cpp b/konq-plugins/sidebar/mediaplayer/controls.cpp index 49c6d1f..ba5a504 100644 --- a/konq-plugins/sidebar/mediaplayer/controls.cpp +++ b/konq-plugins/sidebar/mediaplayer/controls.cpp @@ -89,7 +89,7 @@ int SliderAction::plug( TQWidget *w, int index ) TDEToolBar *toolBar = (TDEToolBar *)w; int id = TDEAction::getToolButtonID(); - + //Create it. m_slider=new L33tSlider(0, 1000, 100, 0,Qt::Horizontal, toolBar); m_slider->setMinimumWidth(10); @@ -102,7 +102,7 @@ int SliderAction::plug( TQWidget *w, int index ) if (w->inherits( "TDEToolBar" )) connect(toolBar, TQT_SIGNAL(moved(TDEToolBar::BarPosition)), this, TQT_SLOT(toolbarMoved(TDEToolBar::BarPosition))); - + emit plugged(); return containerCount() - 1; @@ -111,16 +111,16 @@ int SliderAction::plug( TQWidget *w, int index ) void SliderAction::toolbarMoved(TDEToolBar::BarPosition) { // I wish this worked :) -return; +return; /* if (pos == TDEToolBar::Left || pos == TDEToolBar::Right) { - m_slider->setOrientationQt::Vertical); + m_slider->setOrientation(Qt::Vertical); m_slider->setFixedWidth(m_slider->height()); } else { - m_slider->setOrientationQt::Horizontal); + m_slider->setOrientation(Qt::Horizontal); m_slider->resize(m_slider->height(), m_slider->height()); } */ |