summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-18 16:44:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-20 22:07:34 +0900
commit4a793dd7c141d86032bd06082243134a98c50692 (patch)
treeac47f5fdd25442231447a940bb2ea0d66c97d334
parent34365c3f2f86afe63737c6e1e7a56b0d4ab90801 (diff)
downloadtdepim-4a793dd7c141d86032bd06082243134a98c50692.tar.gz
tdepim-4a793dd7c141d86032bd06082243134a98c50692.zip
Replace various strings '#define'd in tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d470e73134c09daf33a87bd80920fc278bf2b3c2)
-rw-r--r--certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp6
-rw-r--r--kmail/rulewidgethandlermanager.cpp2
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;