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 | 36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch) | |
tree | 0212ba6d2c749043134005a41f2bd0379619d40f /kmail/rulewidgethandlermanager.cpp | |
parent | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff) | |
download | tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/rulewidgethandlermanager.cpp')
-rw-r--r-- | kmail/rulewidgethandlermanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/rulewidgethandlermanager.cpp b/kmail/rulewidgethandlermanager.cpp index 42ef1ca4c..9cc9e3ecb 100644 --- a/kmail/rulewidgethandlermanager.cpp +++ b/kmail/rulewidgethandlermanager.cpp @@ -228,12 +228,12 @@ void KMail::RuleWidgetHandlerManager::unregisterHandler( const RuleWidgetHandler } namespace { - /** Returns the number of immediate tqchildren of tqparent with the given object + /** Returns the number of immediate tqchildren of parent with the given object name. Used by RuleWidgetHandlerManager::createWidgets(). */ - int childCount( const TQObject *tqparent, const char *objName ) + int childCount( const TQObject *parent, const char *objName ) { - TQObjectList *list = tqparent->queryList( 0, objName, false, false ); + TQObjectList *list = parent->queryList( 0, objName, false, false ); if ( !list ) return 0; const int count = list->count(); @@ -357,10 +357,10 @@ namespace { // This is a simplified and constified copy of TQObject::child(). According // to a comment in tqobject.h TQObject::child() will be made const in TQt 4.0. // So once we require TQt 4.0 this can be removed. - TQObject* TQObject_child_const( const TQObject *tqparent, + TQObject* TQObject_child_const( const TQObject *parent, const char *objName ) { - const TQObjectList list = tqparent->childrenListObject(); + const TQObjectList list = parent->childrenListObject(); if ( list.isEmpty() ) return 0; |