diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-09 10:36:44 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-09 10:43:01 +0900 |
commit | b3df4d055e72863ca51ec9c0428a490306989ff4 (patch) | |
tree | df96e48a48115df6c20bff7b24ba13d8ca361b91 /noatun/library | |
parent | b6d4b7931aaf79a821bcbf5c653beb9c06916750 (diff) | |
download | tdemultimedia-b3df4d055e72863ca51ec9c0428a490306989ff4.tar.gz tdemultimedia-b3df4d055e72863ca51ec9c0428a490306989ff4.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'noatun/library')
-rw-r--r-- | noatun/library/cmodule.cpp | 2 | ||||
-rw-r--r-- | noatun/library/controls.cpp | 8 | ||||
-rw-r--r-- | noatun/library/equalizerview.cpp | 2 | ||||
-rw-r--r-- | noatun/library/noatun/controls.h | 4 | ||||
-rw-r--r-- | noatun/library/noatuntags/tags.cpp | 2 | ||||
-rw-r--r-- | noatun/library/video.cpp | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/noatun/library/cmodule.cpp b/noatun/library/cmodule.cpp index 8e5f184a..92058c85 100644 --- a/noatun/library/cmodule.cpp +++ b/noatun/library/cmodule.cpp @@ -68,7 +68,7 @@ General::General(TQObject *parent) this, TQT_SLOT( slotRequesterClicked( KURLRequester * ))); TQWhatsThis::add(mDlSaver, i18n("When opening a non-local file, download it to the selected folder.")); - mPlayOnStartup = new TQButtonGroup(1,Qt::Horizontal, i18n("Play Behavior on Startup"), this); + mPlayOnStartup = new TQButtonGroup(1,TQt::Horizontal, i18n("Play Behavior on Startup"), this); mPlayOnStartup->setExclusive(true); mPlayOnStartup->insert( new TQRadioButton(i18n("Restore &play state"), mPlayOnStartup), 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 ); diff --git a/noatun/library/equalizerview.cpp b/noatun/library/equalizerview.cpp index bf779e39..dd809257 100644 --- a/noatun/library/equalizerview.cpp +++ b/noatun/library/equalizerview.cpp @@ -67,7 +67,7 @@ EqualizerLevel::EqualizerLevel(TQWidget *parent, VBand band) TQVBoxLayout *layout = new TQVBoxLayout(this, 0, 0, "EqualizerLevel::layout"); - mSlider = new TQSlider(-200, 200, 25, 0, Qt::Vertical, this, "EqualizerLevel::mSlider"); + mSlider = new TQSlider(-200, 200, 25, 0, TQt::Vertical, this, "EqualizerLevel::mSlider"); mSlider->setTickmarks(TQSlider::Left); mSlider->setTickInterval(25); layout->addWidget(mSlider); diff --git a/noatun/library/noatun/controls.h b/noatun/library/noatun/controls.h index 693b3fdc..813be2ee 100644 --- a/noatun/library/noatun/controls.h +++ b/noatun/library/noatun/controls.h @@ -26,9 +26,9 @@ TQ_OBJECT public: L33tSlider(TQWidget * parent, const char * name=0); - L33tSlider(Qt::Orientation, TQWidget * parent, const char * name=0); + L33tSlider(TQt::Orientation, TQWidget * parent, const char * name=0); L33tSlider(int minValue, int maxValue, int pageStep, int value, - Qt::Orientation, TQWidget * parent, const char * name=0); + TQt::Orientation, TQWidget * parent, const char * name=0); bool currentlyPressed() const; signals: diff --git a/noatun/library/noatuntags/tags.cpp b/noatun/library/noatuntags/tags.cpp index 3c1bb2ac..7ac9e07f 100644 --- a/noatun/library/noatuntags/tags.cpp +++ b/noatun/library/noatuntags/tags.cpp @@ -201,7 +201,7 @@ Control::Control(TagsGetter *parent) ", and updates tags (e.g., ID3)", "Interval:"), intervalLine); TQSlider *slider=new TQSlider( - 0, 2000, 100, 0,Qt::Horizontal, intervalLine + 0, 2000, 100, 0,TQt::Horizontal, intervalLine ); TQSpinBox *spin=new TQSpinBox( 0, 2000, 10, intervalLine diff --git a/noatun/library/video.cpp b/noatun/library/video.cpp index db6886b3..0fceeb2d 100644 --- a/noatun/library/video.cpp +++ b/noatun/library/video.cpp @@ -151,7 +151,7 @@ void GlobalVideo::hide() void GlobalVideo::mouseReleaseEvent(TQMouseEvent *e) { - if (e->button() == Qt::RightButton) + if (e->button() == TQt::RightButton) { menu->exec(mapToGlobal(e->pos())); } |