summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.cpp')
-rw-r--r--kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.cpp b/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.cpp
index f3ae2f4..8de1b62 100644
--- a/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.cpp
+++ b/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.cpp
@@ -19,10 +19,10 @@
#include <tqspinbox.h>
#include <tqcombobox.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqgroupbox.h>
#include <tqwidgetstack.h>
-#include <textedit.h>
+#include <tqtextedit.h>
#include <tqframe.h>
// KDE includes
@@ -81,7 +81,7 @@ void KMFProtocolPropertiesWidget::loadProtocolCategory( KMFProtocolCategory* pro
m_gb_protocol_option->setEnabled( false );
m_gb_protocol_description->setEnabled( true );
m_l_protocol_desc->setEnabled( true );
- TQString text = i18n( "<qt><b>Description: </b>%1<br>" ).arg( protCat ->description() );
+ TQString text = i18n( "<qt><b>Description: </b>%1<br>" ).tqarg( protCat ->description() );
text += "</qt>";
m_l_protocol_desc->setText( text );
@@ -93,7 +93,7 @@ void KMFProtocolPropertiesWidget::loadProtocol( KMFProtocol* prot ) {
m_gb_protocol_option->setEnabled( false );
m_gb_protocol_description->setEnabled( true );
m_l_protocol_desc->setEnabled( true );
- TQString text = i18n( "<qt><b>Description: </b>%1<br>" ).arg( prot ->description() );
+ TQString text = i18n( "<qt><b>Description: </b>%1<br>" ).tqarg( prot ->description() );
const TQString& tcpports = prot->tcpPortsList();
if ( ! tcpports.isEmpty() ) {
@@ -160,7 +160,7 @@ void KMFProtocolPropertiesWidget::slotEnableProtocolLimit( bool onoff ) {
if ( onoff ) {
KMFUndoEngine::instance()->startTransaction(
m_protocolUsage,
- i18n("Enable package limit for protocol %1.").arg( m_protocolUsage->name() )
+ i18n("Enable package limit for protocol %1.").tqarg( m_protocolUsage->name() )
);
m_protocolUsage->setLimit( m_sb_limit_rate->value() );
m_protocolUsage->setLimitInterval( m_cb_limit_interval->currentText() );
@@ -168,7 +168,7 @@ void KMFProtocolPropertiesWidget::slotEnableProtocolLimit( bool onoff ) {
} else {
KMFUndoEngine::instance()->startTransaction(
m_protocolUsage,
- i18n("Sisable package limit for protocol %1.").arg( m_protocolUsage->name() )
+ i18n("Sisable package limit for protocol %1.").tqarg( m_protocolUsage->name() )
);
m_protocolUsage->setLimit( -1 );
KMFUndoEngine::instance()->endTransaction();
@@ -184,7 +184,7 @@ void KMFProtocolPropertiesWidget::slotSetProtocolLimitRate( int rate ){
KMFUndoEngine::instance()->startTransaction(
m_protocolUsage,
- i18n("Set package limit for protocol %1 to %2/%3.").arg( m_protocolUsage->name() ).arg( rate ).arg( m_protocolUsage->limitInterval() )
+ i18n("Set package limit for protocol %1 to %2/%3.").tqarg( m_protocolUsage->name() ).tqarg( rate ).tqarg( m_protocolUsage->limitInterval() )
);
m_protocolUsage->setLimit( rate );
KMFUndoEngine::instance()->endTransaction();
@@ -202,7 +202,7 @@ void KMFProtocolPropertiesWidget::slotSetProtocolLimitInterval( const TQString&
KMFUndoEngine::instance()->startTransaction(
m_protocolUsage,
- i18n("Set package limit for protocol %1 to %2/%3.").arg( m_protocolUsage->name() ).arg( m_protocolUsage->limit() ).arg( interval )
+ i18n("Set package limit for protocol %1 to %2/%3.").tqarg( m_protocolUsage->name() ).tqarg( m_protocolUsage->limit() ).tqarg( interval )
);
m_protocolUsage->setLimitInterval( interval );
KMFUndoEngine::instance()->endTransaction();
@@ -217,7 +217,7 @@ void KMFProtocolPropertiesWidget::slotEnableProtocolLogging( bool onoff ){
KMFUndoEngine::instance()->startTransaction(
m_protocolUsage,
- i18n( "%1 logging of dropped packets for protocol %2." ).arg( onoff ? i18n( "Enable" ) : i18n( "Disable" ) ).arg( m_protocolUsage->name() )
+ i18n( "%1 logging of dropped packets for protocol %2." ).tqarg( onoff ? i18n( "Enable" ) : i18n( "Disable" ) ).tqarg( m_protocolUsage->name() )
);
m_protocolUsage->setLogging( onoff );