summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/genericinterface/kmfgenericinterfacehost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmyfirewall/genericinterface/kmfgenericinterfacehost.cpp')
-rw-r--r--kmyfirewall/genericinterface/kmfgenericinterfacehost.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kmyfirewall/genericinterface/kmfgenericinterfacehost.cpp b/kmyfirewall/genericinterface/kmfgenericinterfacehost.cpp
index 7ed6225..ca400b6 100644
--- a/kmyfirewall/genericinterface/kmfgenericinterfacehost.cpp
+++ b/kmyfirewall/genericinterface/kmfgenericinterfacehost.cpp
@@ -25,7 +25,7 @@
// QT includes
#include <tqstring.h>
#include <tqcheckbox.h>
-#include <textedit.h>
+#include <tqtextedit.h>
#include <tqlabel.h>
#include <tqtimer.h>
@@ -159,7 +159,7 @@ void KMFGenericInterfaceHost::slotNewHost() {
KMFUndoEngine::instance()->startTransaction(
m_zone,
- i18n( "Add new host to zone: %1." ).arg( m_zone->guiName() )
+ i18n( "Add new host to zone: %1." ).tqarg( m_zone->guiName() )
);
KMFNetHost * host = m_zone->addNetHost( i18n("New Host"), *(new TQDomDocument() ) );
if ( host ) {
@@ -187,12 +187,12 @@ void KMFGenericInterfaceHost::slotDelHost() {
if ( ! m_host || ! m_zone )
return;
if ( KMessageBox::questionYesNo(this, i18n("<qt>Are you sure that you want to delete host "
- "<b>%1</b> from <b>%2</b>?</qt>").arg(m_host->guiName() ).arg( m_zone->guiName() ),
+ "<b>%1</b> from <b>%2</b>?</qt>").tqarg(m_host->guiName() ).tqarg( m_zone->guiName() ),
i18n("Are you sure?"), KStdGuiItem::yes(), KStdGuiItem::cancel(),
"genericgui_hostpage_hostdelete") == KMessageBox::Yes ) {
KMFUndoEngine::instance()->startTransaction(
m_zone,
- i18n( "Delete host: %1 from zone: %2." ).arg( m_host->guiName() ).arg( m_zone->guiName() )
+ i18n( "Delete host: %1 from zone: %2." ).tqarg( m_host->guiName() ).tqarg( m_zone->guiName() )
);
m_zone->delHost( m_host );
m_host = 0;
@@ -247,7 +247,7 @@ void KMFGenericInterfaceHost::slotNewItemSelected( TQListViewItem* item ){
c_log_out->setEnabled(true);
c_log_in->setChecked( m_host->logIncoming() );
c_log_out->setChecked( m_host->logOutgoing() );
- l_currHost->setText( i18n( "Host: %1").arg( m_host->guiName() ) );
+ l_currHost->setText( i18n( "Host: %1").tqarg( m_host->guiName() ) );
} else {
kdDebug() << "KMFGenericInterfaceHost::slotNewItemSelected( TQListViewItem* item ): WARNING unknown ListView Type!!!" << endl;
@@ -286,7 +286,7 @@ void KMFGenericInterfaceHost::slotHostRenamed( TQListViewItem* item, int , const
}
KMFUndoEngine::instance()->startTransaction(
m_host,
- i18n( "Rename host: %1 to %2." ).arg( m_host->guiName() ).arg( newName )
+ i18n( "Rename host: %1 to %2." ).tqarg( m_host->guiName() ).tqarg( newName )
);
m_host->setGuiName( newName );
KMFUndoEngine::instance()->endTransaction();
@@ -310,7 +310,7 @@ void KMFGenericInterfaceHost::slotAddressChanged( const TQString& ) {
}
KMFUndoEngine::instance()->startTransaction(
m_host,
- i18n( "Change address of host: %1." ).arg( m_host->guiName() )
+ i18n( "Change address of host: %1." ).tqarg( m_host->guiName() )
);
m_host->address()->setAddress( m_sb_host_1->text() +"."+
m_sb_host_2->text()+"."+
@@ -334,7 +334,7 @@ void KMFGenericInterfaceHost::slotHostDescChanged() {
}
KMFUndoEngine::instance()->startTransaction(
m_host,
- i18n( "Edit documentation of host: %1" ).arg( m_host->guiName() )
+ i18n( "Edit documentation of host: %1" ).tqarg( m_host->guiName() )
);
m_host->setDescription( m_host_desc->text().simplifyWhiteSpace() );
KMFUndoEngine::instance()->endTransaction();
@@ -349,7 +349,7 @@ void KMFGenericInterfaceHost::slotLoggingChanged( bool ) {
if ( c_log_in->isChecked() != m_host->logIncoming() ) {
KMFUndoEngine::instance()->startTransaction(
m_host,
- i18n( "Edit logging option of host: %1" ).arg( m_host->guiName() )
+ i18n( "Edit logging option of host: %1" ).tqarg( m_host->guiName() )
);
m_host->setLogIncoming( c_log_in->isChecked() );
KMFUndoEngine::instance()->endTransaction();
@@ -357,7 +357,7 @@ void KMFGenericInterfaceHost::slotLoggingChanged( bool ) {
if ( m_host->logOutgoing() != c_log_out->isChecked() ) {
KMFUndoEngine::instance()->startTransaction(
m_host,
- i18n( "Edit logging option of host: %1" ).arg( m_host->guiName() )
+ i18n( "Edit logging option of host: %1" ).tqarg( m_host->guiName() )
);
m_host->setLogOutgoing( c_log_out->isChecked() );
KMFUndoEngine::instance()->endTransaction();
@@ -381,7 +381,7 @@ void KMFGenericInterfaceHost::slotZoneRBM( TQListViewItem* item, const TQPoint&
if ( m_zone ) {
m_contextMenu->clear();
TQString name = m_zone->name();
- TQString lab_str = i18n("Special Host Type: %1").arg( m_zone->guiName() );
+ TQString lab_str = i18n("Special Host Type: %1").tqarg( m_zone->guiName() );
m_contextMenu->insertTitle( icon_chain, lab_str );
m_contextMenu->insertItem( icon_new, i18n( "New Host..." ), this, TQT_SLOT( slotNewHost() ) );
m_contextMenu->popup( point );
@@ -394,7 +394,7 @@ void KMFGenericInterfaceHost::slotZoneRBM( TQListViewItem* item, const TQPoint&
if ( m_host ) {
m_contextMenu->clear();
TQString name = m_zone->name();
- TQString lab_str = i18n("Special Host: %1").arg( m_host->guiName() );
+ TQString lab_str = i18n("Special Host: %1").tqarg( m_host->guiName() );
m_contextMenu->insertTitle( icon_chain, lab_str );
m_contextMenu->insertItem( icon_new, i18n( "New Host..." ), this, TQT_SLOT( slotNewHost() ) );
m_contextMenu->insertItem( icon_rename, i18n( "Rename Host..." ), this, TQT_SLOT( slotRenameHost() ) );