diff options
Diffstat (limited to 'kmyfirewall/kmfwidgets')
40 files changed, 219 insertions, 219 deletions
diff --git a/kmyfirewall/kmfwidgets/kmfchecklistoutput.cpp b/kmyfirewall/kmfwidgets/kmfchecklistoutput.cpp index 9322cad..8395a1a 100644 --- a/kmyfirewall/kmfwidgets/kmfchecklistoutput.cpp +++ b/kmyfirewall/kmfwidgets/kmfchecklistoutput.cpp @@ -20,7 +20,7 @@ #include <tqlistbox.h> #include <tqpushbutton.h> #include <tqlistview.h> -#include <layout.h> +#include <tqlayout.h> #include <tqstring.h> // kde includes @@ -67,7 +67,7 @@ void KMFCheckListOutput::appendLine( const TQString &txt ) { kdDebug() << "void KMFCheckListOutput::appendLine(TQString txt)" << endl; } -void KMFCheckListOutput::setStatus( bool ok, const TQString &err_msg ) { +void KMFCheckListOutput::settqStatus( bool ok, const TQString &err_msg ) { kdDebug() << "void KMFCheckListOutput::setStatus(bool ok,TQString &err_msg)" << endl; if ( ok ) { m_currItem->setPixmap( 1, icon_ok ); diff --git a/kmyfirewall/kmfwidgets/kmfchecklistoutput.h b/kmyfirewall/kmfwidgets/kmfchecklistoutput.h index 79ec49e..cfe72f8 100644 --- a/kmyfirewall/kmfwidgets/kmfchecklistoutput.h +++ b/kmyfirewall/kmfwidgets/kmfchecklistoutput.h @@ -42,9 +42,9 @@ public: void appendLine( const TQString &txt ); /** - Sets the Status of the last created ListItem + Sets the tqStatus of the last created ListItem */ - void setStatus( bool ok, const TQString &err_msg ); + void settqStatus( bool ok, const TQString &err_msg ); void clearList(); diff --git a/kmyfirewall/kmfwidgets/kmfdocumentinfo.cpp b/kmyfirewall/kmfwidgets/kmfdocumentinfo.cpp index f82f03e..f9f5646 100644 --- a/kmyfirewall/kmfwidgets/kmfdocumentinfo.cpp +++ b/kmyfirewall/kmfwidgets/kmfdocumentinfo.cpp @@ -16,7 +16,7 @@ // QT includes #include <tqstring.h> -#include <textedit.h> +#include <tqtextedit.h> #include <tqlineedit.h> #include <tqpushbutton.h> diff --git a/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.cpp b/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.cpp index 3f8562a..f7b77d1 100644 --- a/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.cpp +++ b/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.cpp @@ -33,7 +33,7 @@ #include <tqradiobutton.h> #include <tqpushbutton.h> #include <tqlineedit.h> -#include <textedit.h> +#include <tqtextedit.h> #include <tqbuttongroup.h> #include <tqgroupbox.h> #include <tqspinbox.h> @@ -262,7 +262,7 @@ void KMFGenericInterfaceEditProtocol::slotDelProtocol() { kdDebug() << "\n\nWARNING: No Protocol Object to save Changes in Memory!!\n\n" << endl; } int doit = KMessageBox::questionYesNo ( this , i18n( "<p>Are you sure that you want to delete " - "the protocol: <b>%1</b>?</p>").arg( m_protocol->name() ), + "the protocol: <b>%1</b>?</p>").tqarg( m_protocol->name() ), i18n( "Delete Protocol" ), KStdGuiItem::yes(), KStdGuiItem::no() /*, "protocol_edit_delete_protocol"*/ ); // kdDebug() << "Got Answer: " << doit << endl; diff --git a/kmyfirewall/kmfwidgets/kmfhostwidget.cpp b/kmyfirewall/kmfwidgets/kmfhostwidget.cpp index 5aa2019..fb99875 100644 --- a/kmyfirewall/kmfwidgets/kmfhostwidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfhostwidget.cpp @@ -14,7 +14,7 @@ #include "kmfhostwidget.h" // QT includes -#include <textedit.h> +#include <tqtextedit.h> #include <tqpushbutton.h> #include <tqcolor.h> #include <tqlabel.h> @@ -135,15 +135,15 @@ void KMFHostWidget::updateView() { m_cb_os->blockSignals( true ); m_host_desc->blockSignals( true ); m_cmd_testSSH->blockSignals( true ); - m_led_configStatus->off(); + m_led_configtqStatus->off(); if ( m_target ) { - m_led_configStatus->on(); + m_led_configtqStatus->on(); if ( m_target->config()->isValid() ) { - m_led_configStatus->setColor( TQt::green ); - m_lbl_configStatus->setText( i18n( "Config Ok" ) ); + m_led_configtqStatus->setColor( TQt::green ); + m_lbl_configtqStatus->setText( i18n( "Config Ok" ) ); } else { - m_led_configStatus->setColor( TQt::red ); - m_lbl_configStatus->setText( i18n( "Invalid Config!" ) ); + m_led_configtqStatus->setColor( TQt::red ); + m_lbl_configtqStatus->setText( i18n( "Invalid Config!" ) ); } @@ -243,9 +243,9 @@ void KMFHostWidget::slotTestConnection() { } if ( KIO::NetAccess::fish_execute( m_target->getFishUrl(), "ls /", KApplication::kApplication()->mainWidget() ) != 0) { - KMessageBox::information( this, i18n("Conneted successfully to: %1").arg( m_target->toFriendlyString() ) ); + KMessageBox::information( this, i18n("Conneted successfully to: %1").tqarg( m_target->toFriendlyString() ) ); } else { - KMessageBox::error( this, i18n("Connetion to: %1 failed!").arg( m_target->toFriendlyString() ) ); + KMessageBox::error( this, i18n("Connetion to: %1 failed!").tqarg( m_target->toFriendlyString() ) ); } } void KMFHostWidget::slotTryAutoConfiguration(){ @@ -254,14 +254,14 @@ void KMFHostWidget::slotTryAutoConfiguration(){ return; } KMFError* err = m_target->tryAutoConfiguration(); - KMFErrorHandler* errH = new KMFErrorHandler( i18n("Auto Confguration of: %1").arg( m_target->toFriendlyString() ) ); + KMFErrorHandler* errH = new KMFErrorHandler( i18n("Auto Confguration of: %1").tqarg( m_target->toFriendlyString() ) ); if ( ! errH->showError( err ) ) { return; } if ( ! m_target->config()->isValid() ) { - KMessageBox::error( this, i18n("<qt><p>Auto Confguration of: %1 could not determinate all needed setting. You'll need to configure the mmissing settings.</p></qt>").arg( m_target->toFriendlyString() ) ); + KMessageBox::error( this, i18n("<qt><p>Auto Confguration of: %1 could not determinate all needed setting. You'll need to configure the mmissing settings.</p></qt>").tqarg( m_target->toFriendlyString() ) ); } else { - KMessageBox::information( this, i18n("<qt><p>Auto Confguration of: %1 finished successfully.</p></qt>").arg( m_target->toFriendlyString() ) ); + KMessageBox::information( this, i18n("<qt><p>Auto Confguration of: %1 finished successfully.</p></qt>").tqarg( m_target->toFriendlyString() ) ); } emit sigTargetChanged(); } @@ -270,9 +270,9 @@ void KMFHostWidget::slotTryAutoConfiguration_Callback( KMFTarget* ) { disconnect( m_target, TQT_SIGNAL( sigTargetChanged( KMFTarget* ) ), this,TQT_SLOT( slotTryAutoConfiguration_Callback( KMFTarget* ) ) ); if ( ! m_target->config()->isValid() ) { - KMessageBox::error( 0, i18n("<qt><p>Auto Confguration of: %1 could not determinate all needed setting. You'll need to configure the mmissing settings.</p></qt>").arg( m_target->toFriendlyString() ) ); + KMessageBox::error( 0, i18n("<qt><p>Auto Confguration of: %1 could not determinate all needed setting. You'll need to configure the mmissing settings.</p></qt>").tqarg( m_target->toFriendlyString() ) ); } else { - KMessageBox::information( this, i18n("<qt><p>Auto Confguration of: %1 finished successfully.</p></qt>").arg( m_target->toFriendlyString() ) ); + KMessageBox::information( this, i18n("<qt><p>Auto Confguration of: %1 finished successfully.</p></qt>").tqarg( m_target->toFriendlyString() ) ); } emit sigTargetChanged(); } @@ -281,7 +281,7 @@ void KMFHostWidget::slotAddressChanged( int val ) { kdDebug() << "KMFHostWidget::slotAddressChanged( int " << val << " )" << endl; KMFUndoEngine::instance()->startTransaction( m_target, - i18n( "Edit address of target: %1.").arg( m_target->guiName() ) + i18n( "Edit address of target: %1.").tqarg( m_target->guiName() ) ); m_target->address()->setAddress( m_sb_host_0->value(), @@ -297,7 +297,7 @@ void KMFHostWidget::slotSSHPortChanged( int val ) { kdDebug() << "KMFHostWidget:::slotSSHPortChanged( int " << val << " )" << endl; KMFUndoEngine::instance()->startTransaction( m_target, - i18n( "Edit SSH port of target: %1.").arg( m_target->guiName() ) + i18n( "Edit SSH port of target: %1.").tqarg( m_target->guiName() ) ); m_target->setSSHPort( val ); KMFUndoEngine::instance()->endTransaction(); @@ -313,7 +313,7 @@ void KMFHostWidget::slotOSChanged( const TQString& val ) { } KMFUndoEngine::instance()->startTransaction( m_target->config(), - i18n( "Edit operation system setting of target: %1.").arg( m_target->guiName() ) + i18n( "Edit operation system setting of target: %1.").tqarg( m_target->guiName() ) ); m_target->config()->setOS( val.lower() ); @@ -337,7 +337,7 @@ void KMFHostWidget::slotBackaendChanged( const TQString& val ) { kdDebug() << "KMFHostWidget::slotBackaendChanged( const TQString& " << val << " )" << endl; KMFUndoEngine::instance()->startTransaction( m_target->config(), - i18n( "Edit backend setting of target: %1.").arg( m_target->guiName() ) + i18n( "Edit backend setting of target: %1.").tqarg( m_target->guiName() ) ); m_target->config()->setBackend( val.lower() ); @@ -355,7 +355,7 @@ void KMFHostWidget::slotDescriptionChanged() { } KMFUndoEngine::instance()->startTransaction( m_target, - i18n( "Edit documentation of target: %1.").arg( m_target->guiName() ) + i18n( "Edit documentation of target: %1.").tqarg( m_target->guiName() ) ); m_target->setDescription( m_host_desc->text().simplifyWhiteSpace() ); KMFUndoEngine::instance()->endTransaction(); diff --git a/kmyfirewall/kmfwidgets/kmfinterfacewidget.cpp b/kmyfirewall/kmfwidgets/kmfinterfacewidget.cpp index 72ee3a5..47b5622 100644 --- a/kmyfirewall/kmfwidgets/kmfinterfacewidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfinterfacewidget.cpp @@ -101,7 +101,7 @@ void KMFInterfaceWidget::slotAddInterface() { KMFUndoEngine::instance()->startTransaction( m_target->config(), - i18n( "Edit interfaces for target: %1.").arg( m_target->guiName() ) + i18n( "Edit interfaces for target: %1.").tqarg( m_target->guiName() ) ); m_target->config()->setInterfaces( interfaces() ); KMFUndoEngine::instance()->endTransaction(); @@ -137,7 +137,7 @@ void KMFInterfaceWidget::slotDelInterface() { m_lb_int->removeItem( index ); KMFUndoEngine::instance()->startTransaction( m_target->config(), - i18n( "Edit interfaces for target: %1.").arg( m_target->guiName() ) + i18n( "Edit interfaces for target: %1.").tqarg( m_target->guiName() ) ); m_target->config()->setInterfaces( interfaces() ); KMFUndoEngine::instance()->endTransaction(); diff --git a/kmyfirewall/kmfwidgets/kmfiptdocoptions.cpp b/kmyfirewall/kmfwidgets/kmfiptdocoptions.cpp index b61f577..6023d3f 100644 --- a/kmyfirewall/kmfwidgets/kmfiptdocoptions.cpp +++ b/kmyfirewall/kmfwidgets/kmfiptdocoptions.cpp @@ -57,7 +57,7 @@ void KMFIPTDocOptions::accept() { KMFUndoEngine::instance()->startTransaction( kmfdoc, - i18n( "Edit document settings for target: %1.").arg( kmfdoc->target()->guiName() ) + i18n( "Edit document settings for target: %1.").tqarg( kmfdoc->target()->guiName() ) ); kmfdoc->setUseFilter( c_use_filter->isChecked() ); kmfdoc->setUseNat( c_use_nat->isChecked() ); diff --git a/kmyfirewall/kmfwidgets/kmfipv4addresswidget.cpp b/kmyfirewall/kmfwidgets/kmfipv4addresswidget.cpp index 1004b70..cdfcb96 100644 --- a/kmyfirewall/kmfwidgets/kmfipv4addresswidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfipv4addresswidget.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 <tqtimer.h> diff --git a/kmyfirewall/kmfwidgets/kmflistview.cpp b/kmyfirewall/kmfwidgets/kmflistview.cpp index 05c5e8d..f29f88a 100644 --- a/kmyfirewall/kmfwidgets/kmflistview.cpp +++ b/kmyfirewall/kmfwidgets/kmflistview.cpp @@ -54,7 +54,7 @@ KMFListView::KMFListView( TQWidget *parent, const char *name ) : KListView( pare addColumn( i18n( "Rule No." ) ); addColumn( TQString() ); addColumn( i18n( "Value" ) ); - setSizePolicy( TQSizePolicy( ( TQSizePolicy::SizeType ) 2, ( TQSizePolicy::SizeType ) 2, 0, 0, + tqsetSizePolicy( TQSizePolicy( ( TQSizePolicy::SizeType ) 2, ( TQSizePolicy::SizeType ) 2, 0, 0, sizePolicy().hasHeightForWidth() ) ); setFrameShape( KListView::StyledPanel ); setFrameShadow( KListView::Sunken ); @@ -493,7 +493,7 @@ void KMFListView::setupChainView( IPTChain* chain, KMFListViewItem* parent ) { ++it; KMFListViewItem * item_feeds = new KMFListViewItem( i_chain_feeds, chain ); item_feeds->setInUse( true ); - item_feeds->setText( 0, i18n( "From chain: %1" ).arg( curr_rule->chain() ->name() ) ); + item_feeds->setText( 0, i18n( "From chain: %1" ).tqarg( curr_rule->chain() ->name() ) ); item_feeds->setPixmap( 2, icon_rule ); item_feeds->setText( 2, curr_rule->name() ); } @@ -528,7 +528,7 @@ void KMFListView::setupChainView( IPTChain* chain, KMFListViewItem* parent ) { KMFListViewItem * item_fwds = new KMFListViewItem( i_chain_fwds, chain ); item_fwds->setInUse( true ); item_fwds->setPixmap( 0, icon_rule ); - item_fwds->setText( 0, i18n( "Rule: %1" ).arg( curr_rule->name() ) ); + item_fwds->setText( 0, i18n( "Rule: %1" ).tqarg( curr_rule->name() ) ); item_fwds->setPixmap( 1, icon_fwd ); item_fwds->setText( 2, curr_rule->target() ); } diff --git a/kmyfirewall/kmfwidgets/kmflistviewitem.cpp b/kmyfirewall/kmfwidgets/kmflistviewitem.cpp index 3ed6968..bf1999e 100644 --- a/kmyfirewall/kmfwidgets/kmflistviewitem.cpp +++ b/kmyfirewall/kmfwidgets/kmflistviewitem.cpp @@ -226,10 +226,10 @@ void KMFListViewItem::setupNetHostView() { setText( 1,"[" + host()->address()->toString() + "]" ); if ( host()->name().startsWith("incoming_world") ) { - setText( 2,"" + i18n("%1 -> Localhost").arg( host()->guiName() ) ); + setText( 2,"" + i18n("%1 -> Localhost").tqarg( host()->guiName() ) ); } if ( host()->name().startsWith("outgoing_world") ) { - setText( 2, i18n("Localhost -> %1").arg( host()->guiName() ) ); + setText( 2, i18n("Localhost -> %1").tqarg( host()->guiName() ) ); } } @@ -250,17 +250,17 @@ void KMFListViewItem::setupZoneView() { } // if ( m_zone->name().startsWith("incoming_world") || m_zone->name().startsWith("outgoing_world") ) - setText( 1, "[" + m_zone->address()->toString() + i18n("/%1]").arg( m_zone->maskLength() ) ); + setText( 1, "[" + m_zone->address()->toString() + i18n("/%1]").tqarg( m_zone->maskLength() ) ); -/* setText( 2,"" + i18n("%1 -> Localhost").arg( m_zone->guiName() ) );*/ +/* setText( 2,"" + i18n("%1 -> Localhost").tqarg( m_zone->guiName() ) );*/ setText( 4,"" + m_zone->description() ); if ( m_zone->name().startsWith("incoming_world") ) { - setText( 2,"" + i18n("%1 -> Localhost").arg( m_zone->guiName() ) ); + setText( 2,"" + i18n("%1 -> Localhost").tqarg( m_zone->guiName() ) ); } if ( m_zone->name().startsWith("outgoing_world") ) { - setText( 2, i18n("Localhost -> %1").arg( m_zone->guiName() ) ); + setText( 2, i18n("Localhost -> %1").tqarg( m_zone->guiName() ) ); } @@ -314,10 +314,10 @@ void KMFListViewItem::setupZoneView() { item->setText( 1,"[" + host->address()->toString() + "]" ); if ( host->name().startsWith("incoming_world") ) { - item->setText( 2,"" + i18n("%1 -> Localhost").arg( host->guiName() ) ); + item->setText( 2,"" + i18n("%1 -> Localhost").tqarg( host->guiName() ) ); } if ( host->name().startsWith("outgoing_world") ) { - item->setText( 2, i18n("Localhost -> %1").arg( host->guiName() ) ); + item->setText( 2, i18n("Localhost -> %1").tqarg( host->guiName() ) ); }*/ // setOpen(true); // // ++it2; @@ -334,10 +334,10 @@ void KMFListViewItem::setupZoneView() { // item->setText( 1,"[" + it2.current()->address()->toString() + "]" ); // // if ( it2.current()->name().startsWith("incoming_world") ) { -// item->setText( 2,"" + i18n("%1 -> Localhost").arg( it2.current()->guiName() ) ); +// item->setText( 2,"" + i18n("%1 -> Localhost").tqarg( it2.current()->guiName() ) ); // } // if ( it2.current()->name().startsWith("outgoing_world") ) { -// item->setText( 2, i18n("Localhost -> %1").arg( it2.current()->guiName() ) ); +// item->setText( 2, i18n("Localhost -> %1").tqarg( it2.current()->guiName() ) ); // } // setOpen(true); ++it2; diff --git a/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp b/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp index a748ecb..c42fb12 100644 --- a/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp @@ -18,9 +18,9 @@ #include <tqframe.h> #include <tqpixmap.h> #include <tqwidgetstack.h> -#include <textedit.h> +#include <tqtextedit.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> // KDe Includes #include <ktabwidget.h> @@ -164,7 +164,7 @@ void KMFMyNetworkWidget::slotNewItemSelected( TQListViewItem* item ) { if ( m_zone ) { // kdDebug() << "kmfitem->zone() pointer is valid" << endl; kmfitem->setText( 0,m_zone->guiName() ); - kmfitem->setText( 1, "[" + m_zone->address()->toString() + i18n("/%1]").arg( m_zone->maskLength() ) ); + kmfitem->setText( 1, "[" + m_zone->address()->toString() + i18n("/%1]").tqarg( m_zone->maskLength() ) ); m_network_widget->loadZone( m_zone ); if ( m_zone->readOnly() ) { @@ -206,7 +206,7 @@ void KMFMyNetworkWidget::slotZoneChanged( KMFNetZone* z ) { kdDebug() << "void KMFMyNetworkWidget::slotZoneChanged( KMFNetZone* z )" << endl; if ( KMFListViewItem *item = findItem( z->uuid() ) ) { kdDebug() << "Updating item" << endl; - item->setText( 1, "[" + z->address()->toString() + i18n("/%1]").arg( z->maskLength() ) ); + item->setText( 1, "[" + z->address()->toString() + i18n("/%1]").tqarg( z->maskLength() ) ); item->setText( 4, z->description() ); } @@ -234,7 +234,7 @@ void KMFMyNetworkWidget::slotZoneRBM( TQListViewItem* item, const TQPoint& point if ( m_zone ) { m_contextMenu->clear(); TQString name = m_zone->name(); - TQString lab_str = i18n("Zone: %1").arg( m_zone->guiName() ); + TQString lab_str = i18n("Zone: %1").tqarg( m_zone->guiName() ); m_contextMenu->insertTitle( icon_chain, lab_str ); m_contextMenu->insertItem( icon_new, i18n( "Add Host..." ), this, TQT_SLOT( slotAddHost() ) ); @@ -256,7 +256,7 @@ void KMFMyNetworkWidget::slotZoneRBM( TQListViewItem* item, const TQPoint& point if ( m_target ) { m_contextMenu->clear(); TQString name = m_target->name(); - TQString lab_str = i18n("Host: %1").arg( m_target->guiName() ); + TQString lab_str = i18n("Host: %1").tqarg( m_target->guiName() ); m_contextMenu->insertTitle( icon_chain, lab_str ); if ( ! m_target->readOnly() ) { m_contextMenu->insertItem( icon_rename, i18n( "Rename Host..." ), this, TQT_SLOT( slotRenameHost() ) ); @@ -292,7 +292,7 @@ void KMFMyNetworkWidget::slotAddHost() { if ( m_zone ) { KMFUndoEngine::instance()->startTransaction( m_network->netzone(), - i18n("Add Target: %1 to Zone: %2").arg( name ).arg( m_zone->guiName() ) + i18n("Add Target: %1 to Zone: %2").tqarg( name ).tqarg( m_zone->guiName() ) ); TQString s = ""; s = s.setNum( m_zone->hosts().count() ); @@ -317,7 +317,7 @@ void KMFMyNetworkWidget::slotDelHost() { return; KMFUndoEngine::instance()->startTransaction( m_zone, - i18n("Delete Target: %1 from Zone: %2").arg( m_target->guiName() ).arg( m_zone->guiName() ) + i18n("Delete Target: %1 from Zone: %2").tqarg( m_target->guiName() ).tqarg( m_zone->guiName() ) ); m_zone->delHost( m_target ); KMFUndoEngine::instance()->endTransaction(); @@ -338,7 +338,7 @@ void KMFMyNetworkWidget::slotAddZone() { KMFUndoEngine::instance()->startTransaction( m_network->netzone(), - i18n("Add Zone: %1 to Zone: %2").arg( name ).arg( m_network->netzone()->guiName() ) + i18n("Add Zone: %1 to Zone: %2").tqarg( name ).tqarg( m_network->netzone()->guiName() ) ); KMFNetZone * zone = m_network->netzone()->addZone( "", new KMFError() ); @@ -362,7 +362,7 @@ void KMFMyNetworkWidget::slotDelZone() { if ( m_zone->name() != i18n("world") ) { KMFUndoEngine::instance()->startTransaction( m_zone->zone(), - i18n("Delete Zone: %1 from Zone: %2").arg( m_zone->guiName() ).arg( m_zone->zone()->guiName() ) + i18n("Delete Zone: %1 from Zone: %2").tqarg( m_zone->guiName() ).tqarg( m_zone->zone()->guiName() ) ); m_zone->zone()->delZone( m_zone ); m_zone = 0; @@ -385,7 +385,7 @@ void KMFMyNetworkWidget::slotRenameItem( TQListViewItem* item, int, const TQStri if ( kmfitem->type() == NetfilterObject::NETZONE ) { KMFUndoEngine::instance()->startTransaction( kmfitem->zone(), - i18n("Rename Zone: %1 to %3").arg( m_zone->guiName() ).arg( name ) + i18n("Rename Zone: %1 to %3").tqarg( m_zone->guiName() ).tqarg( name ) ); kmfitem->zone()->setGuiName( name ); @@ -397,7 +397,7 @@ void KMFMyNetworkWidget::slotRenameItem( TQListViewItem* item, int, const TQStri if ( kmfitem->type() == NetfilterObject::KMFTARGET ) { KMFUndoEngine::instance()->startTransaction( kmfitem->target(), - i18n("Rename Host: %1 to %3").arg( m_zone->guiName() ).arg( name ) + i18n("Rename Host: %1 to %3").tqarg( m_zone->guiName() ).tqarg( name ) ); kmfitem->target()->setGuiName( name ); kdDebug() << "Renaming Host: " << kmfitem->target()->name() << endl; diff --git a/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.cpp b/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.cpp index d311981..6e50797 100644 --- a/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.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 @@ -158,7 +158,7 @@ void KMFNetHostPropertiesWidget::slotAddressChanged( int d0, int d1, int d2, int << d3 << ")" << endl; 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( d0, d1, d2, d3 ); m_host->zone()->rootZone()->placeHostInZone( m_host ); @@ -183,7 +183,7 @@ void KMFNetHostPropertiesWidget::slotHostLogToggled( bool ) { } KMFUndoEngine::instance()->startTransaction( m_host, - i18n( "%1 logging of incoming packets for host %2." ).arg( m_cb_host_log->isChecked() ? i18n( "Enable" ) : i18n( "Disable" ) ).arg( m_host->guiName() ) + i18n( "%1 logging of incoming packets for host %2." ).tqarg( m_cb_host_log->isChecked() ? i18n( "Enable" ) : i18n( "Disable" ) ).tqarg( m_host->guiName() ) ); m_host->setLogIncoming( m_cb_host_log->isChecked() ); KMFUndoEngine::instance()->endTransaction(); @@ -193,7 +193,7 @@ void KMFNetHostPropertiesWidget::slotHostLogToggled( bool ) { } KMFUndoEngine::instance()->startTransaction( m_host, - i18n( "%1 logging of outgoing packets for host %2." ).arg( m_cb_host_log->isChecked() ? i18n( "Enable" ) : i18n( "Disable" ) ).arg( m_host->guiName() ) + i18n( "%1 logging of outgoing packets for host %2." ).tqarg( m_cb_host_log->isChecked() ? i18n( "Enable" ) : i18n( "Disable" ) ).tqarg( m_host->guiName() ) ); m_host->setLogOutgoing( m_cb_host_log->isChecked() ); KMFUndoEngine::instance()->endTransaction(); @@ -209,14 +209,14 @@ void KMFNetHostPropertiesWidget::slotHostLimitToggled( bool on ){ if ( on ) { KMFUndoEngine::instance()->startTransaction( m_host, - i18n( "Enable package limit for host %1." ).arg( m_host->guiName() ) + i18n( "Enable package limit for host %1." ).tqarg( m_host->guiName() ) ); m_host->setLimit( m_sb_host_rate->value(), m_cb_limit_host_interval->currentText() ); KMFUndoEngine::instance()->endTransaction(); } else { KMFUndoEngine::instance()->startTransaction( m_host, - i18n( "Disable package limit for host %1." ).arg( m_host->guiName() ) + i18n( "Disable package limit for host %1." ).tqarg( m_host->guiName() ) ); m_host->setLimit( -1, m_cb_limit_host_interval->currentText() ); KMFUndoEngine::instance()->endTransaction(); @@ -232,14 +232,14 @@ void KMFNetHostPropertiesWidget::slotHostLimitValueChanged( int ) { if ( m_cb_host_limit->isChecked() ) { KMFUndoEngine::instance()->startTransaction( m_host, - i18n( "Change package limit for host %1 to %2/%3." ).arg( m_host->guiName() ).arg( m_sb_host_rate->value() ).arg( m_cb_limit_host_interval->currentText() ) + i18n( "Change package limit for host %1 to %2/%3." ).tqarg( m_host->guiName() ).tqarg( m_sb_host_rate->value() ).tqarg( m_cb_limit_host_interval->currentText() ) ); m_host->setLimit( m_sb_host_rate->value(), m_cb_limit_host_interval->currentText() ); KMFUndoEngine::instance()->endTransaction(); } else { KMFUndoEngine::instance()->startTransaction( m_host, - i18n( "Disable package limit for host %1." ).arg( m_host->guiName() ) + i18n( "Disable package limit for host %1." ).tqarg( m_host->guiName() ) ); m_host->setLimit( -1, m_cb_limit_host_interval->currentText() ); KMFUndoEngine::instance()->endTransaction(); @@ -255,14 +255,14 @@ void KMFNetHostPropertiesWidget::slotHostLimitScaleChanged( int ) { if ( m_cb_host_limit->isChecked() ) { KMFUndoEngine::instance()->startTransaction( m_host, - i18n( "Change package limit for host %1 to %2/%3." ).arg( m_host->guiName() ).arg( m_sb_host_rate->value() ).arg( m_cb_limit_host_interval->currentText() ) + i18n( "Change package limit for host %1 to %2/%3." ).tqarg( m_host->guiName() ).tqarg( m_sb_host_rate->value() ).tqarg( m_cb_limit_host_interval->currentText() ) ); m_host->setLimit( m_sb_host_rate->value(), m_cb_limit_host_interval->currentText() ); KMFUndoEngine::instance()->endTransaction(); } else { KMFUndoEngine::instance()->startTransaction( m_host, - i18n( "Disable package limit for host %1." ).arg( m_host->guiName() ) + i18n( "Disable package limit for host %1." ).tqarg( m_host->guiName() ) ); m_host->setLimit( -1, "" ); KMFUndoEngine::instance()->endTransaction(); @@ -279,7 +279,7 @@ void KMFNetHostPropertiesWidget::slotDescriptionChanged() { if ( newTxt != m_host->description() ) { KMFUndoEngine::instance()->startTransaction( m_host, - i18n( "Change documentation of host: %1" ).arg( m_host->guiName() ) + i18n( "Change documentation of host: %1" ).tqarg( m_host->guiName() ) ); m_host->setDescription( newTxt ); KMFUndoEngine::instance()->endTransaction(); diff --git a/kmyfirewall/kmfwidgets/kmfnetworkwidget.cpp b/kmyfirewall/kmfwidgets/kmfnetworkwidget.cpp index acd737d..be43b03 100644 --- a/kmyfirewall/kmfwidgets/kmfnetworkwidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfnetworkwidget.cpp @@ -13,7 +13,7 @@ // QT includes #include <tqlabel.h> -#include <textedit.h> +#include <tqtextedit.h> #include <tqevent.h> // KDE includes @@ -97,7 +97,7 @@ void KMFNetworkWidget::slotAddressChanged( const TQString& ) { } KMFUndoEngine::instance()->startTransaction( m_zone->rootZone(), - i18n( "Change address of Zone: %1" ).arg( m_zone->guiName() ) + i18n( "Change address of Zone: %1" ).tqarg( m_zone->guiName() ) ); m_zone->address()->setAddress( m_sb_from_1->value(), m_sb_from_2->value(), m_sb_from_3->value(), m_sb_from_4->value() ); @@ -117,7 +117,7 @@ void KMFNetworkWidget::slotShortMaskChanged( int len ) { if ( m_allowEdit && m_zone->maskLength() != len ) { KMFUndoEngine::instance()->startTransaction( m_zone->rootZone(), - i18n( "Change mask length of Zone: %1" ).arg( m_zone->guiName() ) + i18n( "Change mask length of Zone: %1" ).tqarg( m_zone->guiName() ) ); m_zone->setMaskLength( len ); m_zone->rootZone()->refreshNetworkTree(); @@ -137,7 +137,7 @@ void KMFNetworkWidget::slotDescriptionChanged() { blockAllSignals( true ); KMFUndoEngine::instance()->startTransaction( m_zone, - i18n( "Change documentation of Zone: %1" ).arg( m_zone->guiName() ) + i18n( "Change documentation of Zone: %1" ).tqarg( m_zone->guiName() ) ); m_zone->setDescription( newTxt ); KMFUndoEngine::instance()->endTransaction(); diff --git a/kmyfirewall/kmfwidgets/kmfnewdocdlg.cpp b/kmyfirewall/kmfwidgets/kmfnewdocdlg.cpp index f3b8cae..581323d 100644 --- a/kmyfirewall/kmfwidgets/kmfnewdocdlg.cpp +++ b/kmyfirewall/kmfwidgets/kmfnewdocdlg.cpp @@ -43,9 +43,9 @@ KMFNewDocDlg::KMFNewDocDlg( TQWidget *parent, const char *name, WFlags fl ) : KM TQPainter p( &pic ); p.setFont( f ); p.setPen( TQt::white ); - p.drawText( 165, 45, TQString( "Version %1" ).arg( KMYFIREWALL_VERSION ) ); - p.drawText( 93, 215, TQString( "%1" ).arg( COPYRIGHT_DATE ) ); - p.drawText( 70, 230, TQString( "%1" ).arg( COPYRIGHT_OWNER ) ); + p.drawText( 165, 45, TQString( "Version %1" ).tqarg( KMYFIREWALL_VERSION ) ); + p.drawText( 93, 215, TQString( "%1" ).tqarg( COPYRIGHT_DATE ) ); + p.drawText( 70, 230, TQString( "%1" ).tqarg( COPYRIGHT_OWNER ) ); if ( pic.isNull() ) return ; l_pic->setPixmap( pic ); diff --git a/kmyfirewall/kmfwidgets/kmfobjectinfo.cpp b/kmyfirewall/kmfwidgets/kmfobjectinfo.cpp index 8c544b3..1c76d49 100644 --- a/kmyfirewall/kmfwidgets/kmfobjectinfo.cpp +++ b/kmyfirewall/kmfwidgets/kmfobjectinfo.cpp @@ -24,7 +24,7 @@ #include <tqstring.h> #include <tqlabel.h> #include <tqpushbutton.h> -#include <textedit.h> +#include <tqtextedit.h> // Project includes #include "../core/iptrule.h" @@ -74,7 +74,7 @@ void KMFObjectInfo::accept() { if ( m_netfilter_object->description() != te_desc->text() ) { KMFUndoEngine::instance()->startTransaction( m_netfilter_object, - i18n("Edit Documentaion for: %1").arg( m_netfilter_object->name() ) + i18n("Edit Documentaion for: %1").tqarg( m_netfilter_object->name() ) ); m_netfilter_object->setDescription( te_desc->text() ); kdDebug() << "Description Changed: " << te_desc->text() << endl; @@ -84,7 +84,7 @@ void KMFObjectInfo::accept() { if ( m_doc->description() != te_desc->text() ) { KMFUndoEngine::instance()->startTransaction( m_doc, - i18n("Edit Documentaion for: %1").arg( m_netfilter_object->name() ) + i18n("Edit Documentaion for: %1").tqarg( m_netfilter_object->name() ) ); m_doc->setDescription( te_desc->text() ); KMFUndoEngine::instance()->endTransaction(); diff --git a/kmyfirewall/kmfwidgets/kmfprocout.cpp b/kmyfirewall/kmfwidgets/kmfprocout.cpp index 5023bed..46635a2 100644 --- a/kmyfirewall/kmfwidgets/kmfprocout.cpp +++ b/kmyfirewall/kmfwidgets/kmfprocout.cpp @@ -24,8 +24,8 @@ // QT includes -#include <textbrowser.h> -#include <layout.h> +#include <tqtextbrowser.h> +#include <tqlayout.h> #include <tqlabel.h> #include <tqpixmap.h> #include <tqfont.h> @@ -61,7 +61,7 @@ void KMFProcOut::initGUI() { icon_name = "quit"; icon_close = loader->loadIcon( icon_name, KIcon::Small ); - m_layout = new TQGridLayout( this, 0, 0, 2, 2, "layout" ); + m_layout = new TQGridLayout( this, 0, 0, 2, 2, "tqlayout" ); m_lbview = new TQTextBrowser( this, "m_lbview" ); m_lbview->setTextFormat( RichText ); @@ -126,7 +126,7 @@ void KMFProcOut::slotReceivedOutput( KProcess *, char *buffer, int buflen ) { stderrbuf = new TQString( "" ); } - *stdoutbuf += TQString::fromLatin1( buffer, buflen ); + *stdoutbuf += TQString::tqfromLatin1( buffer, buflen ); int pos; while ( ( pos = stdoutbuf->find( '\n' ) ) != -1 ) { TQString line = stdoutbuf->left( pos ); @@ -143,7 +143,7 @@ void KMFProcOut::slotReceivedError( KProcess *, char *buffer, int buflen ) { stdoutbuf = new TQString( "" ); } - *stderrbuf += TQString::fromLatin1( buffer, buflen ); + *stderrbuf += TQString::tqfromLatin1( buffer, buflen ); int pos; while ( ( pos = stderrbuf->find( '\n' ) ) != -1 ) { TQString line = stderrbuf->left( pos ); @@ -165,7 +165,7 @@ void KMFProcOut::insertStdoutLine( const TQString &line ) { } void KMFProcOut::insertStderrLine( const TQString &line ) { - const TQString & line2 = i18n( "<b>Error:</b> %1" ).arg( line ); + const TQString & line2 = i18n( "<b>Error:</b> %1" ).tqarg( line ); m_lbview->append( "<font color=\"red\">" + line2 + "</font>" ); } @@ -175,7 +175,7 @@ void KMFProcOut::childFinished( bool , int status ) { const TQString& job_name = m_job_name; if ( status != 0 ) { m_lbview->append( i18n( "<br><font color=\"red\"><b>Execution failed</b></font>" ) ); - m_lbview->append( i18n( "<font color=\"red\"><b>Exit(Code): %1</b></font>" ).arg( stat ) ); + m_lbview->append( i18n( "<font color=\"red\"><b>Exit(Code): %1</b></font>" ).tqarg( stat ) ); emit sigJobFinished( false, job_name ); } else { m_lbview->append( i18n( "<br><b>Finished successfully</b>" ) ); diff --git a/kmyfirewall/kmfwidgets/kmfprotocollistview.cpp b/kmyfirewall/kmfwidgets/kmfprotocollistview.cpp index 3d0ab9a..48e14d1 100644 --- a/kmyfirewall/kmfwidgets/kmfprotocollistview.cpp +++ b/kmyfirewall/kmfwidgets/kmfprotocollistview.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 <tqtimer.h> 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 ); diff --git a/kmyfirewall/kmfwidgets/kmfselectactivetarget.cpp b/kmyfirewall/kmfwidgets/kmfselectactivetarget.cpp index 37d4db4..bd9514b 100644 --- a/kmyfirewall/kmfwidgets/kmfselectactivetarget.cpp +++ b/kmyfirewall/kmfwidgets/kmfselectactivetarget.cpp @@ -25,7 +25,7 @@ #include <tqradiobutton.h> #include <tqpushbutton.h> #include <tqlineedit.h> -#include <textedit.h> +#include <tqtextedit.h> #include <tqlabel.h> #include <tqbuttongroup.h> #include <tqgroupbox.h> diff --git a/kmyfirewall/kmfwidgets/kmfsystemsettingslinux.cpp b/kmyfirewall/kmfwidgets/kmfsystemsettingslinux.cpp index 5165e38..993a99f 100644 --- a/kmyfirewall/kmfwidgets/kmfsystemsettingslinux.cpp +++ b/kmyfirewall/kmfwidgets/kmfsystemsettingslinux.cpp @@ -147,7 +147,7 @@ void KMFSystemSettingsLinux::slotDistributionChanged() { } KMFUndoEngine::instance()->startTransaction( conf, - i18n( "Change system settings of target: %1" ).arg( conf->target()->guiName() ) + i18n( "Change system settings of target: %1" ).tqarg( conf->target()->guiName() ) ); conf->setIPTPath( m_url_ipt_path->url() ); conf->setModprobePath( m_url_mod_path->url() ); @@ -174,7 +174,7 @@ void KMFSystemSettingsLinux::slotSettingChanged() { } KMFUndoEngine::instance()->startTransaction( conf, - i18n( "Change system settings of target: %1" ).arg( conf->target()->guiName() ) + i18n( "Change system settings of target: %1" ).tqarg( conf->target()->guiName() ) ); conf->setIPTPath( m_url_ipt_path->url() ); conf->setModprobePath( m_url_mod_path->url() ); diff --git a/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp b/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp index d82ba5c..c1e4c27 100644 --- a/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp +++ b/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp @@ -110,7 +110,7 @@ void KMFTemplateChooser::parseTemplates(){ } TQStringList templates = dir.entryList( type ); if ( templates.isEmpty() ) { - KMessageBox::information( this, i18n("No templates (%1) could be found; please check your installation.").arg( type ) ); + KMessageBox::information( this, i18n("No templates (%1) could be found; please check your installation.").tqarg( type ) ); return; } for ( TQStringList::Iterator it = templates.begin(); it != templates.end(); ++it ) { @@ -123,21 +123,21 @@ void KMFTemplateChooser::parseFile( const TQString& file ) { TQFile f( file ); if ( !f.open( IO_ReadOnly ) ) { - KMessageBox::information( this, i18n("Template %1 could not be opened.").arg( file ) ); + KMessageBox::information( this, i18n("Template %1 could not be opened.").tqarg( file ) ); return; } TQDomDocument doc; if ( !doc.setContent( &f ) ) { f.close(); - KMessageBox::information( this, i18n("Template %1 is not a valid XML document.").arg( file ) ); + KMessageBox::information( this, i18n("Template %1 is not a valid XML document.").tqarg( file ) ); return; } TQDomElement root = doc.documentElement(); TQDomNodeList list = root.elementsByTagName ( XML::Abstract_Element ); if ( list.count() == 0 ) { - KMessageBox::information( this, i18n("Template %1 does not contain the \"abstract\" tag.").arg( file ) ); + KMessageBox::information( this, i18n("Template %1 does not contain the \"abstract\" tag.").tqarg( file ) ); return; } TQDomNode node = list.item( 0 ); diff --git a/kmyfirewall/kmfwidgets/kmftransactionlog.cpp b/kmyfirewall/kmfwidgets/kmftransactionlog.cpp index bc66325..7d1e85f 100644 --- a/kmyfirewall/kmfwidgets/kmftransactionlog.cpp +++ b/kmyfirewall/kmfwidgets/kmftransactionlog.cpp @@ -19,9 +19,9 @@ #include <tqlistview.h> #include <tqptrlist.h> #include <tqtimer.h> -#include <textedit.h> -#include <textstream.h> -#include <textbrowser.h> +#include <tqtextedit.h> +#include <tqtextstream.h> +#include <tqtextbrowser.h> // KDE includes #include <klistview.h> @@ -128,8 +128,8 @@ void KMFTransactionLog::slotZoneRBM( TQListViewItem* item, const TQPoint& point, m_currentTransaction = t; m_contextMenu->clear(); - TQString name = i18n("Transaction: %1").arg( m_currentTransaction->uuid().toString() ); - // TQString lab_str = i18n("Zone: %1").arg( m_zone->guiName() ); + TQString name = i18n("Transaction: %1").tqarg( m_currentTransaction->uuid().toString() ); + // TQString lab_str = i18n("Zone: %1").tqarg( m_zone->guiName() ); m_contextMenu->insertTitle( name ); m_contextMenu->insertItem( i18n( "Show XML diff using Kompare" ), this, TQT_SLOT( slotShowDiff() ) ); m_contextMenu->popup( point ); @@ -264,7 +264,7 @@ KListViewItem* KMFTransactionLog::setupListItem( KMFTransaction* trans, KListVie NetfilterObject *obj = 0; obj = NetfilterObject::findObject ( obj_uuid ); if ( obj ) { - itemID->setText( 0, i18n("Object: %1").arg( obj->name() ) ); + itemID->setText( 0, i18n("Object: %1").tqarg( obj->name() ) ); // itemID->setText( 2, obj->name() ); // itemID->setText( 3, obj->getXMLSniplet() ); } diff --git a/kmyfirewall/kmfwidgets/kmyfirewalldocumentinfo.ui b/kmyfirewall/kmfwidgets/kmyfirewalldocumentinfo.ui index e76ab81..d4c54da 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewalldocumentinfo.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewalldocumentinfo.ui @@ -37,7 +37,7 @@ <property name="text"> <string><b>Ruleset&nbsp;Description:</b></string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignTop</set> </property> </widget> @@ -83,7 +83,7 @@ </widget> <widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout2</cstring> + <cstring>tqlayout2</cstring> </property> <hbox> <property name="name"> @@ -113,7 +113,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>300</width> <height>20</height> diff --git a/kmyfirewall/kmfwidgets/kmyfirewallgenericinterfaceeditprotocolwidget.ui b/kmyfirewall/kmfwidgets/kmyfirewallgenericinterfaceeditprotocolwidget.ui index 2327266..3e6f069 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallgenericinterfaceeditprotocolwidget.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallgenericinterfaceeditprotocolwidget.ui @@ -40,7 +40,7 @@ This required if you like to use a protocol not directely suppotred by KMyFirewa </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout13</cstring> + <cstring>tqlayout13</cstring> </property> <vbox> <property name="name"> @@ -111,7 +111,7 @@ This required if you like to use a protocol not directely suppotred by KMyFirewa </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout15</cstring> + <cstring>tqlayout15</cstring> </property> <vbox> <property name="name"> @@ -119,7 +119,7 @@ This required if you like to use a protocol not directely suppotred by KMyFirewa </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout14</cstring> + <cstring>tqlayout14</cstring> </property> <hbox> <property name="name"> @@ -165,7 +165,7 @@ This required if you like to use a protocol not directely suppotred by KMyFirewa </property> <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout33</cstring> + <cstring>tqlayout33</cstring> </property> <grid> <property name="name"> @@ -204,7 +204,7 @@ This required if you like to use a protocol not directely suppotred by KMyFirewa <property name="name"> <cstring>m_lb_tcpPorts</cstring> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>80</height> @@ -215,7 +215,7 @@ This required if you like to use a protocol not directely suppotred by KMyFirewa <property name="name"> <cstring>m_te_desc</cstring> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>150</height> @@ -267,7 +267,7 @@ This required if you like to use a protocol not directely suppotred by KMyFirewa </widget> <widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout27</cstring> + <cstring>tqlayout27</cstring> </property> <grid> <property name="name"> @@ -290,7 +290,7 @@ This required if you like to use a protocol not directely suppotred by KMyFirewa </widget> <widget class="TQLayoutWidget" row="1" column="1" rowspan="2" colspan="1"> <property name="name"> - <cstring>layout37</cstring> + <cstring>tqlayout37</cstring> </property> <vbox> <property name="name"> diff --git a/kmyfirewall/kmfwidgets/kmyfirewallhostwidget.ui b/kmyfirewall/kmfwidgets/kmyfirewallhostwidget.ui index c6a1882..9cf1608 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallhostwidget.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallhostwidget.ui @@ -27,7 +27,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="3" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout19_3</cstring> + <cstring>tqlayout19_3</cstring> </property> <hbox> <property name="name"> @@ -59,7 +59,7 @@ <property name="text"> <string>.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignBottom</set> </property> </widget> @@ -89,7 +89,7 @@ <property name="text"> <string>.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignBottom</set> </property> </widget> @@ -119,7 +119,7 @@ <property name="text"> <string>.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignBottom</set> </property> </widget> @@ -154,7 +154,7 @@ </widget> <widget class="TQLayoutWidget" row="1" column="3" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout2</cstring> + <cstring>tqlayout2</cstring> </property> <hbox> <property name="name"> @@ -320,7 +320,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>71</height> @@ -329,7 +329,7 @@ </spacer> <widget class="TQLabel" row="7" column="1"> <property name="name"> - <cstring>m_lbl_configStatus</cstring> + <cstring>m_lbl_configtqStatus</cstring> </property> <property name="sizePolicy"> <sizepolicy> @@ -372,7 +372,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>241</width> <height>20</height> @@ -381,7 +381,7 @@ </spacer> <widget class="KLed" row="7" column="0"> <property name="name"> - <cstring>m_led_configStatus</cstring> + <cstring>m_led_configtqStatus</cstring> </property> <property name="sizePolicy"> <sizepolicy> diff --git a/kmyfirewall/kmfwidgets/kmyfirewallinterfacewidget.ui b/kmyfirewall/kmfwidgets/kmyfirewallinterfacewidget.ui index b637295..274413d 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallinterfacewidget.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallinterfacewidget.ui @@ -32,7 +32,7 @@ <property name="text"> <string>Please add your available network Interfaces here:</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignVCenter</set> </property> <property name="wordwrap" stdset="0"> @@ -40,7 +40,7 @@ </widget> <widget class="TQLayoutWidget" row="1" column="0"> <property name="name"> - <cstring>layout10</cstring> + <cstring>tqlayout10</cstring> </property> <grid> <property name="name"> @@ -56,7 +56,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>41</height> diff --git a/kmyfirewall/kmfwidgets/kmyfirewalliptdocoptions.ui b/kmyfirewall/kmfwidgets/kmyfirewalliptdocoptions.ui index 0c62584..b1454cf 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewalliptdocoptions.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewalliptdocoptions.ui @@ -23,13 +23,13 @@ <property name="name"> <cstring>TextLabel7</cstring> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>40</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>40</height> @@ -49,7 +49,7 @@ <property name="text"> <string>Here you can configure several general options that your firewall has.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignCenter</set> </property> </widget> @@ -85,7 +85,7 @@ <property name="text"> <string>Enable the iptables you like to use in your firewall.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignVCenter</set> </property> </widget> @@ -171,7 +171,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>51</width> <height>0</height> @@ -199,7 +199,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>21</width> <height>0</height> @@ -264,7 +264,7 @@ <property name="text"> <string><b>Enable this if you compiled iptables as modules</b>. For details about the required modules, take a look at the iptables man page.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignVCenter</set> </property> </widget> @@ -283,7 +283,7 @@ <property name="text"> <string><b>Enable this if your host should act as a router</b>.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignVCenter</set> </property> </widget> @@ -294,7 +294,7 @@ <property name="text"> <string><b>Enable if you like to use Syn Cookies.</b> (needs support compiled in the kernel)</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignVCenter</set> </property> </widget> @@ -313,7 +313,7 @@ <property name="text"> <string><b>Enable</b> if you like to use <b>Reverse Parse Filtering</b>.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignVCenter</set> </property> </widget> diff --git a/kmyfirewall/kmfwidgets/kmyfirewallipv4adddresswidget.ui b/kmyfirewall/kmfwidgets/kmyfirewallipv4adddresswidget.ui index e41e933..2413e25 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallipv4adddresswidget.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallipv4adddresswidget.ui @@ -24,7 +24,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="1"> <property name="name"> - <cstring>layout19</cstring> + <cstring>tqlayout19</cstring> </property> <hbox> <property name="name"> @@ -56,7 +56,7 @@ <property name="text"> <string>.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignBottom</set> </property> </widget> @@ -86,7 +86,7 @@ <property name="text"> <string>.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignBottom</set> </property> </widget> @@ -116,7 +116,7 @@ <property name="text"> <string>.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignBottom</set> </property> </widget> diff --git a/kmyfirewall/kmfwidgets/kmyfirewallmultiportwidget.ui b/kmyfirewall/kmfwidgets/kmyfirewallmultiportwidget.ui index 5f134f6..f6e42bc 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallmultiportwidget.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallmultiportwidget.ui @@ -167,7 +167,7 @@ <string><p>You may filter for up to 15 ports within one rule if you are using the multiport extention.<br> Use this to avoid too large (slow) rulesets.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignTop</set> </property> </widget> diff --git a/kmyfirewall/kmfwidgets/kmyfirewallnethostproperties.ui b/kmyfirewall/kmfwidgets/kmyfirewallnethostproperties.ui index 185e674..fff8137 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallnethostproperties.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallnethostproperties.ui @@ -24,7 +24,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="1"> <property name="name"> - <cstring>layout16</cstring> + <cstring>tqlayout16</cstring> </property> <vbox> <property name="name"> @@ -69,7 +69,7 @@ </widget> <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>layout10</cstring> + <cstring>tqlayout10</cstring> </property> <vbox> <property name="name"> @@ -126,7 +126,7 @@ </widget> <widget class="TQLayoutWidget" row="1" column="0"> <property name="name"> - <cstring>layout9_2</cstring> + <cstring>tqlayout9_2</cstring> </property> <hbox> <property name="name"> diff --git a/kmyfirewall/kmfwidgets/kmyfirewallnetworkwidget.ui b/kmyfirewall/kmfwidgets/kmyfirewallnetworkwidget.ui index cfa45fd..43e3800 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallnetworkwidget.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallnetworkwidget.ui @@ -24,7 +24,7 @@ </property> <widget class="TQLayoutWidget" row="1" column="0"> <property name="name"> - <cstring>layout7</cstring> + <cstring>tqlayout7</cstring> </property> <hbox> <property name="name"> @@ -32,7 +32,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout27</cstring> + <cstring>tqlayout27</cstring> </property> <vbox> <property name="name"> @@ -74,7 +74,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout22</cstring> + <cstring>tqlayout22</cstring> </property> <vbox> <property name="name"> @@ -82,7 +82,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout19</cstring> + <cstring>tqlayout19</cstring> </property> <hbox> <property name="name"> @@ -114,7 +114,7 @@ <property name="text"> <string>.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignBottom</set> </property> </widget> @@ -144,7 +144,7 @@ <property name="text"> <string>.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignBottom</set> </property> </widget> @@ -174,7 +174,7 @@ <property name="text"> <string>.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignBottom</set> </property> </widget> @@ -193,7 +193,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout21</cstring> + <cstring>tqlayout21</cstring> </property> <hbox> <property name="name"> @@ -228,7 +228,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>19</width> <height>2</height> @@ -250,7 +250,7 @@ <property name="text"> <string>Mask:</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> </widget> @@ -286,7 +286,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>45</height> @@ -313,7 +313,7 @@ <property name="text"> <string>Zone Properties:</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> </widget> diff --git a/kmyfirewall/kmfwidgets/kmyfirewallnewdocument.ui b/kmyfirewall/kmfwidgets/kmyfirewallnewdocument.ui index 84e76f9..0797cf9 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallnewdocument.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallnewdocument.ui @@ -12,13 +12,13 @@ <height>330</height> </rect> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>580</width> <height>330</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>580</width> <height>330</height> @@ -95,7 +95,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout20</cstring> + <cstring>tqlayout20</cstring> </property> <vbox> <property name="name"> @@ -129,7 +129,7 @@ <property name="text"> <string><h3>New/Open Document</h3></string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignTop</set> </property> </widget> @@ -145,7 +145,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>25</width> <height>25</height> @@ -190,7 +190,7 @@ <string>Please choose how you would like to start your new firewall configuration. </string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignTop</set> </property> </widget> @@ -204,7 +204,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>50</height> @@ -320,7 +320,7 @@ <property name="sizeType"> <enum>Minimum</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>20</height> @@ -329,7 +329,7 @@ </spacer> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout6</cstring> + <cstring>tqlayout6</cstring> </property> <hbox> <property name="name"> diff --git a/kmyfirewall/kmfwidgets/kmyfirewallobjectinfo.ui b/kmyfirewall/kmfwidgets/kmyfirewallobjectinfo.ui index ad02c00..5bae513 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallobjectinfo.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallobjectinfo.ui @@ -23,13 +23,13 @@ <property name="name"> <cstring>m_header</cstring> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>0</width> <height>40</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>32767</width> <height>40</height> @@ -49,7 +49,7 @@ <property name="text"> <string>Rule Documentation</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignCenter</set> </property> </widget> @@ -69,7 +69,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout3</cstring> + <cstring>tqlayout3</cstring> </property> <hbox> <property name="name"> @@ -93,7 +93,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>21</width> <height>20</height> @@ -118,7 +118,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>21</width> <height>20</height> diff --git a/kmyfirewall/kmfwidgets/kmyfirewallprotocollistview.ui b/kmyfirewall/kmfwidgets/kmyfirewallprotocollistview.ui index c9299c2..f2f2f60 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallprotocollistview.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallprotocollistview.ui @@ -48,7 +48,7 @@ <verstretch>1</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>150</width> <height>0</height> diff --git a/kmyfirewall/kmfwidgets/kmyfirewallprotocolpropertieswidget.ui b/kmyfirewall/kmfwidgets/kmyfirewallprotocolpropertieswidget.ui index 7017d5a..8083d06 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallprotocolpropertieswidget.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallprotocolpropertieswidget.ui @@ -46,7 +46,7 @@ </widget> <widget class="TQLayoutWidget" row="1" column="0"> <property name="name"> - <cstring>layout9</cstring> + <cstring>tqlayout9</cstring> </property> <hbox> <property name="name"> @@ -141,7 +141,7 @@ <property name="name"> <cstring>m_l_protocol_desc</cstring> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignTop</set> </property> </widget> diff --git a/kmyfirewall/kmfwidgets/kmyfirewallselectactivetarget.ui b/kmyfirewall/kmfwidgets/kmyfirewallselectactivetarget.ui index 285c8f9..5e97ca8 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallselectactivetarget.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallselectactivetarget.ui @@ -29,7 +29,7 @@ <property name="sizeType"> <enum>Preferred</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>339</width> <height>20</height> @@ -87,7 +87,7 @@ <property name="sizeType"> <enum>Preferred</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>178</width> <height>20</height> diff --git a/kmyfirewall/kmfwidgets/kmyfirewallselectinterface.ui b/kmyfirewall/kmfwidgets/kmyfirewallselectinterface.ui index 9adcd5b..4bee50a 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallselectinterface.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallselectinterface.ui @@ -67,13 +67,13 @@ <property name="name"> <cstring>m_pic_screenshot</cstring> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>400</width> <height>300</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>400</width> <height>300</height> @@ -88,7 +88,7 @@ </widget> <widget class="TQLayoutWidget" row="1" column="0"> <property name="name"> - <cstring>layout6</cstring> + <cstring>tqlayout6</cstring> </property> <vbox> <property name="name"> @@ -130,13 +130,13 @@ <property name="text"> <string>Description</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignTop</set> </property> </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout2</cstring> + <cstring>tqlayout2</cstring> </property> <hbox> <property name="name"> @@ -179,7 +179,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>101</width> <height>20</height> @@ -192,7 +192,7 @@ </widget> <widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout9</cstring> + <cstring>tqlayout9</cstring> </property> <hbox> <property name="name"> @@ -220,13 +220,13 @@ <p>KMyFirewall provides two different inerfaces for setting up your firewall. Please select the Interface you like to use.</p></string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignTop</set> </property> </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout8</cstring> + <cstring>tqlayout8</cstring> </property> <vbox> <property name="name"> @@ -244,7 +244,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>25</width> <height>25</height> @@ -283,7 +283,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>0</width> <height>0</height> @@ -304,7 +304,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>0</width> <height>0</height> @@ -313,7 +313,7 @@ </spacer> <widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout1</cstring> + <cstring>tqlayout1</cstring> </property> <hbox> <property name="name"> diff --git a/kmyfirewall/kmfwidgets/kmyfirewallsystemsettingslinux.ui b/kmyfirewall/kmfwidgets/kmyfirewallsystemsettingslinux.ui index 0fb4ed1..399fc82 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallsystemsettingslinux.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallsystemsettingslinux.ui @@ -60,7 +60,7 @@ <property name="text"> <string>As Gentoo and Slackware are using non-standard SysV init system it is required to select your distibution in order to make the firewall install properly into your boot setup.</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignVCenter</set> </property> </widget> @@ -71,7 +71,7 @@ <property name="text"> <string>Path to the defaul <b> runlevel</b> directoy:</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> </widget> @@ -82,7 +82,7 @@ <property name="text"> <string>Path to the <b>init</b> directory:</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> </widget> @@ -93,7 +93,7 @@ <property name="text"> <string>Path to the <b>modprobe</b> program:</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> </widget> @@ -112,7 +112,7 @@ <property name="text"> <string>Path to the <b>iptables</b> binary:</string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> </widget> @@ -157,7 +157,7 @@ <property name="sizeType"> <enum>Preferred</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>51</height> @@ -174,7 +174,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>41</height> diff --git a/kmyfirewall/kmfwidgets/kmyfirewalltemplatechooser.ui b/kmyfirewall/kmfwidgets/kmyfirewalltemplatechooser.ui index 6283909..54660bd 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewalltemplatechooser.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewalltemplatechooser.ui @@ -12,7 +12,7 @@ <height>401</height> </rect> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>580</width> <height>400</height> @@ -131,7 +131,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>20</height> @@ -208,7 +208,7 @@ </widget> <widget class="TQLayoutWidget" row="1" column="1"> <property name="name"> - <cstring>layout8</cstring> + <cstring>tqlayout8</cstring> </property> <vbox> <property name="name"> @@ -248,7 +248,7 @@ <property name="textFormat"> <enum>AutoText</enum> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignTop</set> </property> <property name="indent"> @@ -259,7 +259,7 @@ </widget> <widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout10</cstring> + <cstring>tqlayout10</cstring> </property> <hbox> <property name="name"> @@ -297,13 +297,13 @@ <string><h3>Template Chooser</h3> <p>Select a ruleset template you like to use as the starting point for your firewall setup.</p></string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>WordBreak|AlignTop</set> </property> </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout9</cstring> + <cstring>tqlayout9</cstring> </property> <vbox> <property name="name"> @@ -321,13 +321,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>25</width> <height>25</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>25</width> <height>25</height> @@ -366,7 +366,7 @@ <property name="sizeType"> <enum>Preferred</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>31</height> @@ -379,7 +379,7 @@ </widget> <widget class="TQLayoutWidget" row="1" column="0"> <property name="name"> - <cstring>layout14</cstring> + <cstring>tqlayout14</cstring> </property> <vbox> <property name="name"> @@ -400,7 +400,7 @@ <property name="text"> <string><h3>Available&nbsp;Templates</h3></string> </property> - <property name="alignment"> + <property name="tqalignment"> <set>AlignVCenter</set> </property> </widget> diff --git a/kmyfirewall/kmfwidgets/kmyfirewalltransactionlog.ui b/kmyfirewall/kmfwidgets/kmyfirewalltransactionlog.ui index 6465669..6180bf8 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewalltransactionlog.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewalltransactionlog.ui @@ -64,7 +64,7 @@ </property> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout3</cstring> + <cstring>tqlayout3</cstring> </property> <vbox> <property name="name"> @@ -118,7 +118,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout2</cstring> + <cstring>tqlayout2</cstring> </property> <vbox> <property name="name"> @@ -189,7 +189,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>225</width> <height>20</height> @@ -217,7 +217,7 @@ </property> <widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout4</cstring> + <cstring>tqlayout4</cstring> </property> <vbox> <property name="name"> @@ -262,7 +262,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>201</width> <height>20</height> |