diff options
Diffstat (limited to 'kmyfirewall/kmfwidgets')
57 files changed, 110 insertions, 110 deletions
diff --git a/kmyfirewall/kmfwidgets/kmfchecklistitem.cpp b/kmyfirewall/kmfwidgets/kmfchecklistitem.cpp index fdd70fb..2659d6c 100644 --- a/kmyfirewall/kmfwidgets/kmfchecklistitem.cpp +++ b/kmyfirewall/kmfwidgets/kmfchecklistitem.cpp @@ -33,13 +33,13 @@ namespace KMF { -KMFCheckListItem::KMFCheckListItem( TQListView *tqparent, TQListViewItem *after, const TQString& text, Type tt, KMFProtocolUsage* obj ) : TQCheckListItem( tqparent, after, text, tt ) { +KMFCheckListItem::KMFCheckListItem( TQListView *parent, TQListViewItem *after, const TQString& text, Type tt, KMFProtocolUsage* obj ) : TQCheckListItem( parent, after, text, tt ) { loadKMFProtocolUsage( obj ); } -KMFCheckListItem::KMFCheckListItem( TQListViewItem *tqparent, const TQString& text , Type tt, KMFProtocolUsage* obj ) : TQCheckListItem( tqparent, text, tt ) { +KMFCheckListItem::KMFCheckListItem( TQListViewItem *parent, const TQString& text , Type tt, KMFProtocolUsage* obj ) : TQCheckListItem( parent, text, tt ) { loadKMFProtocolUsage( obj ); } -KMFCheckListItem::KMFCheckListItem( TQListViewItem *tqparent, TQListViewItem *after, const TQString& text, Type tt, KMFProtocolUsage* obj ) : TQCheckListItem( tqparent, after, text, tt ) { +KMFCheckListItem::KMFCheckListItem( TQListViewItem *parent, TQListViewItem *after, const TQString& text, Type tt, KMFProtocolUsage* obj ) : TQCheckListItem( parent, after, text, tt ) { loadKMFProtocolUsage( obj ); } diff --git a/kmyfirewall/kmfwidgets/kmfchecklistitem.h b/kmyfirewall/kmfwidgets/kmfchecklistitem.h index 2d8076e..d60e778 100644 --- a/kmyfirewall/kmfwidgets/kmfchecklistitem.h +++ b/kmyfirewall/kmfwidgets/kmfchecklistitem.h @@ -33,9 +33,9 @@ class NetfilterObject; class KDE_EXPORT KMFCheckListItem : public TQCheckListItem { public: - KMFCheckListItem( TQListViewItem *tqparent, const TQString&, Type tt = Controller, KMFProtocolUsage* = 0 ); - KMFCheckListItem( TQListView *tqparent, TQListViewItem *after, const TQString&, Type tt = Controller, KMFProtocolUsage* = 0 ); - KMFCheckListItem( TQListViewItem *tqparent, TQListViewItem *after, const TQString&, Type tt = Controller, KMFProtocolUsage* = 0); + KMFCheckListItem( TQListViewItem *parent, const TQString&, Type tt = Controller, KMFProtocolUsage* = 0 ); + KMFCheckListItem( TQListView *parent, TQListViewItem *after, const TQString&, Type tt = Controller, KMFProtocolUsage* = 0 ); + KMFCheckListItem( TQListViewItem *parent, TQListViewItem *after, const TQString&, Type tt = Controller, KMFProtocolUsage* = 0); ~KMFCheckListItem(); diff --git a/kmyfirewall/kmfwidgets/kmfchecklistoutput.cpp b/kmyfirewall/kmfwidgets/kmfchecklistoutput.cpp index 789b82a..bd39df6 100644 --- a/kmyfirewall/kmfwidgets/kmfchecklistoutput.cpp +++ b/kmyfirewall/kmfwidgets/kmfchecklistoutput.cpp @@ -30,7 +30,7 @@ #include <kiconloader.h> namespace KMF { -KMFCheckListOutput::KMFCheckListOutput( TQWidget *tqparent, const char *name , bool modal, WFlags fl ) : TQDialog( tqparent, name, modal, fl ) { +KMFCheckListOutput::KMFCheckListOutput( TQWidget *parent, const char *name , bool modal, WFlags fl ) : TQDialog( parent, name, modal, fl ) { setCaption( "KMyFirewall" ); TQGridLayout *l_prog = new TQGridLayout( this,4,2,6,11 ); text = new TQLabel( i18n("<qt><b>Trying to guess the system configuration...</b><br>" diff --git a/kmyfirewall/kmfwidgets/kmfchecklistoutput.h b/kmyfirewall/kmfwidgets/kmfchecklistoutput.h index 7e76f1e..cfe72f8 100644 --- a/kmyfirewall/kmfwidgets/kmfchecklistoutput.h +++ b/kmyfirewall/kmfwidgets/kmfchecklistoutput.h @@ -33,7 +33,7 @@ class KDE_EXPORT KMFCheckListOutput : public TQDialog { Q_OBJECT TQ_OBJECT public: - KMFCheckListOutput( TQWidget *tqparent = 0, const char *name = 0, bool modal = FALSE, WFlags fl = 0 ); + KMFCheckListOutput( TQWidget *parent = 0, const char *name = 0, bool modal = FALSE, WFlags fl = 0 ); ~KMFCheckListOutput(); /** diff --git a/kmyfirewall/kmfwidgets/kmfdocumentinfo.cpp b/kmyfirewall/kmfwidgets/kmfdocumentinfo.cpp index c5087b8..f9f5646 100644 --- a/kmyfirewall/kmfwidgets/kmfdocumentinfo.cpp +++ b/kmyfirewall/kmfwidgets/kmfdocumentinfo.cpp @@ -30,8 +30,8 @@ #include "../core/kmfnetwork.h" #include "../core/kmfundoengine.h" namespace KMF { -KMFDocumentInfo::KMFDocumentInfo(TQWidget* tqparent, const char* name, bool modal, WFlags fl) - : KMyFirewallDocumentInfo(tqparent,name, modal,fl) { +KMFDocumentInfo::KMFDocumentInfo(TQWidget* parent, const char* name, bool modal, WFlags fl) + : KMyFirewallDocumentInfo(parent,name, modal,fl) { connect( b_help, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotHelp() ) ); connect( b_saveAsTemplate, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotSaveAsTemplate() ) ); diff --git a/kmyfirewall/kmfwidgets/kmfdocumentinfo.h b/kmyfirewall/kmfwidgets/kmfdocumentinfo.h index 9e47b0c..1d3f0ba 100644 --- a/kmyfirewall/kmfwidgets/kmfdocumentinfo.h +++ b/kmyfirewall/kmfwidgets/kmfdocumentinfo.h @@ -29,7 +29,7 @@ class KDE_EXPORT KMFDocumentInfo : public KMyFirewallDocumentInfo { TQ_OBJECT public: - KMFDocumentInfo(TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + KMFDocumentInfo(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); ~KMFDocumentInfo(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.cpp b/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.cpp index 67ebcf5..f7b77d1 100644 --- a/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.cpp +++ b/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.cpp @@ -69,8 +69,8 @@ #include "../core/kmferrorhandler.h" namespace KMF { -KMFGenericInterfaceEditProtocol::KMFGenericInterfaceEditProtocol( TQWidget *tqparent, const char *name, WFlags f ) - : KMyFirewallGenericInterfaceEditProtocolWidget( tqparent, name, f ) { +KMFGenericInterfaceEditProtocol::KMFGenericInterfaceEditProtocol( TQWidget *parent, const char *name, WFlags f ) + : KMyFirewallGenericInterfaceEditProtocolWidget( parent, name, f ) { // m_protocolsLoaded = false; // m_protocols.clear(); diff --git a/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.h b/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.h index e6b2bb1..5644822 100644 --- a/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.h +++ b/kmyfirewall/kmfwidgets/kmfgenericinterfaceeditprotocol.h @@ -48,7 +48,7 @@ class KMFGenericInterfaceEditProtocol : public KMyFirewallGenericInterfaceEditPr Q_OBJECT TQ_OBJECT public: - KMFGenericInterfaceEditProtocol( TQWidget *tqparent = 0, const char *name = 0, WFlags f = 0 ); + KMFGenericInterfaceEditProtocol( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 ); ~KMFGenericInterfaceEditProtocol(); diff --git a/kmyfirewall/kmfwidgets/kmfhostwidget.cpp b/kmyfirewall/kmfwidgets/kmfhostwidget.cpp index c64ef9f..fb99875 100644 --- a/kmyfirewall/kmfwidgets/kmfhostwidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfhostwidget.cpp @@ -44,10 +44,10 @@ #include "../core/kmfcompilerinterface.h" #include "../core/kmfinstallerinterface.h" namespace KMF { -KMFHostWidget::KMFHostWidget(TQWidget* tqparent, const char* name, WFlags fl ) - : KMyFirewallHostWidget(tqparent, name, fl ) +KMFHostWidget::KMFHostWidget(TQWidget* parent, const char* name, WFlags fl ) + : KMyFirewallHostWidget(parent, name, fl ) { - kdDebug() << "KMFHostWidget::KMFHostWidget(TQWidget* tqparent, const char* name, WFlags fl)" << endl; + kdDebug() << "KMFHostWidget::KMFHostWidget(TQWidget* parent, const char* name, WFlags fl)" << endl; connect( m_sb_host_0, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( slotAddressChanged( int ) ) ); connect( m_sb_host_1, TQT_SIGNAL( valueChanged ( int ) ), diff --git a/kmyfirewall/kmfwidgets/kmfhostwidget.h b/kmyfirewall/kmfwidgets/kmfhostwidget.h index 6e7e0f5..352cfff 100644 --- a/kmyfirewall/kmfwidgets/kmfhostwidget.h +++ b/kmyfirewall/kmfwidgets/kmfhostwidget.h @@ -33,7 +33,7 @@ class KMFHostWidget : public KMyFirewallHostWidget TQ_OBJECT public: - KMFHostWidget(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + KMFHostWidget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~KMFHostWidget(); /*$PUBLIC_FUNCTIONS$*/ void loadHost( KMFTarget *target ); diff --git a/kmyfirewall/kmfwidgets/kmfinterfacewidget.cpp b/kmyfirewall/kmfwidgets/kmfinterfacewidget.cpp index aee018c..47b5622 100644 --- a/kmyfirewall/kmfwidgets/kmfinterfacewidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfinterfacewidget.cpp @@ -38,8 +38,8 @@ #include "../core/kmftargetconfig.h" #include "../core/kmfundoengine.h" namespace KMF { -KMFInterfaceWidget::KMFInterfaceWidget( TQWidget* tqparent, const char* name, WFlags fl ) - : KMyFirewallInterfaceWidget( tqparent, name, fl ) { +KMFInterfaceWidget::KMFInterfaceWidget( TQWidget* parent, const char* name, WFlags fl ) + : KMyFirewallInterfaceWidget( parent, name, fl ) { connect( m_b_add_int, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotAddInterface() ) ); connect( m_b_del_int, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotDelInterface() ) ); diff --git a/kmyfirewall/kmfwidgets/kmfinterfacewidget.h b/kmyfirewall/kmfwidgets/kmfinterfacewidget.h index 888e738..5d00fb1 100644 --- a/kmyfirewall/kmfwidgets/kmfinterfacewidget.h +++ b/kmyfirewall/kmfwidgets/kmfinterfacewidget.h @@ -29,7 +29,7 @@ class KMFInterfaceWidget : public KMyFirewallInterfaceWidget { TQ_OBJECT public: - KMFInterfaceWidget( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + KMFInterfaceWidget( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~KMFInterfaceWidget(); /*$PUBLIC_FUNCTIONS$*/ void addInterface( const TQString& interface ); diff --git a/kmyfirewall/kmfwidgets/kmfiptdocoptions.cpp b/kmyfirewall/kmfwidgets/kmfiptdocoptions.cpp index 9a20f4f..6023d3f 100644 --- a/kmyfirewall/kmfwidgets/kmfiptdocoptions.cpp +++ b/kmyfirewall/kmfwidgets/kmfiptdocoptions.cpp @@ -32,7 +32,7 @@ #include "../core/kmfnetwork.h" #include "../core/kmftarget.h" namespace KMF { -KMFIPTDocOptions::KMFIPTDocOptions( TQWidget *tqparent, const char *name ) : KMyFirewallIPTDocOptions( tqparent, name ) {} +KMFIPTDocOptions::KMFIPTDocOptions( TQWidget *parent, const char *name ) : KMyFirewallIPTDocOptions( parent, name ) {} KMFIPTDocOptions::~KMFIPTDocOptions() {} diff --git a/kmyfirewall/kmfwidgets/kmfiptdocoptions.h b/kmyfirewall/kmfwidgets/kmfiptdocoptions.h index cb19bc9..b3bb508 100644 --- a/kmyfirewall/kmfwidgets/kmfiptdocoptions.h +++ b/kmyfirewall/kmfwidgets/kmfiptdocoptions.h @@ -33,7 +33,7 @@ class KDE_EXPORT KMFIPTDocOptions : public KMyFirewallIPTDocOptions { Q_OBJECT TQ_OBJECT public: - KMFIPTDocOptions( TQWidget *tqparent = 0, const char *name = 0 ); + KMFIPTDocOptions( TQWidget *parent = 0, const char *name = 0 ); ~KMFIPTDocOptions(); void loadDoc( KMFIPTDoc* doc ); diff --git a/kmyfirewall/kmfwidgets/kmfiptdocview.cpp b/kmyfirewall/kmfwidgets/kmfiptdocview.cpp index ea0f063..bd61e86 100644 --- a/kmyfirewall/kmfwidgets/kmfiptdocview.cpp +++ b/kmyfirewall/kmfwidgets/kmfiptdocview.cpp @@ -23,7 +23,7 @@ #include "../core/iptable.h" #include "../core/xmlnames.h" namespace KMF { -KMFIPTDocView::KMFIPTDocView(TQWidget *tqparent, const char *name) : TQTabWidget(tqparent, name) +KMFIPTDocView::KMFIPTDocView(TQWidget *parent, const char *name) : TQTabWidget(parent, name) { loaded = false; m_iptViewFilter = new KMFListView( 0, "view" ); diff --git a/kmyfirewall/kmfwidgets/kmfiptdocview.h b/kmyfirewall/kmfwidgets/kmfiptdocview.h index 8355337..a281cca 100644 --- a/kmyfirewall/kmfwidgets/kmfiptdocview.h +++ b/kmyfirewall/kmfwidgets/kmfiptdocview.h @@ -31,7 +31,7 @@ class KMFIPTDocView : public TQTabWidget Q_OBJECT TQ_OBJECT public: - KMFIPTDocView(TQWidget *tqparent = 0, const char *name = 0); + KMFIPTDocView(TQWidget *parent = 0, const char *name = 0); ~KMFIPTDocView(); diff --git a/kmyfirewall/kmfwidgets/kmfipv4addresswidget.cpp b/kmyfirewall/kmfwidgets/kmfipv4addresswidget.cpp index 0467739..cdfcb96 100644 --- a/kmyfirewall/kmfwidgets/kmfipv4addresswidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfipv4addresswidget.cpp @@ -39,8 +39,8 @@ // Project includes #include "../core/ipaddress.h" namespace KMF { -KMFIPv4AddressWidget::KMFIPv4AddressWidget ( TQWidget* tqparent, const char* name, WFlags fl ) - : KMyFirewallIPv4AdddressWidget ( tqparent,name,fl ) { +KMFIPv4AddressWidget::KMFIPv4AddressWidget ( TQWidget* parent, const char* name, WFlags fl ) + : KMyFirewallIPv4AdddressWidget ( parent,name,fl ) { // m_address = new IPAddress( 0,0,0,0 ); connect( m_sb_from_1, TQT_SIGNAL( valueChanged( const TQString& ) ), diff --git a/kmyfirewall/kmfwidgets/kmfipv4addresswidget.h b/kmyfirewall/kmfwidgets/kmfipv4addresswidget.h index dbe588a..919f21b 100644 --- a/kmyfirewall/kmfwidgets/kmfipv4addresswidget.h +++ b/kmyfirewall/kmfwidgets/kmfipv4addresswidget.h @@ -26,7 +26,7 @@ class KMFIPv4AddressWidget : public KMyFirewallIPv4AdddressWidget { TQ_OBJECT public: - KMFIPv4AddressWidget ( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + KMFIPv4AddressWidget ( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~KMFIPv4AddressWidget(); void loadIPAddress( int, int, int, int ); diff --git a/kmyfirewall/kmfwidgets/kmflistview.cpp b/kmyfirewall/kmfwidgets/kmflistview.cpp index 96a401a..bee3ea1 100644 --- a/kmyfirewall/kmfwidgets/kmflistview.cpp +++ b/kmyfirewall/kmfwidgets/kmflistview.cpp @@ -39,7 +39,7 @@ Author: Christian Hubinger <chubinger@irrsinnig.org>, (C) 2001-2004 #include "../kmyfirewall.h" #include "kmflistviewitem.h" namespace KMF { -KMFListView::KMFListView( TQWidget *tqparent, const char *name ) : KListView( tqparent, name ) { +KMFListView::KMFListView( TQWidget *parent, const char *name ) : KListView( parent, name ) { loadIcons(); connect( this, TQT_SIGNAL( sigLoadNode( NetfilterObject* ) ), this, TQT_SLOT( slotLoadNode( NetfilterObject* ) ) ); @@ -155,11 +155,11 @@ void KMFListView::slotUpdateView( NetfilterObject* obj ) { } else if ( obj->type() == NetfilterObject::CHAIN ) { if ( IPTChain* chain = dynamic_cast<IPTChain*>( obj ) ) { if ( KMFListViewItem* item = findKMFItem( chain->name(), 2, chain->uuid() ) ) { - if ( KMFListViewItem* tqparent = dynamic_cast<KMFListViewItem*>( item->tqparent() ) ) { + if ( KMFListViewItem* parent = dynamic_cast<KMFListViewItem*>( item->parent() ) ) { emit sigLoadNode( m_NetfilterObject ); // kdDebug() << "Starting update for Chain Item..." << endl; setUpdatesEnabled( false ); - setupChainView( chain, tqparent ); + setupChainView( chain, parent ); setUpdatesEnabled( true ); triggerUpdate(); // kdDebug() << "Finished update for Chain Item." << endl; @@ -169,10 +169,10 @@ void KMFListView::slotUpdateView( NetfilterObject* obj ) { } else if ( obj->type() == NetfilterObject::RULE ) { if ( IPTRule* rule = dynamic_cast<IPTRule*>( obj ) ) { if ( KMFListViewItem* item = findKMFItem( rule->name(), 2, rule->uuid()) ) { - if ( KMFListViewItem* tqparent = dynamic_cast<KMFListViewItem*>( item->tqparent() ) ) { + if ( KMFListViewItem* parent = dynamic_cast<KMFListViewItem*>( item->parent() ) ) { // kdDebug() << "Starting update for Rule Item..." << endl; setUpdatesEnabled( false ); - setupRuleView( rule, tqparent ); + setupRuleView( rule, parent ); setUpdatesEnabled( true ); triggerUpdate(); // kdDebug() << "Finished update for Rule Item." << endl; @@ -332,16 +332,16 @@ void KMFListView::setupTableView( IPTable* table ) { item->sort(); } -void KMFListView::setupChainView( IPTChain* chain, KMFListViewItem* tqparent ) { +void KMFListView::setupChainView( IPTChain* chain, KMFListViewItem* parent ) { // kdDebug() << "KMFListView::setupChainView( IPTChain* chain, KMFListViewItem* item )" << endl; - if ( ! chain || ! tqparent ) + if ( ! chain || ! parent ) return ; KMFListViewItem * item = 0; - item = findKMFItem( chain->name(), 2, chain->uuid(), true, tqparent ); + item = findKMFItem( chain->name(), 2, chain->uuid(), true, parent ); if ( ! item ) { // kdDebug() << "No Item for Chain: " << chain->name() << " found.\nNeed to create a new one." << endl; - item = new KMFListViewItem( tqparent, 0, chain ); + item = new KMFListViewItem( parent, 0, chain ); } item->sortChildItems( 0, true ); item->setTopItem( true ); @@ -707,16 +707,16 @@ void KMFListView::setupChainView( IPTChain* chain, KMFListViewItem* tqparent ) { item->sort(); } -void KMFListView::setupRuleView( IPTRule* rule, KMFListViewItem* tqparent ) { +void KMFListView::setupRuleView( IPTRule* rule, KMFListViewItem* parent ) { // kdDebug() << "KMFListView::setupRuleView( IPTRule* rule, KMFListViewItem* item )" << endl; - if ( ! rule || ! tqparent ) + if ( ! rule || ! parent ) return ; KMFListViewItem * item = 0; - item = findKMFItem( rule->name(), 2, rule->uuid(), true, tqparent ); + item = findKMFItem( rule->name(), 2, rule->uuid(), true, parent ); if ( ! item ) { // kdDebug() << "No Item for Rule: " << rule->name() << " found.\nNeed to create a new one." << endl; - item = new KMFListViewItem( tqparent, tqparent, rule ); + item = new KMFListViewItem( parent, parent, rule ); } item->sortChildItems( 0, true ); item->setTopItem( true ); @@ -881,9 +881,9 @@ void KMFListView::setupRuleView( IPTRule* rule, KMFListViewItem* tqparent ) { item->sort(); } -void KMFListView::setupRuleOptionView( IPTRuleOption* option, KMFListViewItem* tqparent ) { -// kdDebug() << "void KMFListView::setupRuleOptionView( IPTRuleOption* option, KMFListViewItem* tqparent )" << endl; - if ( ! option || ! tqparent ) +void KMFListView::setupRuleOptionView( IPTRuleOption* option, KMFListViewItem* parent ) { +// kdDebug() << "void KMFListView::setupRuleOptionView( IPTRuleOption* option, KMFListViewItem* parent )" << endl; + if ( ! option || ! parent ) return ; TQString type = option->getOptionType(); @@ -893,7 +893,7 @@ void KMFListView::setupRuleOptionView( IPTRuleOption* option, KMFListViewItem* t TQString name = ""; KMFListViewItem * item = 0; - item = findKMFItem( option->guiName(), 0, option->uuid(),true,tqparent ); + item = findKMFItem( option->guiName(), 0, option->uuid(),true,parent ); if ( values.count() < 1 || option->isEmpty() ) { if ( item ) { @@ -904,7 +904,7 @@ void KMFListView::setupRuleOptionView( IPTRuleOption* option, KMFListViewItem* t if ( ! item ) { // // kdDebug() << "No Item for Option: " << *gui_strings->at( 0 ) << " found.\nCreateing a new one." << endl; - item = new KMFListViewItem( tqparent, tqparent, option ); + item = new KMFListViewItem( parent, parent, option ); item->setOpen( true ); } diff --git a/kmyfirewall/kmfwidgets/kmflistview.h b/kmyfirewall/kmfwidgets/kmflistview.h index 173d4f7..8211240 100644 --- a/kmyfirewall/kmfwidgets/kmflistview.h +++ b/kmyfirewall/kmfwidgets/kmflistview.h @@ -45,7 +45,7 @@ class KDE_EXPORT KMFListView : public KListView { Q_OBJECT TQ_OBJECT public: - KMFListView( TQWidget *tqparent = 0, const char *name = 0 ); + KMFListView( TQWidget *parent = 0, const char *name = 0 ); ~KMFListView(); diff --git a/kmyfirewall/kmfwidgets/kmflistviewitem.cpp b/kmyfirewall/kmfwidgets/kmflistviewitem.cpp index 1467427..bf1999e 100644 --- a/kmyfirewall/kmfwidgets/kmflistviewitem.cpp +++ b/kmyfirewall/kmfwidgets/kmflistviewitem.cpp @@ -35,22 +35,22 @@ Author: Christian Hubinger <chubinger@irrsinnig.org>, (C) 2001-2004 #include "../core/iptruleoption.h" #include "../core/netfilterobject.h" namespace KMF { -KMFListViewItem::KMFListViewItem( KListView *tqparent, NetfilterObject* obj ) : KListViewItem( tqparent ) { +KMFListViewItem::KMFListViewItem( KListView *parent, NetfilterObject* obj ) : KListViewItem( parent ) { m_top = false; loadNetfilterObject(obj); m_inUse = false; } -KMFListViewItem::KMFListViewItem( KListView *tqparent, KListViewItem *after, NetfilterObject* obj ) : KListViewItem( tqparent, after ) { +KMFListViewItem::KMFListViewItem( KListView *parent, KListViewItem *after, NetfilterObject* obj ) : KListViewItem( parent, after ) { m_top = false; loadNetfilterObject(obj); m_inUse = false; } -KMFListViewItem::KMFListViewItem( KListViewItem *tqparent, NetfilterObject* obj ) : KListViewItem( tqparent ) { +KMFListViewItem::KMFListViewItem( KListViewItem *parent, NetfilterObject* obj ) : KListViewItem( parent ) { m_top = false; loadNetfilterObject(obj); m_inUse = false; } -KMFListViewItem::KMFListViewItem( KListViewItem *tqparent, KListViewItem *after, NetfilterObject* obj ) : KListViewItem( tqparent, after ) { +KMFListViewItem::KMFListViewItem( KListViewItem *parent, KListViewItem *after, NetfilterObject* obj ) : KListViewItem( parent, after ) { m_top = false; loadNetfilterObject(obj); m_inUse = false; diff --git a/kmyfirewall/kmfwidgets/kmflistviewitem.h b/kmyfirewall/kmfwidgets/kmflistviewitem.h index de23e40..6c99a2c 100644 --- a/kmyfirewall/kmfwidgets/kmflistviewitem.h +++ b/kmyfirewall/kmfwidgets/kmflistviewitem.h @@ -42,10 +42,10 @@ class KMFProtocolCategory; class KDE_EXPORT KMFListViewItem : public KListViewItem { public: - KMFListViewItem( KListView *tqparent, NetfilterObject* ); - KMFListViewItem( KListViewItem *tqparent, NetfilterObject* ); - KMFListViewItem( KListView *tqparent, KListViewItem *after, NetfilterObject* ); - KMFListViewItem( KListViewItem *tqparent, KListViewItem *after, NetfilterObject* ); + KMFListViewItem( KListView *parent, NetfilterObject* ); + KMFListViewItem( KListViewItem *parent, NetfilterObject* ); + KMFListViewItem( KListView *parent, KListViewItem *after, NetfilterObject* ); + KMFListViewItem( KListViewItem *parent, KListViewItem *after, NetfilterObject* ); virtual ~KMFListViewItem(); diff --git a/kmyfirewall/kmfwidgets/kmfmainwindow.cpp b/kmyfirewall/kmfwidgets/kmfmainwindow.cpp index 3a3d272..e058667 100644 --- a/kmyfirewall/kmfwidgets/kmfmainwindow.cpp +++ b/kmyfirewall/kmfwidgets/kmfmainwindow.cpp @@ -21,7 +21,7 @@ #include "kmfmainwindow.h" namespace KMF { -KMFMainWindow::KMFMainWindow( TQWidget* tqparent, const char *name ) : KMyFirewallInterface(), KParts::MainWindow( tqparent, name ) {} +KMFMainWindow::KMFMainWindow( TQWidget* parent, const char *name ) : KMyFirewallInterface(), KParts::MainWindow( parent, name ) {} KMFMainWindow::~KMFMainWindow() {} diff --git a/kmyfirewall/kmfwidgets/kmfmainwindow.h b/kmyfirewall/kmfwidgets/kmfmainwindow.h index b13b353..9fa985f 100644 --- a/kmyfirewall/kmfwidgets/kmfmainwindow.h +++ b/kmyfirewall/kmfwidgets/kmfmainwindow.h @@ -36,7 +36,7 @@ class KDE_EXPORT KMFMainWindow : public KParts::MainWindow, virtual public KMyFi TQ_OBJECT public: - KMFMainWindow( TQWidget* tqparent, const char *name ); + KMFMainWindow( TQWidget* parent, const char *name ); virtual ~KMFMainWindow(); signals: void sigUpdateView(); diff --git a/kmyfirewall/kmfwidgets/kmfmultiportwidget.cpp b/kmyfirewall/kmfwidgets/kmfmultiportwidget.cpp index b10e283..2fa5ff0 100644 --- a/kmyfirewall/kmfwidgets/kmfmultiportwidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfmultiportwidget.cpp @@ -26,7 +26,7 @@ #include "../core/kmferror.h" namespace KMF { -KMFMultiPortWidget::KMFMultiPortWidget( TQWidget *tqparent, const char *name ) : KMyFirewallMultiPortWidget( tqparent, name ) { +KMFMultiPortWidget::KMFMultiPortWidget( TQWidget *parent, const char *name ) : KMyFirewallMultiPortWidget( parent, name ) { m_err = new KMFError(); m_err->setErrType( KMFError::OK ); lb_ports->clear(); diff --git a/kmyfirewall/kmfwidgets/kmfmultiportwidget.h b/kmyfirewall/kmfwidgets/kmfmultiportwidget.h index 1da2d1b..0efa0c3 100644 --- a/kmyfirewall/kmfwidgets/kmfmultiportwidget.h +++ b/kmyfirewall/kmfwidgets/kmfmultiportwidget.h @@ -34,7 +34,7 @@ class KDE_EXPORT KMFMultiPortWidget : public KMyFirewallMultiPortWidget { Q_OBJECT TQ_OBJECT public: - KMFMultiPortWidget( TQWidget *tqparent = 0, const char *name = 0 ); + KMFMultiPortWidget( TQWidget *parent = 0, const char *name = 0 ); ~KMFMultiPortWidget(); KMFError* getPortString( TQString* value ); diff --git a/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp b/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp index d57c434..c42fb12 100644 --- a/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfmynetworkwidget.cpp @@ -47,10 +47,10 @@ #include "../kmfwidgets/kmflistviewitem.h" namespace KMF { -KMFMyNetworkWidget::KMFMyNetworkWidget(TQWidget* tqparent, const char* name, WFlags fl) -: KMyFirewallMyNetworkWidget(tqparent,name,fl) +KMFMyNetworkWidget::KMFMyNetworkWidget(TQWidget* parent, const char* name, WFlags fl) +: KMyFirewallMyNetworkWidget(parent,name,fl) { - kdDebug() << "Contructor: KMFMyNetworkWidget::KMFMyNetworkWidget(TQWidget* tqparent, const char* name, WFlags fl)" << endl; + kdDebug() << "Contructor: KMFMyNetworkWidget::KMFMyNetworkWidget(TQWidget* parent, const char* name, WFlags fl)" << endl; m_network = 0; m_contextMenu = new KPopupMenu( this, "m_contextMenu" ); @@ -109,7 +109,7 @@ void KMFMyNetworkWidget::setupPropertiesView() { // TQWidget *zonePropsWidget = new TQWidget( this, "ads" ); -// TQLabel *desc = new TQLabel( i18n("<qt>Define your network zone here by defining the Networks IP and nettqmask.</qt>") , zonePropsWidget, "ad" ); +// TQLabel *desc = new TQLabel( i18n("<qt>Define your network zone here by defining the Networks IP and netmask.</qt>") , zonePropsWidget, "ad" ); // // TQLabel *desc2 = new TQLabel( i18n("Zone Documentation:") , zonePropsWidget, "ad" ); // diff --git a/kmyfirewall/kmfwidgets/kmfmynetworkwidget.h b/kmyfirewall/kmfwidgets/kmfmynetworkwidget.h index 8a840a4..87dea1c 100644 --- a/kmyfirewall/kmfwidgets/kmfmynetworkwidget.h +++ b/kmyfirewall/kmfwidgets/kmfmynetworkwidget.h @@ -45,7 +45,7 @@ class KMFMyNetworkWidget : public KMyFirewallMyNetworkWidget TQ_OBJECT public: - KMFMyNetworkWidget(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + KMFMyNetworkWidget(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~KMFMyNetworkWidget(); /*$PUBLIC_FUNCTIONS$*/ void saveConfig(); diff --git a/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.cpp b/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.cpp index 50c4dbe..6e50797 100644 --- a/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.cpp @@ -44,8 +44,8 @@ #include "kmfipv4addresswidget.h" namespace KMF { -KMFNetHostPropertiesWidget::KMFNetHostPropertiesWidget ( TQWidget* tqparent, const char* name, WFlags fl ) - : KMyFirewallNetHostProperties ( tqparent,name,fl ) { +KMFNetHostPropertiesWidget::KMFNetHostPropertiesWidget ( TQWidget* parent, const char* name, WFlags fl ) + : KMyFirewallNetHostProperties ( parent,name,fl ) { m_address_widget = new KMFIPv4AddressWidget( m_frameAddress, "m_address_widget" ); diff --git a/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.h b/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.h index 4797f23..e828157 100644 --- a/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.h +++ b/kmyfirewall/kmfwidgets/kmfnethostpropertieswidget.h @@ -27,7 +27,7 @@ class KMFNetHostPropertiesWidget : public KMyFirewallNetHostProperties { TQ_OBJECT public: - KMFNetHostPropertiesWidget ( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + KMFNetHostPropertiesWidget ( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~KMFNetHostPropertiesWidget(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/kmyfirewall/kmfwidgets/kmfnetworkwidget.cpp b/kmyfirewall/kmfwidgets/kmfnetworkwidget.cpp index 21cecc1..be43b03 100644 --- a/kmyfirewall/kmfwidgets/kmfnetworkwidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfnetworkwidget.cpp @@ -26,8 +26,8 @@ namespace KMF { -KMFNetworkWidget::KMFNetworkWidget(TQWidget *tqparent, const char *name) - : KMyFirewallNetworkWidget(tqparent, name) { +KMFNetworkWidget::KMFNetworkWidget(TQWidget *parent, const char *name) + : KMyFirewallNetworkWidget(parent, name) { m_allowEdit = true; connect( m_sb_from_1,TQT_SIGNAL( valueChanged( const TQString& ) ), this,TQT_SLOT( slotAddressChanged( const TQString& ) ) ); @@ -38,7 +38,7 @@ KMFNetworkWidget::KMFNetworkWidget(TQWidget *tqparent, const char *name) connect( m_sb_from_4,TQT_SIGNAL( valueChanged( const TQString& ) ), this,TQT_SLOT( slotAddressChanged( const TQString& ) ) ); - connect( m_sb_tqmask,TQT_SIGNAL( valueChanged( int ) ), + connect( m_sb_mask,TQT_SIGNAL( valueChanged( int ) ), this,TQT_SLOT( slotShortMaskChanged( int ) ) ); connect( m_txt_desc,TQT_SIGNAL( textChanged() ), @@ -63,18 +63,18 @@ void KMFNetworkWidget::loadZone( KMFNetZone* zone ) { m_sb_from_2->setEnabled( true ); m_sb_from_3->setEnabled( true ); m_sb_from_4->setEnabled( true ); - m_sb_tqmask->setEnabled( true ); + m_sb_mask->setEnabled( true ); m_sb_from_1->setValue( zone->address()->getDigit( 0 ) ); m_sb_from_2->setValue( zone->address()->getDigit( 1 ) ); m_sb_from_3->setValue( zone->address()->getDigit( 2 ) ); m_sb_from_4->setValue( zone->address()->getDigit( 3 ) ); - lbl_tqmask->setText( zone->tqmask()->toString() ); + lbl_mask->setText( zone->mask()->toString() ); if ( zone->description() != m_txt_desc->text().simplifyWhiteSpace() ) { m_txt_desc->setText( zone->description() ); } - m_sb_tqmask->setValue( IPAddress::calcLenthToMask( *zone->tqmask() ) ); + m_sb_mask->setValue( IPAddress::calcLenthToMask( *zone->mask() ) ); blockAllSignals( false ); } @@ -113,11 +113,11 @@ void KMFNetworkWidget::slotShortMaskChanged( int len ) { kdDebug() << "void KMFNetworkWidget::slotShortMaskChanged( const TQString& )" << endl; IPAddress addr = IPAddress::calcNetworkMaskFromLength( len ); blockAllSignals( true ); - lbl_tqmask->setText( addr.toString() ); + lbl_mask->setText( addr.toString() ); if ( m_allowEdit && m_zone->maskLength() != len ) { KMFUndoEngine::instance()->startTransaction( m_zone->rootZone(), - i18n( "Change tqmask length of Zone: %1" ).tqarg( m_zone->guiName() ) + i18n( "Change mask length of Zone: %1" ).tqarg( m_zone->guiName() ) ); m_zone->setMaskLength( len ); m_zone->rootZone()->refreshNetworkTree(); @@ -159,7 +159,7 @@ void KMFNetworkWidget::blockAllSignals( bool onOff ) { m_sb_from_3->blockSignals( onOff ); m_sb_from_4->blockSignals( onOff ); m_txt_desc->blockSignals( onOff ); - m_sb_tqmask->blockSignals( onOff ); + m_sb_mask->blockSignals( onOff ); } void KMFNetworkWidget::allowEdit( bool allow ) { @@ -169,7 +169,7 @@ void KMFNetworkWidget::allowEdit( bool allow ) { m_sb_from_3->setEnabled( allow ); m_sb_from_4->setEnabled( allow ); m_txt_desc->setEnabled( allow ); - m_sb_tqmask->setEnabled( allow ); + m_sb_mask->setEnabled( allow ); } } diff --git a/kmyfirewall/kmfwidgets/kmfnetworkwidget.h b/kmyfirewall/kmfwidgets/kmfnetworkwidget.h index 52e41e9..085d091 100644 --- a/kmyfirewall/kmfwidgets/kmfnetworkwidget.h +++ b/kmyfirewall/kmfwidgets/kmfnetworkwidget.h @@ -36,7 +36,7 @@ class KDE_EXPORT KMFNetworkWidget : public KMyFirewallNetworkWidget { Q_OBJECT TQ_OBJECT public: - KMFNetworkWidget(TQWidget *tqparent = 0, const char *name = 0); + KMFNetworkWidget(TQWidget *parent = 0, const char *name = 0); ~KMFNetworkWidget(); void loadZone( KMFNetZone* ); diff --git a/kmyfirewall/kmfwidgets/kmfnewdocdlg.cpp b/kmyfirewall/kmfwidgets/kmfnewdocdlg.cpp index df366c4..581323d 100644 --- a/kmyfirewall/kmfwidgets/kmfnewdocdlg.cpp +++ b/kmyfirewall/kmfwidgets/kmfnewdocdlg.cpp @@ -31,7 +31,7 @@ #include "kstandarddirs.h" #include "kdebug.h" namespace KMF { -KMFNewDocDlg::KMFNewDocDlg( TQWidget *tqparent, const char *name, WFlags fl ) : KMyFirewallNewDocument( tqparent, name, fl ) { +KMFNewDocDlg::KMFNewDocDlg( TQWidget *parent, const char *name, WFlags fl ) : KMyFirewallNewDocument( parent, name, fl ) { KStandardDirs std_dir; TQString dir = std_dir.findResource( "data", "kmyfirewall/pics/splash_cut.png" ); kdDebug() << "Found Splashscreen at: " << dir << endl; diff --git a/kmyfirewall/kmfwidgets/kmfnewdocdlg.h b/kmyfirewall/kmfwidgets/kmfnewdocdlg.h index fc21c1d..299a137 100644 --- a/kmyfirewall/kmfwidgets/kmfnewdocdlg.h +++ b/kmyfirewall/kmfwidgets/kmfnewdocdlg.h @@ -31,7 +31,7 @@ class KDE_EXPORT KMFNewDocDlg : public KMyFirewallNewDocument { Q_OBJECT TQ_OBJECT public: - KMFNewDocDlg(TQWidget *tqparent=0, const char *name=0, WFlags fl = 0); + KMFNewDocDlg(TQWidget *parent=0, const char *name=0, WFlags fl = 0); ~KMFNewDocDlg(); diff --git a/kmyfirewall/kmfwidgets/kmfobjectinfo.cpp b/kmyfirewall/kmfwidgets/kmfobjectinfo.cpp index 586eb8f..1c76d49 100644 --- a/kmyfirewall/kmfwidgets/kmfobjectinfo.cpp +++ b/kmyfirewall/kmfwidgets/kmfobjectinfo.cpp @@ -35,7 +35,7 @@ #include "../core/kmfnetwork.h" #include "../core/kmfundoengine.h" namespace KMF { -KMFObjectInfo::KMFObjectInfo(TQWidget *tqparent, const char *name, bool modal ) : KMyFirewallObjectInfo(tqparent, name, modal) { +KMFObjectInfo::KMFObjectInfo(TQWidget *parent, const char *name, bool modal ) : KMyFirewallObjectInfo(parent, name, modal) { } KMFObjectInfo::~KMFObjectInfo(){ diff --git a/kmyfirewall/kmfwidgets/kmfobjectinfo.h b/kmyfirewall/kmfwidgets/kmfobjectinfo.h index 2a663db..fa3976d 100644 --- a/kmyfirewall/kmfwidgets/kmfobjectinfo.h +++ b/kmyfirewall/kmfwidgets/kmfobjectinfo.h @@ -32,7 +32,7 @@ class KDE_EXPORT KMFObjectInfo : public KMyFirewallObjectInfo { Q_OBJECT TQ_OBJECT public: - KMFObjectInfo(TQWidget *tqparent=0, const char *name=0, bool modal=false); + KMFObjectInfo(TQWidget *parent=0, const char *name=0, bool modal=false); ~KMFObjectInfo(); void loadNetfilterObject( NetfilterObject* ); diff --git a/kmyfirewall/kmfwidgets/kmfportwidget.cpp b/kmyfirewall/kmfwidgets/kmfportwidget.cpp index b7f577d..ce63595 100644 --- a/kmyfirewall/kmfwidgets/kmfportwidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfportwidget.cpp @@ -27,7 +27,7 @@ #include "../core/kmferror.h" namespace KMF { -KMFPortWidget::KMFPortWidget( TQWidget *tqparent, const char *name ) : KMyFirewallPortWidget( tqparent, name ) { +KMFPortWidget::KMFPortWidget( TQWidget *parent, const char *name ) : KMyFirewallPortWidget( parent, name ) { m_err = new KMFError(); m_err->setErrType( KMFError::OK ); m_err->setErrMsg( "" ); diff --git a/kmyfirewall/kmfwidgets/kmfportwidget.h b/kmyfirewall/kmfwidgets/kmfportwidget.h index 5c321c9..f73c858 100644 --- a/kmyfirewall/kmfwidgets/kmfportwidget.h +++ b/kmyfirewall/kmfwidgets/kmfportwidget.h @@ -31,7 +31,7 @@ class KDE_EXPORT KMFPortWidget : public KMyFirewallPortWidget { Q_OBJECT TQ_OBJECT public: - KMFPortWidget( TQWidget *tqparent = 0, const char *name = 0 ); + KMFPortWidget( TQWidget *parent = 0, const char *name = 0 ); ~KMFPortWidget(); KMFError* getPortString( TQString* value ); void loadPortString( TQString& ); diff --git a/kmyfirewall/kmfwidgets/kmfprocout.cpp b/kmyfirewall/kmfwidgets/kmfprocout.cpp index 576364e..4e99929 100644 --- a/kmyfirewall/kmfwidgets/kmfprocout.cpp +++ b/kmyfirewall/kmfwidgets/kmfprocout.cpp @@ -33,7 +33,7 @@ // Project Includes #include "../core/xmlnames.h" namespace KMF { -KMFProcOut::KMFProcOut( TQWidget *tqparent, const char *name, WFlags fl ) : TQWidget( tqparent, name, fl ) { +KMFProcOut::KMFProcOut( TQWidget *parent, const char *name, WFlags fl ) : TQWidget( parent, name, fl ) { stderrbuf = new TQString( "" ); stdoutbuf = new TQString( "" ); m_job_name = XML::Undefined_Value; diff --git a/kmyfirewall/kmfwidgets/kmfprocout.h b/kmyfirewall/kmfwidgets/kmfprocout.h index 7e93525..5ec408a 100644 --- a/kmyfirewall/kmfwidgets/kmfprocout.h +++ b/kmyfirewall/kmfwidgets/kmfprocout.h @@ -37,7 +37,7 @@ class KDE_EXPORT KMFProcOut : public TQWidget { Q_OBJECT TQ_OBJECT public: - KMFProcOut( TQWidget *tqparent = 0, const char *name = 0, WFlags fl = 0 ); + KMFProcOut( TQWidget *parent = 0, const char *name = 0, WFlags fl = 0 ); ~KMFProcOut(); bool isRunning(); diff --git a/kmyfirewall/kmfwidgets/kmfprotocollistview.cpp b/kmyfirewall/kmfwidgets/kmfprotocollistview.cpp index b167ae4..48e14d1 100644 --- a/kmyfirewall/kmfwidgets/kmfprotocollistview.cpp +++ b/kmyfirewall/kmfwidgets/kmfprotocollistview.cpp @@ -46,8 +46,8 @@ #include "../kmfwidgets/kmflistviewitem.h" #include "../kmfwidgets/kmfchecklistitem.h" namespace KMF { -KMFProtocolListView::KMFProtocolListView ( TQWidget* tqparent, const char* name, WFlags fl ) - : KMyFirewallProtocolListView ( tqparent,name,fl ) { +KMFProtocolListView::KMFProtocolListView ( TQWidget* parent, const char* name, WFlags fl ) + : KMyFirewallProtocolListView ( parent,name,fl ) { m_reloading = false; loadProtocols(); connect( m_lv_protocols, TQT_SIGNAL( pressed( TQListViewItem* ) ), diff --git a/kmyfirewall/kmfwidgets/kmfprotocollistview.h b/kmyfirewall/kmfwidgets/kmfprotocollistview.h index a0dbdcb..b42544b 100644 --- a/kmyfirewall/kmfwidgets/kmfprotocollistview.h +++ b/kmyfirewall/kmfwidgets/kmfprotocollistview.h @@ -36,7 +36,7 @@ class KMFProtocolListView : public KMyFirewallProtocolListView { TQ_OBJECT public: - KMFProtocolListView ( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + KMFProtocolListView ( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~KMFProtocolListView(); /*$PUBLIC_FUNCTIONS$*/ void setHost( KMFNetHost* host ); diff --git a/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.cpp b/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.cpp index f0d23c9..8de1b62 100644 --- a/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.cpp +++ b/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.cpp @@ -43,8 +43,8 @@ #include "../core/kmfprotocolusage.h" #include "../core/kmfprotocolcategory.h" namespace KMF { -KMFProtocolPropertiesWidget::KMFProtocolPropertiesWidget ( TQWidget* tqparent, const char* name, WFlags fl ) - : KMyFirewallProtocolPropertiesWidget ( tqparent,name,fl ) { +KMFProtocolPropertiesWidget::KMFProtocolPropertiesWidget ( TQWidget* parent, const char* name, WFlags fl ) + : KMyFirewallProtocolPropertiesWidget ( parent,name,fl ) { connect( m_cb_limit, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotEnableProtocolLimit( bool ) ) ); diff --git a/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.h b/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.h index 217ed63..1c54055 100644 --- a/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.h +++ b/kmyfirewall/kmfwidgets/kmfprotocolpropertieswidget.h @@ -32,7 +32,7 @@ class KMFProtocolPropertiesWidget : public KMyFirewallProtocolPropertiesWidget { TQ_OBJECT public: - KMFProtocolPropertiesWidget ( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + KMFProtocolPropertiesWidget ( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~KMFProtocolPropertiesWidget(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/kmyfirewall/kmfwidgets/kmfqtdesignerplugin.cpp b/kmyfirewall/kmfwidgets/kmfqtdesignerplugin.cpp index dc49d62..bb366a6 100644 --- a/kmyfirewall/kmfwidgets/kmfqtdesignerplugin.cpp +++ b/kmyfirewall/kmfwidgets/kmfqtdesignerplugin.cpp @@ -31,9 +31,9 @@ TQStringList KMFTQTDesignerPlugin::keys() const { return list; } -TQWidget* KMFTQTDesignerPlugin::create ( const TQString &key, TQWidget* tqparent, const char* name ) { +TQWidget* KMFTQTDesignerPlugin::create ( const TQString &key, TQWidget* parent, const char* name ) { if ( key == "KMFIPv4AddressWidget" ) - return new KMFIPv4AddressWidget ( tqparent, name ); + return new KMFIPv4AddressWidget ( parent, name ); return 0; } diff --git a/kmyfirewall/kmfwidgets/kmfqtdesignerplugin.h b/kmyfirewall/kmfwidgets/kmfqtdesignerplugin.h index 98e73ca..2839461 100644 --- a/kmyfirewall/kmfwidgets/kmfqtdesignerplugin.h +++ b/kmyfirewall/kmfwidgets/kmfqtdesignerplugin.h @@ -31,7 +31,7 @@ public: KMFTQTDesignerPlugin(); ~KMFTQTDesignerPlugin(); TQStringList keys() const; - TQWidget* create( const TQString &classname, TQWidget* tqparent = 0, const char* name = 0 ); + TQWidget* create( const TQString &classname, TQWidget* parent = 0, const char* name = 0 ); TQString group( const TQString& ) const; TQIconSet iconSet( const TQString& ) const; TQString includeFile( const TQString& ) const; diff --git a/kmyfirewall/kmfwidgets/kmfselectactivetarget.cpp b/kmyfirewall/kmfwidgets/kmfselectactivetarget.cpp index 7e0b250..bd9514b 100644 --- a/kmyfirewall/kmfwidgets/kmfselectactivetarget.cpp +++ b/kmyfirewall/kmfwidgets/kmfselectactivetarget.cpp @@ -84,8 +84,8 @@ KMFTarget * KMFSelectActiveTarget::selectTarget( KMFNetwork* network, const TQSt //##### end static -KMFSelectActiveTarget::KMFSelectActiveTarget ( TQWidget* tqparent, const char* name, bool modal, WFlags fl ) - : KMyFirewallSelectActiveTarget ( tqparent,name,modal,fl ) +KMFSelectActiveTarget::KMFSelectActiveTarget ( TQWidget* parent, const char* name, bool modal, WFlags fl ) + : KMyFirewallSelectActiveTarget ( parent,name,modal,fl ) { m_cmd_ok->setEnabled( false ); diff --git a/kmyfirewall/kmfwidgets/kmfselectactivetarget.h b/kmyfirewall/kmfwidgets/kmfselectactivetarget.h index ee32559..ae7ffbc 100644 --- a/kmyfirewall/kmfwidgets/kmfselectactivetarget.h +++ b/kmyfirewall/kmfwidgets/kmfselectactivetarget.h @@ -32,7 +32,7 @@ class KMFSelectActiveTarget : public KMyFirewallSelectActiveTarget public: static KMFTarget* selectTarget( KMFNetwork* network, const TQString& msg ); public: - KMFSelectActiveTarget ( TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + KMFSelectActiveTarget ( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); ~KMFSelectActiveTarget(); /*$PUBLIC_FUNCTIONS$*/ void loadNetwork( KMFNetwork* ); diff --git a/kmyfirewall/kmfwidgets/kmfselectinterface.cpp b/kmyfirewall/kmfwidgets/kmfselectinterface.cpp index 4f45ea4..f2517f6 100644 --- a/kmyfirewall/kmfwidgets/kmfselectinterface.cpp +++ b/kmyfirewall/kmfwidgets/kmfselectinterface.cpp @@ -30,8 +30,8 @@ // Project Includes #include "../core/kmfconfig.h" namespace KMF { -KMFSelectInterface::KMFSelectInterface( TQWidget *tqparent, const char *name, bool modal, WFlags fl ) - : KMyFirewallSelectInterface( tqparent, name, modal, fl ) { +KMFSelectInterface::KMFSelectInterface( TQWidget *parent, const char *name, bool modal, WFlags fl ) + : KMyFirewallSelectInterface( parent, name, modal, fl ) { m_cob_interface->setBackgroundMode( PaletteBase, PaletteBase ); // m_opt_showOnStartup->setBackgroundMode( PaletteButton ); m_cob_interface->setBackgroundColor( TQColor( 204, 0, 49 ) ); diff --git a/kmyfirewall/kmfwidgets/kmfselectinterface.h b/kmyfirewall/kmfwidgets/kmfselectinterface.h index 5aa067b..02baa76 100644 --- a/kmyfirewall/kmfwidgets/kmfselectinterface.h +++ b/kmyfirewall/kmfwidgets/kmfselectinterface.h @@ -30,7 +30,7 @@ class KDE_EXPORT KMFSelectInterface : public KMyFirewallSelectInterface { TQ_OBJECT public: - KMFSelectInterface( TQWidget *tqparent = 0, const char *name = 0, bool modal = true, WFlags fl = 0 ); + KMFSelectInterface( TQWidget *parent = 0, const char *name = 0, bool modal = true, WFlags fl = 0 ); ~KMFSelectInterface(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/kmyfirewall/kmfwidgets/kmfsystemsettingslinux.cpp b/kmyfirewall/kmfwidgets/kmfsystemsettingslinux.cpp index e08e461..993a99f 100644 --- a/kmyfirewall/kmfwidgets/kmfsystemsettingslinux.cpp +++ b/kmyfirewall/kmfwidgets/kmfsystemsettingslinux.cpp @@ -39,8 +39,8 @@ #include "../core/kmftargetconfig.h" #include "../core/kmfundoengine.h" namespace KMF { -KMFSystemSettingsLinux::KMFSystemSettingsLinux(TQWidget* tqparent, const char* name, WFlags fl) -: KMyFirewallSystemSettingsLinux(tqparent,name,fl) +KMFSystemSettingsLinux::KMFSystemSettingsLinux(TQWidget* parent, const char* name, WFlags fl) +: KMyFirewallSystemSettingsLinux(parent,name,fl) { m_url_ipt_path->setMode( KFile::Files | KFile::LocalOnly ); m_url_mod_path->setMode( KFile::Files | KFile::LocalOnly ); diff --git a/kmyfirewall/kmfwidgets/kmfsystemsettingslinux.h b/kmyfirewall/kmfwidgets/kmfsystemsettingslinux.h index 2dcefd7..1a6d696 100644 --- a/kmyfirewall/kmfwidgets/kmfsystemsettingslinux.h +++ b/kmyfirewall/kmfwidgets/kmfsystemsettingslinux.h @@ -28,7 +28,7 @@ class KMFSystemSettingsLinux : public KMyFirewallSystemSettingsLinux TQ_OBJECT public: - KMFSystemSettingsLinux(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + KMFSystemSettingsLinux(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~KMFSystemSettingsLinux(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp b/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp index eb0274b..c1e4c27 100644 --- a/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp +++ b/kmyfirewall/kmfwidgets/kmftemplatechooser.cpp @@ -33,7 +33,7 @@ #include "kmftemplatechooser.h" namespace KMF { -KMFTemplateChooser::KMFTemplateChooser(TQWidget* tqparent, const char* name, bool modal, WFlags fl) : KMyFirewallTemplateChooser(tqparent,name, modal,fl) { +KMFTemplateChooser::KMFTemplateChooser(TQWidget* parent, const char* name, bool modal, WFlags fl) : KMyFirewallTemplateChooser(parent,name, modal,fl) { connect( lb_templates, TQT_SIGNAL( highlighted ( int ) ), this, TQT_SLOT( slotNewTemplateSelected( int ) ) ); connect( lb_templates, TQT_SIGNAL( doubleClicked( TQListBoxItem* ) ), diff --git a/kmyfirewall/kmfwidgets/kmftemplatechooser.h b/kmyfirewall/kmfwidgets/kmftemplatechooser.h index 5421709..d295d50 100644 --- a/kmyfirewall/kmfwidgets/kmftemplatechooser.h +++ b/kmyfirewall/kmfwidgets/kmftemplatechooser.h @@ -33,7 +33,7 @@ class KDE_EXPORT KMFTemplateChooser : public KMyFirewallTemplateChooser { TQ_OBJECT public: - KMFTemplateChooser(TQWidget* tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + KMFTemplateChooser(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); ~KMFTemplateChooser(); /*$PUBLIC_FUNCTIONS$*/ diff --git a/kmyfirewall/kmfwidgets/kmftransactionlog.cpp b/kmyfirewall/kmfwidgets/kmftransactionlog.cpp index 0121e5d..7d1e85f 100644 --- a/kmyfirewall/kmfwidgets/kmftransactionlog.cpp +++ b/kmyfirewall/kmfwidgets/kmftransactionlog.cpp @@ -47,7 +47,7 @@ KMFTransactionLog* KMFTransactionLog::instance() { return s_instance; } -KMFTransactionLog::KMFTransactionLog ( TQWidget* tqparent, const char* name, WFlags fl ) : KMyFirewallTransactionLog ( tqparent,name,fl ) { +KMFTransactionLog::KMFTransactionLog ( TQWidget* parent, const char* name, WFlags fl ) : KMyFirewallTransactionLog ( parent,name,fl ) { m_contextMenu = new KPopupMenu( this, "m_contextMenu" ); m_currentTransaction = 0; m_undoXMLFile = new KTempFile(); diff --git a/kmyfirewall/kmfwidgets/kmftransactionlog.h b/kmyfirewall/kmfwidgets/kmftransactionlog.h index 8c3c251..1ab317f 100644 --- a/kmyfirewall/kmfwidgets/kmftransactionlog.h +++ b/kmyfirewall/kmfwidgets/kmftransactionlog.h @@ -54,7 +54,7 @@ class KMFTransactionLog : public KMyFirewallTransactionLog void slotShowDiff(); void slotKompareExited( KProcess* ); private: - KMFTransactionLog ( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + KMFTransactionLog ( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); KListViewItem* setupListItem( KMFTransaction*, KListView*, KListViewItem*); // DATA diff --git a/kmyfirewall/kmfwidgets/kmyfirewallnetworkwidget.ui b/kmyfirewall/kmfwidgets/kmyfirewallnetworkwidget.ui index 3b0aaa4..43e3800 100644 --- a/kmyfirewall/kmfwidgets/kmyfirewallnetworkwidget.ui +++ b/kmyfirewall/kmfwidgets/kmyfirewallnetworkwidget.ui @@ -201,7 +201,7 @@ </property> <widget class="KIntSpinBox"> <property name="name"> - <cstring>m_sb_tqmask</cstring> + <cstring>m_sb_mask</cstring> </property> <property name="enabled"> <bool>false</bool> @@ -256,7 +256,7 @@ </widget> <widget class="TQLabel"> <property name="name"> - <cstring>lbl_tqmask</cstring> + <cstring>lbl_mask</cstring> </property> <property name="sizePolicy"> <sizepolicy> |