diff options
Diffstat (limited to 'kmyfirewall/core/kmfundoengine.cpp')
-rw-r--r-- | kmyfirewall/core/kmfundoengine.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmyfirewall/core/kmfundoengine.cpp b/kmyfirewall/core/kmfundoengine.cpp index 584f0e2..972eced 100644 --- a/kmyfirewall/core/kmfundoengine.cpp +++ b/kmyfirewall/core/kmfundoengine.cpp @@ -101,7 +101,7 @@ void KMFUndoEngine::log( const TQString& msg, int kmfErrorType = KMFError::NORMA TQString m = msg; TQString s = ""; if ( obj ) { - m.prepend( i18n("<i>%1:</i> ").arg( obj->name() ) ); + m.prepend( i18n("<i>%1:</i> ").tqarg( obj->name() ) ); } s.append( KMFError::getAsString( kmfErrorType, m ) ); emit sigLog( *( new TQString(s) ) ); @@ -110,7 +110,7 @@ void KMFUndoEngine::log( const TQString& msg, int kmfErrorType = KMFError::NORMA void KMFUndoEngine::changed ( const TQUuid& id ) { NetfilterObject* obj = NetfilterObject::findObject ( id ); if ( ! obj ) { - log( i18n("Change non exiting object id: %1.").arg( id ), KMFError::FATAL ); + log( i18n("Change non exiting object id: %1.").tqarg( id ), KMFError::FATAL ); return; } is_saved = false; @@ -118,13 +118,13 @@ void KMFUndoEngine::changed ( const TQUuid& id ) { m_app->updateCaption(); } if ( ! m_in_transaction ) { - // log( i18n("Change object: %1 without transaction.").arg( obj->name() ), KMFError::WARNING ); + // log( i18n("Change object: %1 without transaction.").tqarg( obj->name() ), KMFError::WARNING ); return; } NetfilterObject *highestAffected = NetfilterObject::findObject( m_currentTransaction->objectUuid() ); if ( ! highestAffected || obj != highestAffected && ! obj->isChildOf( highestAffected->uuid() ) ) { - log( i18n("Change object: %1 outside of declared highestAffectedObject: %2 in transaction: %3.").arg( obj->name() ).arg( highestAffected->name() ).arg( m_currentTransaction->name() ), KMFError::WARNING ); + log( i18n("Change object: %1 outside of declared highestAffectedObject: %2 in transaction: %3.").tqarg( obj->name() ).tqarg( highestAffected->name() ).tqarg( m_currentTransaction->name() ), KMFError::WARNING ); } } |