diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-06 11:29:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 10:49:54 +0900 |
commit | 96f327c14acd697b936e88289165e0edb57d7fb6 (patch) | |
tree | fdf24ccd79bca9a6085d35a670c7299cb2a27fe3 /konq-plugins/sidebar/mediaplayer/controls.cpp | |
parent | d48a4e1b0d41fa262f29142736d11ce22cffa657 (diff) | |
download | tdeaddons-96f327c14acd697b936e88289165e0edb57d7fb6.tar.gz tdeaddons-96f327c14acd697b936e88289165e0edb57d7fb6.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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()); } */ |