From 4a793dd7c141d86032bd06082243134a98c50692 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 18 Nov 2023 16:44:31 +0900 Subject: Replace various strings '#define'd in tqtinterface Signed-off-by: Michele Calgaro (cherry picked from commit d470e73134c09daf33a87bd80920fc278bf2b3c2) --- certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp | 6 +++--- kmail/rulewidgethandlermanager.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp b/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp index 6aeab99cc..62f08218b 100644 --- a/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp +++ b/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp @@ -90,7 +90,7 @@ KWatchGnuPGMainWindow::~KWatchGnuPGMainWindow() void KWatchGnuPGMainWindow::slotClear() { mCentralWidget->clear(); - mCentralWidget->append( tqtr("[%1] Log cleared").arg( TQDateTime::currentDateTime().toString(TQt::ISODate) ) ); + mCentralWidget->append( i18n("[%1] Log cleared").arg( TQDateTime::currentDateTime().toString(TQt::ISODate) ) ); } void KWatchGnuPGMainWindow::createActions() @@ -134,7 +134,7 @@ void KWatchGnuPGMainWindow::startWatcher() while( mWatcher->isRunning() ) { kapp->eventLoop()->processEvents(TQEventLoop::ExcludeUserInput); } - mCentralWidget->append(tqtr("[%1] Log stopped") + mCentralWidget->append(i18n("[%1] Log stopped") .arg( TQDateTime::currentDateTime().toString(TQt::ISODate))); } mWatcher->clearArguments(); @@ -147,7 +147,7 @@ void KWatchGnuPGMainWindow::startWatcher() if( !mWatcher->start() ) { KMessageBox::sorry( this, i18n("The watchgnupg logging process could not be started.\nPlease install watchgnupg somewhere in your $PATH.\nThis log window is now completely useless." ) ); } else { - mCentralWidget->append( tqtr("[%1] Log started") + mCentralWidget->append( i18n("[%1] Log started") .arg( TQDateTime::currentDateTime().toString(TQt::ISODate) ) ); } connect( mWatcher, TQT_SIGNAL( processExited(TDEProcess*) ), diff --git a/kmail/rulewidgethandlermanager.cpp b/kmail/rulewidgethandlermanager.cpp index 95c3e1ea2..2f64abbf9 100644 --- a/kmail/rulewidgethandlermanager.cpp +++ b/kmail/rulewidgethandlermanager.cpp @@ -368,7 +368,7 @@ namespace { TQObject *obj; while ( ( obj = it.current() ) ) { ++it; - if ( !objName || tqstrcmp( objName, obj->name() ) == 0 ) + if ( !objName || qstrcmp( objName, obj->name() ) == 0 ) break; } return obj; -- cgit v1.2.1