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/log_target_option/kmfruletargetoptioneditlog.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/log_target_option/kmfruletargetoptioneditlog.cpp')
-rw-r--r-- | kmyfirewall/ruleoptionplugins/log_target_option/kmfruletargetoptioneditlog.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmyfirewall/ruleoptionplugins/log_target_option/kmfruletargetoptioneditlog.cpp b/kmyfirewall/ruleoptionplugins/log_target_option/kmfruletargetoptioneditlog.cpp index 074e8ad..ce632c6 100644 --- a/kmyfirewall/ruleoptionplugins/log_target_option/kmfruletargetoptioneditlog.cpp +++ b/kmyfirewall/ruleoptionplugins/log_target_option/kmfruletargetoptioneditlog.cpp @@ -25,14 +25,14 @@ #include "kmfruleedittargetlog.h" namespace KMF { -KMFRuleTargetOptionEditLog::KMFRuleTargetOptionEditLog(TQObject *tqparent, const char *name) - : KMFRuleTargetOptionEditInterface(tqparent, name) { - kdDebug() <<"KMFRuleTargetOptionEditLog::KMFRuleTargetOptionEditLog(TQObject *tqparent, const char *name)" << endl; +KMFRuleTargetOptionEditLog::KMFRuleTargetOptionEditLog(TQObject *parent, const char *name) + : KMFRuleTargetOptionEditInterface(parent, name) { + kdDebug() <<"KMFRuleTargetOptionEditLog::KMFRuleTargetOptionEditLog(TQObject *parent, const char *name)" << endl; m_managedTargets << "LOG"; - kdDebug() << "Parent has Type: " << tqparent->className() << endl; + kdDebug() << "Parent has Type: " << parent->className() << endl; m_edit = new KMFRuleEditTargetLog( 0 , "Edit", 0 ); m_edit->hide(); @@ -43,10 +43,10 @@ KMFRuleTargetOptionEditLog::KMFRuleTargetOptionEditLog(TQObject *tqparent, const KMFRuleTargetOptionEditLog::~KMFRuleTargetOptionEditLog() {} void KMFRuleTargetOptionEditLog::slotShowOverview() { - if ( KMFRuleEditInterface* ruleedit = dynamic_cast<KMFRuleEditInterface*> ( tqparent() ) ) { + if ( KMFRuleEditInterface* ruleedit = dynamic_cast<KMFRuleEditInterface*> ( parent() ) ) { ruleedit->showOverview(); } else { - kdDebug() << "KMFRuleTargetOptionEditLog::slotShowOverview(): tqparent() not of type KMFRuleEditInterface" << endl; + kdDebug() << "KMFRuleTargetOptionEditLog::slotShowOverview(): parent() not of type KMFRuleEditInterface" << endl; } } @@ -94,14 +94,14 @@ bool KMFRuleTargetOptionEditLog::setTarget( const TQString& target ){ // KInstance* KMFRuleTargetOptionEditLogFactory::s_instance = 0L; // KAboutData* KMFRuleTargetOptionEditLogFactory::s_about = 0L; -KMFRuleTargetOptionEditLogFactory::KMFRuleTargetOptionEditLogFactory( TQObject* tqparent, const char* name ) - : KLibFactory( tqparent, name ) { +KMFRuleTargetOptionEditLogFactory::KMFRuleTargetOptionEditLogFactory( TQObject* parent, const char* name ) + : KLibFactory( parent, name ) { // s_instance = new KInstance( "KMFRuleTargetOptionEditLogFactory" ); } -TQObject* KMFRuleTargetOptionEditLogFactory::createObject( TQObject* tqparent, const char* name, +TQObject* KMFRuleTargetOptionEditLogFactory::createObject( TQObject* parent, const char* name, const char*, const TQStringList & ) { - TQObject * obj = new KMFRuleTargetOptionEditLog( tqparent, name ); + TQObject * obj = new KMFRuleTargetOptionEditLog( parent, name ); emit objectCreated( obj ); return obj; } |