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/modules | |
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/modules')
-rw-r--r-- | noatun/modules/artseffects/extrastereogui_impl.cpp | 2 | ||||
-rw-r--r-- | noatun/modules/excellent/userinterface.cpp | 4 | ||||
-rw-r--r-- | noatun/modules/kaiman/style.cpp | 2 | ||||
-rw-r--r-- | noatun/modules/kjofol-skin/kjloader.cpp | 2 | ||||
-rw-r--r-- | noatun/modules/noatunui/userinterface.cpp | 8 | ||||
-rw-r--r-- | noatun/modules/simple/userinterface.cpp | 4 | ||||
-rw-r--r-- | noatun/modules/systray/kitsystemtray.cpp | 4 | ||||
-rw-r--r-- | noatun/modules/winskin/guiSpectrumAnalyser.cpp | 4 | ||||
-rw-r--r-- | noatun/modules/winskin/waButton.cpp | 2 | ||||
-rw-r--r-- | noatun/modules/winskin/waDigit.cpp | 2 | ||||
-rw-r--r-- | noatun/modules/winskin/waInfo.cpp | 2 | ||||
-rw-r--r-- | noatun/modules/winskin/waSlider.cpp | 2 | ||||
-rw-r--r-- | noatun/modules/winskin/waTitleBar.cpp | 4 | ||||
-rw-r--r-- | noatun/modules/winskin/waWidget.cpp | 2 | ||||
-rw-r--r-- | noatun/modules/winskin/winSkinConfig.cpp | 4 |
15 files changed, 24 insertions, 24 deletions
diff --git a/noatun/modules/artseffects/extrastereogui_impl.cpp b/noatun/modules/artseffects/extrastereogui_impl.cpp index 92148ba0..c65ff19f 100644 --- a/noatun/modules/artseffects/extrastereogui_impl.cpp +++ b/noatun/modules/artseffects/extrastereogui_impl.cpp @@ -7,7 +7,7 @@ namespace Arts { ExtraStereoGUI_impl::ExtraStereoGUI_impl() : TQWidget(0) { (new TQHBoxLayout(this))->setAutoAdd(true); - mSlider=new TQSlider(0,100,10, 0,Qt::Horizontal, this); + mSlider=new TQSlider(0,100,10, 0,TQt::Horizontal, this); mSlider->show(); show(); } diff --git a/noatun/modules/excellent/userinterface.cpp b/noatun/modules/excellent/userinterface.cpp index 12e7169b..40154489 100644 --- a/noatun/modules/excellent/userinterface.cpp +++ b/noatun/modules/excellent/userinterface.cpp @@ -98,7 +98,7 @@ Excellent::Excellent() mainFrame = new TQHBox(this); mainFrame->setSpacing(KDialog::spacingHint()); mainFrame->setMargin(0); - slider = new L33tSlider(0, 1000, 10, 0, Qt::Horizontal, mainFrame); + slider = new L33tSlider(0, 1000, 10, 0, TQt::Horizontal, mainFrame); slider->setTickmarks(TQSlider::NoMarks); elapsed = new TQLabel(mainFrame); @@ -373,7 +373,7 @@ void Excellent::handleLengthString(const TQString &text) void Excellent::growVolumeControl(void) { - volumeSlider = new L33tSlider(0, 100, 10, 0,Qt::Vertical, mainFrame); + volumeSlider = new L33tSlider(0, 100, 10, 0,TQt::Vertical, mainFrame); volumeSlider->setValue(100 - napp->player()->volume()); volumeSlider->show(); connect(volumeSlider, TQT_SIGNAL(sliderMoved(int)), TQT_SLOT(changeVolume(int))); diff --git a/noatun/modules/kaiman/style.cpp b/noatun/modules/kaiman/style.cpp index a11f569b..1e4da725 100644 --- a/noatun/modules/kaiman/style.cpp +++ b/noatun/modules/kaiman/style.cpp @@ -1400,7 +1400,7 @@ bool KaimanStyle::eventFilter( TQObject *o, TQEvent *e ) TQMouseEvent *m = (TQMouseEvent*)e; // handle noatun context menu - if (m->button()==Qt::RightButton) { + if (m->button()==TQt::RightButton) { NoatunStdAction::ContextMenu::showContextMenu(); return true; } diff --git a/noatun/modules/kjofol-skin/kjloader.cpp b/noatun/modules/kjofol-skin/kjloader.cpp index 9db30363..ce9c88c8 100644 --- a/noatun/modules/kjofol-skin/kjloader.cpp +++ b/noatun/modules/kjofol-skin/kjloader.cpp @@ -742,7 +742,7 @@ void KJLoader::mousePressEvent(TQMouseEvent *e) // TQWidget::mousePressEvent(e); - if ( e->button()==Qt::RightButton ) + if ( e->button()==TQt::RightButton ) NoatunStdAction::ContextMenu::showContextMenu(); else /* if ( e->button()==LeftButton ) */ { diff --git a/noatun/modules/noatunui/userinterface.cpp b/noatun/modules/noatunui/userinterface.cpp index 1919fade..7019aea5 100644 --- a/noatun/modules/noatunui/userinterface.cpp +++ b/noatun/modules/noatunui/userinterface.cpp @@ -80,9 +80,9 @@ MilkChocolate::MilkChocolate() : TQWidget(0,"NoatunUI"), UserInterface() } - mVolume=new L33tSlider(0,100,10,0,Qt::Horizontal, this); + mVolume=new L33tSlider(0,100,10,0,TQt::Horizontal, this); mVolume->setValue(napp->player()->volume()); - mSeeker=new L33tSlider(0,1000,10,0,Qt::Horizontal, this); + mSeeker=new L33tSlider(0,1000,10,0,TQt::Horizontal, this); mStatusBar=new KStatusBar(this); @@ -179,7 +179,7 @@ void MilkChocolate::dropEvent(TQDropEvent *event) void MilkChocolate::mouseReleaseEvent(TQMouseEvent *e) { TQWidget::mouseReleaseEvent(e); - if (e->button()!=Qt::RightButton) return; + if (e->button()!=TQt::RightButton) return; NoatunStdAction::ContextMenu::showContextMenu(); } @@ -281,7 +281,7 @@ void MilkChocolate::changeLoopType(int t) bool MilkChocolate::eventFilter(TQObject *o, TQEvent *e) { if ((e->type() == TQEvent::MouseButtonRelease) - && ((TQT_TQMOUSEEVENT(e))->button()==Qt::RightButton)) + && ((TQT_TQMOUSEEVENT(e))->button()==TQt::RightButton)) { mouseReleaseEvent(TQT_TQMOUSEEVENT(e)); return true; diff --git a/noatun/modules/simple/userinterface.cpp b/noatun/modules/simple/userinterface.cpp index c600338d..929ada84 100644 --- a/noatun/modules/simple/userinterface.cpp +++ b/noatun/modules/simple/userinterface.cpp @@ -214,7 +214,7 @@ void SimpleUI::setupCentralWidget() TQToolTip::add( forwButton, i18n("Forward") ); connect( forwButton, TQT_SIGNAL(clicked()), napp->player(), TQT_SLOT(forward()) ); - slider = new L33tSlider( 0, 1000, 10, 0, Qt::Horizontal, ctlFrame ); + slider = new L33tSlider( 0, 1000, 10, 0, TQt::Horizontal, ctlFrame ); slider->setFixedHeight( 24 ); slider->setMinimumWidth( 100 ); slider->setTickmarks( TQSlider::NoMarks ); @@ -242,7 +242,7 @@ void SimpleUI::setupCentralWidget() volumeLabel->setFixedSize( volumeLabel->sizeHint() ); TQHBox *volumeSubFrame = new TQHBox( volumeFrame ); - volumeSlider = new L33tSlider( 0, 100, 10, 0,Qt::Vertical, volumeSubFrame ); + volumeSlider = new L33tSlider( 0, 100, 10, 0,TQt::Vertical, volumeSubFrame ); volumeSlider->setValue( 100 - napp->player()->volume() ); volumeSlider->setFixedSize( volumeSlider->sizeHint() ); diff --git a/noatun/modules/systray/kitsystemtray.cpp b/noatun/modules/systray/kitsystemtray.cpp index 963a9c69..358efb59 100644 --- a/noatun/modules/systray/kitsystemtray.cpp +++ b/noatun/modules/systray/kitsystemtray.cpp @@ -67,10 +67,10 @@ void KitSystemTray::mousePressEvent(TQMouseEvent *event) { switch(event->button()) { - case Qt::LeftButton: + case TQt::LeftButton: napp->toggleInterfaces(); break; - case Qt::MidButton: + case TQt::MidButton: if (YHConfig::self()->middleMouseAction() == YHConfig::HideShowPlaylist) napp->playlist()->toggleList(); else // play or pause diff --git a/noatun/modules/winskin/guiSpectrumAnalyser.cpp b/noatun/modules/winskin/guiSpectrumAnalyser.cpp index ee01777a..a1ff8cdc 100644 --- a/noatun/modules/winskin/guiSpectrumAnalyser.cpp +++ b/noatun/modules/winskin/guiSpectrumAnalyser.cpp @@ -72,13 +72,13 @@ GuiSpectrumAnalyser::~GuiSpectrumAnalyser() void GuiSpectrumAnalyser::mousePressEvent ( TQMouseEvent *e ) { - if (e->button() == Qt::LeftButton) { + if (e->button() == TQt::LeftButton) { if (visualization_mode == MODE_DISABLED) setVisualizationMode(MODE_ANALYSER); else setVisualizationMode(MODE_DISABLED); } - else if (e->button() == Qt::RightButton) { + else if (e->button() == TQt::RightButton) { contextMenu->popup(mapToGlobal(TQPoint(e->x(), e->y()))); } } diff --git a/noatun/modules/winskin/waButton.cpp b/noatun/modules/winskin/waButton.cpp index 6ecf4050..318b5323 100644 --- a/noatun/modules/winskin/waButton.cpp +++ b/noatun/modules/winskin/waButton.cpp @@ -50,7 +50,7 @@ void WaButton::paintEvent(TQPaintEvent *) { void WaButton::mousePressEvent(TQMouseEvent* e) { - if (e->button() != Qt::LeftButton) { + if (e->button() != TQt::LeftButton) { // We can't deal with it, but maybe the widget can do something clever WaWidget::mousePressEvent(e); } diff --git a/noatun/modules/winskin/waDigit.cpp b/noatun/modules/winskin/waDigit.cpp index 8e53c45f..3e953e6b 100644 --- a/noatun/modules/winskin/waDigit.cpp +++ b/noatun/modules/winskin/waDigit.cpp @@ -78,7 +78,7 @@ void WaDigit::paintEvent(TQPaintEvent *) } void WaDigit::mousePressEvent(TQMouseEvent* e) { - if (e->button() == Qt::LeftButton) { + if (e->button() == TQt::LeftButton) { reverse_time = !reverse_time; emit digitsClicked(); } diff --git a/noatun/modules/winskin/waInfo.cpp b/noatun/modules/winskin/waInfo.cpp index 25c088e3..af64ecc2 100644 --- a/noatun/modules/winskin/waInfo.cpp +++ b/noatun/modules/winskin/waInfo.cpp @@ -150,7 +150,7 @@ void WaInfo::pixmapChange() } void WaInfo::mousePressEvent (TQMouseEvent *e) { - if (e->button() == Qt::LeftButton) + if (e->button() == TQt::LeftButton) xGrabbedPos = (e->x() + xScrollPos) % completePixmap->width(); } diff --git a/noatun/modules/winskin/waSlider.cpp b/noatun/modules/winskin/waSlider.cpp index 8c97c272..b3705e9d 100644 --- a/noatun/modules/winskin/waSlider.cpp +++ b/noatun/modules/winskin/waSlider.cpp @@ -102,7 +102,7 @@ void WaSlider::updateSliderPos(int value) } void WaSlider::mousePressEvent(TQMouseEvent *e) { - if (e->button() != Qt::LeftButton && e->button() != Qt::MidButton) { + if (e->button() != TQt::LeftButton && e->button() != TQt::MidButton) { WaWidget::mousePressEvent(e); return; } diff --git a/noatun/modules/winskin/waTitleBar.cpp b/noatun/modules/winskin/waTitleBar.cpp index 9570dac0..fa1e0e7c 100644 --- a/noatun/modules/winskin/waTitleBar.cpp +++ b/noatun/modules/winskin/waTitleBar.cpp @@ -34,7 +34,7 @@ WaTitleBar::~WaTitleBar() void WaTitleBar::mousePressEvent(TQMouseEvent * e) { - if (e->button() != Qt::RightButton) { + if (e->button() != TQt::RightButton) { if (!moving) { moving = true; mDragStart = e->pos(); @@ -55,7 +55,7 @@ void WaTitleBar::mouseDoubleClickEvent(TQMouseEvent *) { void WaTitleBar::mouseReleaseEvent(TQMouseEvent * e) { - if (e->button() != Qt::RightButton) { + if (e->button() != TQt::RightButton) { moving = false; update(); return; diff --git a/noatun/modules/winskin/waWidget.cpp b/noatun/modules/winskin/waWidget.cpp index 4a44f252..69f797f5 100644 --- a/noatun/modules/winskin/waWidget.cpp +++ b/noatun/modules/winskin/waWidget.cpp @@ -46,7 +46,7 @@ TQSize WaWidget::sizeHint() { } void WaWidget::mousePressEvent(TQMouseEvent *e) { - if (e->button() == Qt::RightButton) + if (e->button() == TQt::RightButton) NoatunStdAction::ContextMenu::showContextMenu(); } diff --git a/noatun/modules/winskin/winSkinConfig.cpp b/noatun/modules/winskin/winSkinConfig.cpp index c7dad1ae..961ed457 100644 --- a/noatun/modules/winskin/winSkinConfig.cpp +++ b/noatun/modules/winskin/winSkinConfig.cpp @@ -55,7 +55,7 @@ WinSkinConfig::WinSkinConfig(TQWidget * parent, WaSkinManager *waSkinManager) : mWaSkinManager = waSkinManager; - TQGroupBox *settingsBox = new TQGroupBox( 1,Qt::Vertical, i18n("Settings"), this ); + TQGroupBox *settingsBox = new TQGroupBox( 1,TQt::Vertical, i18n("Settings"), this ); vbox->addWidget(settingsBox); TQHBox *box = new TQHBox(settingsBox); @@ -68,7 +68,7 @@ WinSkinConfig::WinSkinConfig(TQWidget * parent, WaSkinManager *waSkinManager) : scrollSpeed->setMinValue( 0 ); scrollSpeed->setMaxValue( 50 ); scrollSpeed->setPageStep( 1 ); - scrollSpeed->setOrientation( Qt::Horizontal ); + scrollSpeed->setOrientation( TQt::Horizontal ); scrollSpeed->setTickmarks( TQSlider::NoMarks ); label = new TQLabel(i18n("Fast"), box); |