diff options
Diffstat (limited to 'konq-plugins/sidebar/mediaplayer/controls.cpp')
-rw-r--r-- | konq-plugins/sidebar/mediaplayer/controls.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/konq-plugins/sidebar/mediaplayer/controls.cpp b/konq-plugins/sidebar/mediaplayer/controls.cpp index ba5a504..eb034ca 100644 --- a/konq-plugins/sidebar/mediaplayer/controls.cpp +++ b/konq-plugins/sidebar/mediaplayer/controls.cpp @@ -26,11 +26,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. L33tSlider::L33tSlider(TQWidget * parent, const char * name) : TQSlider(parent,name), pressed(false) {} -L33tSlider::L33tSlider(Qt::Orientation o, TQWidget * parent, const char * name) : +L33tSlider::L33tSlider(TQt::Orientation o, TQWidget * parent, const char * name) : TQSlider(o,parent,name), pressed(false) {} L33tSlider::L33tSlider(int minValue, int maxValue, int pageStep, int value, - Qt::Orientation o, TQWidget * parent, const char * name) : + TQt::Orientation o, TQWidget * parent, const char * name) : TQSlider(minValue, maxValue, pageStep, value, o, parent,name), pressed(false) {} @@ -47,7 +47,7 @@ void L33tSlider::setValue(int i) void L33tSlider::mousePressEvent(TQMouseEvent*e) { - if (e->button()!=Qt::RightButton) + if (e->button()!=TQt::RightButton) { pressed=true; TQSlider::mousePressEvent(e); @@ -91,7 +91,7 @@ int SliderAction::plug( TQWidget *w, int index ) int id = TDEAction::getToolButtonID(); //Create it. - m_slider=new L33tSlider(0, 1000, 100, 0,Qt::Horizontal, toolBar); + m_slider=new L33tSlider(0, 1000, 100, 0,TQt::Horizontal, toolBar); m_slider->setMinimumWidth(10); toolBar->insertWidget(id, 10, m_slider, index ); @@ -115,12 +115,12 @@ return; /* if (pos == TDEToolBar::Left || pos == TDEToolBar::Right) { - m_slider->setOrientation(Qt::Vertical); + m_slider->setOrientation(TQt::Vertical); m_slider->setFixedWidth(m_slider->height()); } else { - m_slider->setOrientation(Qt::Horizontal); + m_slider->setOrientation(TQt::Horizontal); m_slider->resize(m_slider->height(), m_slider->height()); } */ |