diff options
author | Michele Calgaro <[email protected]> | 2023-11-06 11:28:58 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-06 22:14:44 +0900 |
commit | 51e1505d8c6135e2fbb25ca48b6bfb77015f5402 (patch) | |
tree | 1b6557ee6b68257a418963ae1ffe40456eebad5d | |
parent | a8769c6290d2c7a92942b5b3771d6b2e3bcc0ec2 (diff) | |
download | tdeaccessibility-51e1505d8c6135e2fbb25ca48b6bfb77015f5402.tar.gz tdeaccessibility-51e1505d8c6135e2fbb25ca48b6bfb77015f5402.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | kbstateapplet/kbstate.cpp | 4 | ||||
-rw-r--r-- | kmag/kmagzoomview.cpp | 12 | ||||
-rw-r--r-- | kmouth/optionsdialog.cpp | 6 | ||||
-rw-r--r-- | ksayit/src/doctreeviewimpl.cpp | 2 | ||||
-rw-r--r-- | ksayit/src/ksayitsystemtray.cpp | 12 | ||||
-rw-r--r-- | kttsd/kttsjobmgr/kttsjobmgr.cpp | 2 |
6 files changed, 19 insertions, 19 deletions
diff --git a/kbstateapplet/kbstate.cpp b/kbstateapplet/kbstate.cpp index e0bf552..e93d290 100644 --- a/kbstateapplet/kbstate.cpp +++ b/kbstateapplet/kbstate.cpp @@ -264,7 +264,7 @@ int KbStateApplet::heightForWidth(int w) const { } void KbStateApplet::mousePressEvent(TQMouseEvent *e) { - if (e->button() == Qt::RightButton) + if (e->button() == TQt::RightButton) popup->popup(e->globalPos()); } @@ -308,7 +308,7 @@ void KbStateApplet::layout() { accessxCount++; } - if (orientation() ==Qt::Vertical) { + if (orientation() ==TQt::Vertical) { calculateSizes (width(), modifierCount, lockkeyCount, accessxCount, showMouse, lines, length, size); diff --git a/kmag/kmagzoomview.cpp b/kmag/kmagzoomview.cpp index 4f863ac..ae9d06d 100644 --- a/kmag/kmagzoomview.cpp +++ b/kmag/kmagzoomview.cpp @@ -370,7 +370,7 @@ TQPoint KMagZoomView::calcMousePos(bool updateMousePos) void KMagZoomView::mousePressEvent(TQMouseEvent *e) { switch(e->button()) { - case Qt::LeftButton : + case TQt::LeftButton : if(m_ctrlKeyPressed) { // check if currently in resize mode // don't do anything if fitToWindow is enabled @@ -443,7 +443,7 @@ void KMagZoomView::mousePressEvent(TQMouseEvent *e) } break; - case Qt::MidButton : + case TQt::MidButton : // check if currently in move mode // don't do anything if follow mouse is enabled if ((m_mouseMode != MoveSelection) && !m_followMouse) { @@ -484,8 +484,8 @@ void KMagZoomView::mousePressEvent(TQMouseEvent *e) void KMagZoomView::mouseReleaseEvent(TQMouseEvent *e) { switch(e->button()) { - case Qt::LeftButton : - case Qt::MidButton : + case TQt::LeftButton : + case TQt::MidButton : // check if currently in move mode if(m_mouseMode == MoveSelection) { // hide the selection window @@ -521,9 +521,9 @@ void KMagZoomView::mouseReleaseEvent(TQMouseEvent *e) } break; - case Qt::RightButton : + case TQt::RightButton : break; - case Qt::NoButton : + case TQt::NoButton : break; // do nothing diff --git a/kmouth/optionsdialog.cpp b/kmouth/optionsdialog.cpp index 0c8e147..be01f0d 100644 --- a/kmouth/optionsdialog.cpp +++ b/kmouth/optionsdialog.cpp @@ -120,7 +120,7 @@ OptionsDialog::OptionsDialog (TQWidget *parent) setHelp ("config-dialog"); TQPixmap iconGeneral = TDEGlobal::iconLoader()->loadIcon("configure", TDEIcon::NoGroup, TDEIcon::SizeMedium); - TQGrid *pageGeneral = addGridPage (1, Qt::Horizontal, i18n("General Options"), TQString(), iconGeneral); + TQGrid *pageGeneral = addGridPage (1, TQt::Horizontal, i18n("General Options"), TQString(), iconGeneral); tabCtl = new TQTabWidget (pageGeneral, "general"); @@ -133,13 +133,13 @@ OptionsDialog::OptionsDialog (TQWidget *parent) tabCtl->addTab (commandWidget, i18n("&Text-to-Speech")); TQPixmap iconCompletion = TDEGlobal::iconLoader()->loadIcon("input-keyboard", TDEIcon::NoGroup, TDEIcon::SizeMedium); - TQGrid *pageCompletion = addGridPage (1, Qt::Horizontal, i18n("Word Completion"), TQString(), iconCompletion); + TQGrid *pageCompletion = addGridPage (1, TQt::Horizontal, i18n("Word Completion"), TQString(), iconCompletion); completionWidget = new WordCompletionWidget(pageCompletion, "Word Completion widget"); kttsd = loadKttsd(); if (kttsd != 0) { TQPixmap iconKttsd = TDEGlobal::iconLoader()->loadIcon("multimedia", TDEIcon::NoGroup, TDEIcon::SizeMedium); - TQGrid *pageKttsd = addGridPage (1, Qt::Horizontal, i18n("KTTSD Speech Service"), + TQGrid *pageKttsd = addGridPage (1, TQt::Horizontal, i18n("KTTSD Speech Service"), i18n("TDE Text-to-Speech Daemon Configuration"), iconKttsd); kttsd->reparent(pageKttsd,0,TQPoint(0,0),true); diff --git a/ksayit/src/doctreeviewimpl.cpp b/ksayit/src/doctreeviewimpl.cpp index f72a717..7076625 100644 --- a/ksayit/src/doctreeviewimpl.cpp +++ b/ksayit/src/doctreeviewimpl.cpp @@ -927,7 +927,7 @@ void DocTreeViewImpl::slotNewDate() date->setText(3, TQString("%1").arg(newIndex).rightJustify(8,'0') ); // get current date TQString today; - today = TDEGlobal::locale()->formatDate(TQDate::currentDate(Qt::LocalTime), true); + today = TDEGlobal::locale()->formatDate(TQDate::currentDate(TQt::LocalTime), true); date->setText( 1, today); date->setValue( KSayItGlobal::RAWDATA, today ); date->setValue( KSayItGlobal::RTFDATA, today ); diff --git a/ksayit/src/ksayitsystemtray.cpp b/ksayit/src/ksayitsystemtray.cpp index 43452ca..a48c346 100644 --- a/ksayit/src/ksayitsystemtray.cpp +++ b/ksayit/src/ksayitsystemtray.cpp @@ -253,7 +253,7 @@ void StateWAIT::setContext(KSayItSystemTray *caller) void StateWAIT::mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e) { - if (e->button()==Qt::LeftButton){ // left Mouse-button pressed + if (e->button()==TQt::LeftButton){ // left Mouse-button pressed TQWidget::mousePressEvent(e); // do nothing (see mouseReleaseEvent) } else { mousePressEventCall(caller, e); // normal mouse-handling @@ -262,7 +262,7 @@ void StateWAIT::mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e) void StateWAIT::mouseReleaseEvent(KSayItSystemTray *caller, TQMouseEvent *e) { - if (e->button()==Qt::LeftButton){ // left Mouse-button released + if (e->button()==TQt::LeftButton){ // left Mouse-button released say(caller); } else { mouseReleaseEventCall(caller, e); // normal mouse-handling @@ -294,7 +294,7 @@ void StateSAY::setContext(KSayItSystemTray *caller) void StateSAY::mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e) { - if (e->button()==Qt::LeftButton){ // left Mouse-button pressed + if (e->button()==TQt::LeftButton){ // left Mouse-button pressed TQWidget::mousePressEvent(e); // do nothing (see mouseReleaseEvent) } else { mousePressEventCall(caller, e); // normal mouse-handling @@ -303,7 +303,7 @@ void StateSAY::mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e) void StateSAY::mouseReleaseEvent(KSayItSystemTray *caller, TQMouseEvent *e) { - if (e->button()==Qt::LeftButton){ // left Mouse-button released + if (e->button()==TQt::LeftButton){ // left Mouse-button released TQWidget::mouseReleaseEvent(e); // do nothing (see mouseReleaseEvent) } else { mouseReleaseEventCall(caller, e); // normal mouse-handling @@ -336,7 +336,7 @@ void StateCLIPEMPTY::setContext(KSayItSystemTray *caller) void StateCLIPEMPTY::mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e) { - if (e->button()==Qt::LeftButton){ // left Mouse-button pressed + if (e->button()==TQt::LeftButton){ // left Mouse-button pressed TQWidget::mousePressEvent(e); // do nothing (see mouseReleaseEvent) } else { mousePressEventCall(caller, e); // normal mouse-handling @@ -345,7 +345,7 @@ void StateCLIPEMPTY::mousePressEvent(KSayItSystemTray *caller, TQMouseEvent *e) void StateCLIPEMPTY::mouseReleaseEvent(KSayItSystemTray *caller, TQMouseEvent *e) { - if (e->button()==Qt::LeftButton){ // left Mouse-button released + if (e->button()==TQt::LeftButton){ // left Mouse-button released TQWidget::mouseReleaseEvent(e); // do nothing (see mouseReleaseEvent) } else { mouseReleaseEventCall(caller, e); // normal mouse-handling diff --git a/kttsd/kttsjobmgr/kttsjobmgr.cpp b/kttsd/kttsjobmgr/kttsjobmgr.cpp index 7a527f6..6a36888 100644 --- a/kttsd/kttsjobmgr/kttsjobmgr.cpp +++ b/kttsd/kttsjobmgr/kttsjobmgr.cpp @@ -106,7 +106,7 @@ KttsJobMgrPart::KttsJobMgrPart(TQWidget *parent, const char *name) : // Create a splitter to contain the Job List View and the current sentence. TQSplitter* splitter = new TQSplitter(vBox); - splitter->setOrientation(Qt::Vertical); + splitter->setOrientation(TQt::Vertical); // Create Job List View widget. m_jobListView = new TDEListView(splitter, "joblistview"); |