diff --git a/tqdbusobjectpath.cpp b/tqdbusobjectpath.cpp index 48fab0f..35f2696 100644 --- a/tqdbusobjectpath.cpp +++ b/tqdbusobjectpath.cpp @@ -35,11 +35,11 @@ TQT_DBusObjectPath::TQT_DBusObjectPath(const TQCString& other) : TQCString(stati { } -TQT_DBusObjectPath::TQT_DBusObjectPath(const TQT_DBusObjectPath& tqparentNode, +TQT_DBusObjectPath::TQT_DBusObjectPath(const TQT_DBusObjectPath& parentNode, const TQCString& nodeName) - : TQCString(static_cast(tqparentNode)) + : TQCString(static_cast(parentNode)) { - if (tqparentNode.length() != 1) append("/"); + if (parentNode.length() != 1) append("/"); append(nodeName); } @@ -49,7 +49,7 @@ bool TQT_DBusObjectPath::isValid() const return (validate(*this) == -1); } -TQT_DBusObjectPath TQT_DBusObjectPath::tqparentNode() const +TQT_DBusObjectPath TQT_DBusObjectPath::parentNode() const { if (length() == 1) return TQT_DBusObjectPath(); diff --git a/tqdbusobjectpath.h b/tqdbusobjectpath.h index 6f0bd5b..119e1f8 100644 --- a/tqdbusobjectpath.h +++ b/tqdbusobjectpath.h @@ -72,10 +72,10 @@ public: * TQT_DBusObjectPath grandChildNode(childNode, "grandchild"); // => "/child/grandchild" * @endcode * - * @param tqparentNode the object path to create the child on + * @param parentNode the object path to create the child on * @param nodeName the name of the child node */ - TQT_DBusObjectPath(const TQT_DBusObjectPath& tqparentNode, const TQCString& nodeName); + TQT_DBusObjectPath(const TQT_DBusObjectPath& parentNode, const TQCString& nodeName); /** * @brief Returns whether the current content is considered a valid object path @@ -97,7 +97,7 @@ public: * @return the tqparent node's object path or an empty and invalid object * if this is already the root node */ - TQT_DBusObjectPath tqparentNode() const; + TQT_DBusObjectPath parentNode() const; /** * @brief Checks the given string for validity as a D-Bus object path