diff options
Diffstat (limited to 'dcop/dcopobject.cpp')
-rw-r--r-- | dcop/dcopobject.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dcop/dcopobject.cpp b/dcop/dcopobject.cpp index c686b79d7..fd39fb347 100644 --- a/dcop/dcopobject.cpp +++ b/dcop/dcopobject.cpp @@ -58,7 +58,7 @@ DCOPObject::DCOPObject(TQObject *obj) while (currentObj != 0L) { ident.prepend( currentObj->name() ); ident.prepend("/"); - currentObj = currentObj->tqparent(); + currentObj = currentObj->parent(); } if ( ident[0] == '/' ) ident = ident.mid(1); @@ -97,7 +97,7 @@ void DCOPObject::setCallingDcopClient(DCOPClient *client) bool DCOPObject::setObjId(const TQCString &objId) { - if (objMap()->tqfind(objId)!=objMap()->end()) return false; + if (objMap()->find(objId)!=objMap()->end()) return false; DCOPClient *client = DCOPClient::mainClient(); if ( d->m_signalConnections > 0 && client ) @@ -116,16 +116,16 @@ TQCString DCOPObject::objId() const bool DCOPObject::hasObject(const TQCString &_objId) { - if (objMap()->tqcontains(_objId)) + if (objMap()->contains(_objId)) return true; else return false; } -DCOPObject *DCOPObject::tqfind(const TQCString &_objId) +DCOPObject *DCOPObject::find(const TQCString &_objId) { TQMap<TQCString, DCOPObject *>::ConstIterator it; - it = objMap()->tqfind(_objId); + it = objMap()->find(_objId); if (it != objMap()->end()) return *it; else @@ -155,7 +155,7 @@ TQCString DCOPObject::objectName( TQObject* obj ) { identity.prepend( currentObj->name() ); identity.prepend("/"); - currentObj = currentObj->tqparent(); + currentObj = currentObj->parent(); } if ( identity[0] == '/' ) identity = identity.mid(1); |