diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 51237d500f7cd6502e8fd8641b8d5b32bd49f640 (patch) | |
tree | b654bcac17c0dc27efcee6a2589b8d0ff2584ac6 /kmyfirewall/ruleoptionplugins/tos_option/kmfruleoptionedittos.cpp | |
parent | 299d556caf2782c99682b72a528fb1fd9fe948d2 (diff) | |
download | kmyfirewall-51237d500f7cd6502e8fd8641b8d5b32bd49f640.tar.gz kmyfirewall-51237d500f7cd6502e8fd8641b8d5b32bd49f640.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmyfirewall@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmyfirewall/ruleoptionplugins/tos_option/kmfruleoptionedittos.cpp')
-rw-r--r-- | kmyfirewall/ruleoptionplugins/tos_option/kmfruleoptionedittos.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmyfirewall/ruleoptionplugins/tos_option/kmfruleoptionedittos.cpp b/kmyfirewall/ruleoptionplugins/tos_option/kmfruleoptionedittos.cpp index 94af477..681957a 100644 --- a/kmyfirewall/ruleoptionplugins/tos_option/kmfruleoptionedittos.cpp +++ b/kmyfirewall/ruleoptionplugins/tos_option/kmfruleoptionedittos.cpp @@ -37,10 +37,10 @@ #include "kmfruleeditortos.h" namespace KMF { -KMFRuleOptionEditTos::KMFRuleOptionEditTos(TQObject *tqparent, const char *name) - : KMFRuleOptionEditInterface(tqparent, name) { - kdDebug() <<"KMFRuleOptionEditTos::KMFRuleOptionEditTos(TQObject *tqparent, const char *name)" << endl; - kdDebug() << "Parent has Type: " << tqparent->className() << endl; +KMFRuleOptionEditTos::KMFRuleOptionEditTos(TQObject *parent, const char *name) + : KMFRuleOptionEditInterface(parent, name) { + kdDebug() <<"KMFRuleOptionEditTos::KMFRuleOptionEditTos(TQObject *parent, const char *name)" << endl; + kdDebug() << "Parent has Type: " << parent->className() << endl; m_edit = new KMFRuleEditorTos( 0 , "Edit", 0 ); m_edit->hide(); @@ -53,10 +53,10 @@ KMFRuleOptionEditTos::~KMFRuleOptionEditTos() {} void KMFRuleOptionEditTos::slotShowOverview() { - if ( KMFRuleEditInterface* ruleedit = dynamic_cast<KMFRuleEditInterface*> ( tqparent() ) ) { + if ( KMFRuleEditInterface* ruleedit = dynamic_cast<KMFRuleEditInterface*> ( parent() ) ) { ruleedit->showOverview(); } else { - kdDebug() << "KMFRuleOptionEditTos::slotShowOverview(): tqparent() not of type KMFRuleEditInterface" << endl; + kdDebug() << "KMFRuleOptionEditTos::slotShowOverview(): parent() not of type KMFRuleEditInterface" << endl; } } @@ -99,14 +99,14 @@ TQWidget* KMFRuleOptionEditTos::editWidget() { // KInstance* KMFRuleOptionEditTosFactory::s_instance = 0L; // KAboutData* KMFRuleOptionEditTosFactory::s_about = 0L; -KMFRuleOptionEditTosFactory::KMFRuleOptionEditTosFactory( TQObject* tqparent, const char* name ) - : KLibFactory( tqparent, name ) { +KMFRuleOptionEditTosFactory::KMFRuleOptionEditTosFactory( TQObject* parent, const char* name ) + : KLibFactory( parent, name ) { // s_instance = new KInstance( "KMFRuleOptionEditTosFactory" ); } -TQObject* KMFRuleOptionEditTosFactory::createObject( TQObject* tqparent, const char* name, +TQObject* KMFRuleOptionEditTosFactory::createObject( TQObject* parent, const char* name, const char*, const TQStringList & ) { - TQObject * obj = new KMFRuleOptionEditTos( tqparent, name ); + TQObject * obj = new KMFRuleOptionEditTos( parent, name ); emit objectCreated( obj ); return obj; } |