diff options
author | Michele Calgaro <[email protected]> | 2023-11-09 10:36:44 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-09 17:21:45 +0900 |
commit | 5bdb51894d90ebc0d068ef5b3aec1cb2627433ed (patch) | |
tree | 3f540d2b927a7a79dba3093fe12eb119c2c2b79e /noatun/library/controls.cpp | |
parent | ff5c6681db05d5ed1d4d86872990cc317b114eee (diff) | |
download | tdemultimedia-5bdb51894d90ebc0d068ef5b3aec1cb2627433ed.tar.gz tdemultimedia-5bdb51894d90ebc0d068ef5b3aec1cb2627433ed.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit b3df4d055e72863ca51ec9c0428a490306989ff4)
Diffstat (limited to 'noatun/library/controls.cpp')
-rw-r--r-- | noatun/library/controls.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noatun/library/controls.cpp b/noatun/library/controls.cpp index 4a6ca9a8..fef7768f 100644 --- a/noatun/library/controls.cpp +++ b/noatun/library/controls.cpp @@ -3,11 +3,11 @@ 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) {} @@ -24,7 +24,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); @@ -67,7 +67,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 ); |