summaryrefslogtreecommitdiffstats
path: root/ksayit
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:28:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 22:15:58 +0900
commit716294c77e47b0a0abde10aa95c78a8844928877 (patch)
treeded893d637e2bdf9bb2631b3ee961d7e6b74a5f1 /ksayit
parent57695c1fdd30fbbe4fe902efc5a8275f397b7bc9 (diff)
downloadtdeaccessibility-716294c77e47b0a0abde10aa95c78a8844928877.tar.gz
tdeaccessibility-716294c77e47b0a0abde10aa95c78a8844928877.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 51e1505d8c6135e2fbb25ca48b6bfb77015f5402)
Diffstat (limited to 'ksayit')
-rw-r--r--ksayit/src/doctreeviewimpl.cpp2
-rw-r--r--ksayit/src/ksayitsystemtray.cpp12
2 files changed, 7 insertions, 7 deletions
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