diff options
Diffstat (limited to 'kmyfirewall/ipteditor')
-rw-r--r-- | kmyfirewall/ipteditor/kmfchainedit.cpp | 4 | ||||
-rw-r--r-- | kmyfirewall/ipteditor/kmfchainedit.h | 2 | ||||
-rw-r--r-- | kmyfirewall/ipteditor/kmfipteditorpart.cpp | 18 | ||||
-rw-r--r-- | kmyfirewall/ipteditor/kmfipteditorpart.h | 4 | ||||
-rw-r--r-- | kmyfirewall/ipteditor/kmfnewchaindlg.cpp | 2 | ||||
-rw-r--r-- | kmyfirewall/ipteditor/kmfnewchaindlg.h | 2 | ||||
-rw-r--r-- | kmyfirewall/ipteditor/kmfruleedit.cpp | 6 | ||||
-rw-r--r-- | kmyfirewall/ipteditor/kmfruleedit.h | 2 |
8 files changed, 20 insertions, 20 deletions
diff --git a/kmyfirewall/ipteditor/kmfchainedit.cpp b/kmyfirewall/ipteditor/kmfchainedit.cpp index c83ff2a..1730f43 100644 --- a/kmyfirewall/ipteditor/kmfchainedit.cpp +++ b/kmyfirewall/ipteditor/kmfchainedit.cpp @@ -55,8 +55,8 @@ namespace KMF { -KMFChainEdit::KMFChainEdit( TQWidget* tqparent, const char* name, WFlags fl ) - : KMyFirewallChainEditor( tqparent, name, fl ) {} +KMFChainEdit::KMFChainEdit( TQWidget* parent, const char* name, WFlags fl ) + : KMyFirewallChainEditor( parent, name, fl ) {} KMFChainEdit::~KMFChainEdit() {} void KMFChainEdit::loadChain( IPTChain* chain ) { diff --git a/kmyfirewall/ipteditor/kmfchainedit.h b/kmyfirewall/ipteditor/kmfchainedit.h index f31e31c..2a0208e 100644 --- a/kmyfirewall/ipteditor/kmfchainedit.h +++ b/kmyfirewall/ipteditor/kmfchainedit.h @@ -29,7 +29,7 @@ class KMFChainEdit : public KMyFirewallChainEditor { Q_OBJECT TQ_OBJECT public: - KMFChainEdit( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + KMFChainEdit( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~KMFChainEdit(); void loadChain( IPTChain* ); diff --git a/kmyfirewall/ipteditor/kmfipteditorpart.cpp b/kmyfirewall/ipteditor/kmfipteditorpart.cpp index 0cf4773..2fb2366 100644 --- a/kmyfirewall/ipteditor/kmfipteditorpart.cpp +++ b/kmyfirewall/ipteditor/kmfipteditorpart.cpp @@ -42,16 +42,16 @@ Author: Christian Hubinger <chubinger@irrsinnig.org>, (C) 2001 #include "../core/kmfiptdoc.h" namespace KMF { KMFIPTEditorPart::KMFIPTEditorPart( TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name ) - : KParts::ReadWritePart( tqparent, name ) { + TQObject *parent, const char *name ) + : KParts::ReadWritePart( parent, name ) { KMFMainWindow *app = 0; // we need an instance setInstance( KMFIPTEditorPartFactory::instance() ); - app = dynamic_cast<KMFMainWindow*>( tqparent ); + app = dynamic_cast<KMFMainWindow*>( parent ); if ( ! app ) { - KMessageBox::error(0,"Oops wrong tqparent class found for kmfinstallerplugin!!!"); + KMessageBox::error(0,"Oops wrong parent class found for kmfinstallerplugin!!!"); } // this should be your custom internal widget @@ -125,9 +125,9 @@ void KMFIPTEditorPart::setReadWrite( bool rw ) { } void KMFIPTEditorPart::slotEditDocOptions() { - KMFMainWindow* app = dynamic_cast<KMFMainWindow*>( tqparent() ); + KMFMainWindow* app = dynamic_cast<KMFMainWindow*>( parent() ); if ( ! app ) { - KMessageBox::error(0,"Oops wrong tqparent class found for KMFIPTEditorPart!!!"); + KMessageBox::error(0,"Oops wrong parent class found for KMFIPTEditorPart!!!"); return; } m_editdoc->loadDoc( app->network()->currentDocAsIPTDoc() ); @@ -175,7 +175,7 @@ void KMFIPTEditorPart::setModified( bool modified ) { else save->setEnabled( false ); - // in any event, we want our tqparent to do it's thing + // in any event, we want our parent to do it's thing ReadWritePart::setModified( modified ); } @@ -276,10 +276,10 @@ KMFIPTEditorPartFactory::~KMFIPTEditorPartFactory() { } KParts::Part* KMFIPTEditorPartFactory::createPartObject( TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name, + TQObject *parent, const char *name, const char *classname, const TQStringList& ) { // Create an instance of our Part - KMFIPTEditorPart * obj = new KMFIPTEditorPart( parentWidget, widgetName, tqparent, name ); + KMFIPTEditorPart * obj = new KMFIPTEditorPart( parentWidget, widgetName, parent, name ); // See if we are to be read-write or not if ( TQCString( classname ) == "KParts::ReadOnlyPart" ) diff --git a/kmyfirewall/ipteditor/kmfipteditorpart.h b/kmyfirewall/ipteditor/kmfipteditorpart.h index 21e0a41..29a9d85 100644 --- a/kmyfirewall/ipteditor/kmfipteditorpart.h +++ b/kmyfirewall/ipteditor/kmfipteditorpart.h @@ -47,7 +47,7 @@ public: * Default constructor */ KMFIPTEditorPart(TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name); + TQObject *parent, const char *name); /** * Destructor @@ -113,7 +113,7 @@ public: KMFIPTEditorPartFactory(); virtual ~KMFIPTEditorPartFactory(); virtual KParts::Part* createPartObject( TQWidget *parentWidget, const char *widgetName, - TQObject *tqparent, const char *name, + TQObject *parent, const char *name, const char *classname, const TQStringList &args ); static KInstance* instance(); diff --git a/kmyfirewall/ipteditor/kmfnewchaindlg.cpp b/kmyfirewall/ipteditor/kmfnewchaindlg.cpp index 6e1caaf..4aabb8d 100644 --- a/kmyfirewall/ipteditor/kmfnewchaindlg.cpp +++ b/kmyfirewall/ipteditor/kmfnewchaindlg.cpp @@ -37,7 +37,7 @@ #include "../core/kmfnetwork.h" #include "../core/kmfundoengine.h" namespace KMF { -KMFNewChainDlg::KMFNewChainDlg ( TQWidget *tqparent, const char *name, bool modal, WFlags fl ) : KMyFirewallChainEditorNewChain ( tqparent, name, modal, fl ) { +KMFNewChainDlg::KMFNewChainDlg ( TQWidget *parent, const char *name, bool modal, WFlags fl ) : KMyFirewallChainEditorNewChain ( parent, name, modal, fl ) { kmfdoc = 0; m_err = new KMFError(); m_err_handler = new KMFErrorHandler ( "KMFNewChainDlg" ); diff --git a/kmyfirewall/ipteditor/kmfnewchaindlg.h b/kmyfirewall/ipteditor/kmfnewchaindlg.h index ca8392e..0d9fb83 100644 --- a/kmyfirewall/ipteditor/kmfnewchaindlg.h +++ b/kmyfirewall/ipteditor/kmfnewchaindlg.h @@ -35,7 +35,7 @@ class KMFNewChainDlg : public KMyFirewallChainEditorNewChain { Q_OBJECT TQ_OBJECT public: - KMFNewChainDlg( TQWidget *tqparent = 0, const char *name = 0, bool modal = FALSE, WFlags fl = 0 ); + KMFNewChainDlg( TQWidget *parent = 0, const char *name = 0, bool modal = FALSE, WFlags fl = 0 ); ~KMFNewChainDlg(); void loadDoc( KMFIPTDoc* doc ); diff --git a/kmyfirewall/ipteditor/kmfruleedit.cpp b/kmyfirewall/ipteditor/kmfruleedit.cpp index 1b94cc4..8c90bc2 100644 --- a/kmyfirewall/ipteditor/kmfruleedit.cpp +++ b/kmyfirewall/ipteditor/kmfruleedit.cpp @@ -77,8 +77,8 @@ email : chubinger@irrsinnig.org #include "kmfchainedit.h" #include "kmfnewchaindlg.h" namespace KMF { -KMFRuleEdit::KMFRuleEdit( TQWidget* tqparent, const char* name, WFlags fl ) - : KMyFirewallRuleEditor( tqparent, name, fl ), KMFRuleEditInterface() { +KMFRuleEdit::KMFRuleEdit( TQWidget* parent, const char* name, WFlags fl ) + : KMyFirewallRuleEditor( parent, name, fl ), KMFRuleEditInterface() { if ( !name ) setName( "KMFRuleEdit" ); m_lastDisplayDoc = 0; @@ -963,7 +963,7 @@ void KMFRuleEdit::slotEditChain() { void KMFRuleEdit::slotEditNetwork() { kdDebug() << "void KMFRuleEdit::slotEditNewtwork()" << endl; - // kdDebug() << "Parent is: " << tqparent()->className() << endl; + // kdDebug() << "Parent is: " << parent()->className() << endl; // KMFMyNetworkWidget *wid = new KMFMyNetworkWidget( this, "name" ); // wid->setNetwork( m_network ); // wid->slotUpdateView(); diff --git a/kmyfirewall/ipteditor/kmfruleedit.h b/kmyfirewall/ipteditor/kmfruleedit.h index 0af82eb..2cf8914 100644 --- a/kmyfirewall/ipteditor/kmfruleedit.h +++ b/kmyfirewall/ipteditor/kmfruleedit.h @@ -62,7 +62,7 @@ class KMFRuleEdit : public KMyFirewallRuleEditor, public KMFRuleEditInterface { TQ_OBJECT public: - KMFRuleEdit( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + KMFRuleEdit( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~KMFRuleEdit(); IPTRule* currRule() const { return m_rule; |